Shrinking volumes

Hi.

I am looking for (driver) code that may help to shrink volumes…NTFS and
(if possible) FAT32. I’ve searched the list and this task seems to be pretty
hard to manage. Code should work for XP and up…better 2K and up.

Does anybody know if there’s code that my company could license or buy or
whatever? Feel free to contact me off the list.

Regards
Frank

Since the NTFS on-disk format isn’t documented, you are unlikely to find such examples easily/freely available. You can either develop it on your own, license it from Microsoft (if they give you that option) or license it from someone that has already done the work (in which case, do a google search for NTFS disk utilities.)

NTFS supports volume shrinking in Vista (with some restrictions.)

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

Thank you once more. But what about “Acronis True Image”? This great piece
of software shrinked my NTFS (WinXP) for something what they call “secure
zone”. So, it must be possible someway. I am aware that such project would
be expensive in cost! Again: if anybody sees a chance to play a
part…*please* contact me.

Best regards
Frank

wrote news:xxxxx@ntfsd…
> Since the NTFS on-disk format isn’t documented, you are unlikely to find
> such examples easily/freely available. You can either develop it on your
> own, license it from Microsoft (if they give you that option) or license
> it from someone that has already done the work (in which case, do a google
> search for NTFS disk utilities.)
>
> NTFS supports volume shrinking in Vista (with some restrictions.)
>
> Tony
>
> Tony Mason
> Consulting Partner
> OSR Open Systems Resources, Inc.
> http://www.osr.com
>
>

I have not used Acronis, but does it actually use the volume in the shrunken
form, or just save it for restoration? With the defrag API’s one can figure
what blocks to save away, but that does not mean you know what to change in
the blocks to make the volume smaller.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

“frank” wrote in message news:xxxxx@ntfsd…
> Thank you once more. But what about “Acronis True Image”? This great piece
> of software shrinked my NTFS (WinXP) for something what they call “secure
> zone”. So, it must be possible someway. I am aware that such project would
> be expensive in cost! Again: if anybody sees a chance to play a
> part…please contact me.
>
> Best regards
> Frank
>
> wrote news:xxxxx@ntfsd…
>> Since the NTFS on-disk format isn’t documented, you are unlikely to find
>> such examples easily/freely available. You can either develop it on your
>> own, license it from Microsoft (if they give you that option) or license
>> it from someone that has already done the work (in which case, do a
>> google search for NTFS disk utilities.)
>>
>> NTFS supports volume shrinking in Vista (with some restrictions.)
>>
>> Tony
>>
>> Tony Mason
>> Consulting Partner
>> OSR Open Systems Resources, Inc.
>> http://www.osr.com
>>
>>
>
>
>

They do shrink during restore the image backup, which is a much simpler
task then shrink in-place.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

“frank” wrote in message news:xxxxx@ntfsd…
> Thank you once more. But what about “Acronis True Image”? This great piece
> of software shrinked my NTFS (WinXP) for something what they call “secure
> zone”. So, it must be possible someway. I am aware that such project would
> be expensive in cost! Again: if anybody sees a chance to play a
> part…please contact me.
>
> Best regards
> Frank
>
> wrote news:xxxxx@ntfsd…
> > Since the NTFS on-disk format isn’t documented, you are unlikely to find
> > such examples easily/freely available. You can either develop it on your
> > own, license it from Microsoft (if they give you that option) or license
> > it from someone that has already done the work (in which case, do a google
> > search for NTFS disk utilities.)
> >
> > NTFS supports volume shrinking in Vista (with some restrictions.)
> >
> > Tony
> >
> > Tony Mason
> > Consulting Partner
> > OSR Open Systems Resources, Inc.
> > http://www.osr.com
> >
> >
>
>
>

“Maxim S. Shatskih” wrote news:xxxxx@ntfsd…
> They do shrink during restore the image backup

Do you state, that they store and restore an image to shrink a volume?
If yes, where did they store my volume in the first step? There was only one
big Ntfs partition on the disk.

Acronis Disk Director and Partition Magic do shrink/expand NTFS volumes. Not
on the fly, of course, but after a dismount (or reboot for the system volume).
Your best bet is to contact Acronis, explain your requirements, and ask
whether they would license the technology to you. Assuming you would not hit
their market with your product, it is likely they will do it (for a hefty sum of
EUR, but that suits you considering the USD/EUR rate now ^^)

frank wrote:

“Maxim S. Shatskih” wrote news:xxxxx@ntfsd…
> > They do shrink during restore the image backup
>
> Do you state, that they store and restore an image to shrink a volume?
> If yes, where did they store my volume in the first step? There was only one
> big Ntfs partition on the disk.
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: xxxxx@alfasp.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com


Kind regards, Dejan (MSN support: xxxxx@alfasp.com)
http://www.alfasp.com
File system audit, security and encryption kits.

> Do you state, that they *store* and *restore* an image to shrink a volume?

First of all, Acronis really can shrink the volume during the restore
operation, which suggests that you have performed a backup before this and have
a .TIB file.

But also I expect them to support shrinking on disk-to-disk copy operation,
where there is no .TIB file.

Disk-to-disk copy is logically very similar to backup+restore paths
short-circuited, so, shrinking logic will be the same and simple.

Shrinking on-the-fly is another song.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

It’s possible and several programs (including Acronis) do it.

Shrinking on-the-fly is another song.


Kind regards, Dejan (MSN support: xxxxx@alfasp.com)
http://www.alfasp.com
File system audit, security and encryption kits.