Results 1 to 5 of 5

Thread: any benefit using ntfs sparse files saving space?

  1. #1
    Member
    Join Date
    Jul 2014
    Location
    Mars
    Posts
    164
    Thanks
    115
    Thanked 10 Times in 9 Posts

    any benefit using NTFS sparse files saving space?

    subj

  2. #2
    Expert
    Matt Mahoney's Avatar
    Join Date
    May 2008
    Location
    Melbourne, Florida, USA
    Posts
    3,255
    Thanks
    306
    Thanked 778 Times in 485 Posts
    If your files have big blocks (>4K) of zero bytes then yes.

  3. #3
    Member
    Join Date
    Jul 2014
    Location
    Mars
    Posts
    164
    Thanks
    115
    Thanked 10 Times in 9 Posts
    do you know any utility to make such files automatically? i found one but it doesn`t work on recent win systems

  4. #4
    Programmer schnaader's Avatar
    Join Date
    May 2008
    Location
    Hessen, Germany
    Posts
    539
    Thanks
    192
    Thanked 174 Times in 81 Posts
    You shouldn't need any utilities, there is a Windows tool named "fsutil" you can just call from commandline. See this Microsoft Technet page for documentation. You should be able to convert a file named "file.dat" into a sparse file using "fsutil sparse setflag file.dat", after that you can free space on disk by marking zero bytes with "fsutil sparse setrange <Offset> <Length>". Some other sources say that offset and length have to be multiples of 65536.
    http://schnaader.info
    Damn kids. They're all alike.

  5. #5
    Member
    Join Date
    Jul 2014
    Location
    Mars
    Posts
    164
    Thanks
    115
    Thanked 10 Times in 9 Posts
    Last edited by necros; 19th March 2016 at 17:18.

Similar Threads

  1. NTFS compression
    By encode in forum Data Compression
    Replies: 9
    Last Post: 23rd May 2014, 03:57
  2. PPM with sparse contexts
    By encode in forum Data Compression
    Replies: 5
    Last Post: 9th July 2010, 02:37
  3. Dark Space Random Thoughts
    By Tribune in forum The Off-Topic Lounge
    Replies: 19
    Last Post: 14th March 2009, 15:22
  4. NTFS compression
    By Matt Mahoney in forum Data Compression
    Replies: 3
    Last Post: 3rd March 2009, 02:42
  5. Welcome to MY space!
    By encode in forum Forum Archive
    Replies: 9
    Last Post: 20th May 2007, 12:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •