EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Auto expanding volume

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#31665
Posted: 12/17/2014 01:22:47
by Sanjay Kanade (Standard support level)
Joined: 02/08/2013
Posts: 4

We are using CallbackDisk successfully and are extremely happy with it. Great product!

Questions:
1) Any idea how to implement an auto expanding volume file?

2) When allocating the initial volume file, is it possible to allocate a large volume quickly without initializing the disk space for it?

Any hints or sample code will be appreciated.

Thanks,
Sanjay
#31666
Posted: 12/17/2014 01:54:57
by Eugene Mayevski (EldoS Corp.)

In brief, you can't. SolFS was built with automatic expansion in mind and other file systems were not. You can change the size of the backend media since tou control it but the filesystem won't grow automatically unless it's SolFS.


Sincerely yours
Eugene Mayevski
#31667
Posted: 12/17/2014 01:59:58
by Sanjay Kanade (Standard support level)
Joined: 02/08/2013
Posts: 4

You misunderstood. The question is about CallBackDisk where the application is completely managing the volume file and it's formatted by Windows.

Thanks,
Sanjay
#31668
Posted: 12/17/2014 02:19:00
by Eugene Mayevski (EldoS Corp.)

Once again ...

The volume (the media) is under your control. You can resize it as you like, though to tell the OS that the volume size has changed you'd need to remount the media - there's no way in CallbackDisk to notify the change of the disk size on the fly.

The filesystem on the media can not be magically resized - you need to write the code which will expand the filesystem on your volume (this is what GnuPartEd or Acronis Disk Director do with physical media).

SolFS, on the other hand, handles all of this automatically.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 4745 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!