StarWind Enterprise Server
Request a Quote
Feel free to contact us:
USA and LATAM:
1-617-449-7717
EMEA and APAC:
+44(0)2071936727
+44(0)2071936350
+33(0)977197857 (French)
+49-1715109103 (Germany)
Voice Mail:
1-866-790-2646
Email:
sales@starwindsoftware.com
 
 

dedup file growth

iSCSI Target for Microsoft Windows.

Moderators: anton (staff), Max (staff), Constantin (staff)

dedup file growth

Postby gstephenson » Tue Jan 17, 2012 7:23 pm

Hi...

Why does a dedup disk continue to grow even when I delete its contents? I created a test dedup disk at 200MB, added some files until it was full, deleted all the files, then added more files in. If I keep doing this the physical size grows beyond 200MB. Is that supposed to happen?

Thanks.
gstephenson
 
Posts: 29
Joined: Tue Feb 22, 2011 10:09 pm

Re: dedup file growth

Postby anton (staff) » Wed Jan 18, 2012 10:23 am

B/c you store new data and it's just added to database. From block device point of view there's no difference in writing set of 0xFF or 0xAA patterns to some sector - data is always considered new... We'll provide external app you'd run @ background to deal with known file systems and re-assign unused blocks as NTFS does not do it automatically.

gstephenson wrote:Hi...

Why does a dedup disk continue to grow even when I delete its contents? I created a test dedup disk at 200MB, added some files until it was full, deleted all the files, then added more files in. If I keep doing this the physical size grows beyond 200MB. Is that supposed to happen?

Thanks.
Regards,
Anton Kolomyeytsev

Chief Technology Officer, StarWind Software

Image
User avatar
anton (staff)
Site Admin
 
Posts: 2153
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands

Re: dedup file growth

Postby gstephenson » Wed Jan 18, 2012 4:43 pm

anton (staff) wrote:B/c you store new data and it's just added to database. From block device point of view there's no difference in writing set of 0xFF or 0xAA patterns to some sector - data is always considered new... We'll provide external app you'd run @ background to deal with known file systems and re-assign unused blocks as NTFS does not do it automatically.


Ok, makes sense. So will this external app be available for download on the site soon?
gstephenson
 
Posts: 29
Joined: Tue Feb 22, 2011 10:09 pm

Re: dedup file growth

Postby anton (staff) » Wed Jan 18, 2012 9:36 pm

Yes, with V6 pre-release. Early February I think.

gstephenson wrote:
anton (staff) wrote:B/c you store new data and it's just added to database. From block device point of view there's no difference in writing set of 0xFF or 0xAA patterns to some sector - data is always considered new... We'll provide external app you'd run @ background to deal with known file systems and re-assign unused blocks as NTFS does not do it automatically.


Ok, makes sense. So will this external app be available for download on the site soon?
Regards,
Anton Kolomyeytsev

Chief Technology Officer, StarWind Software

Image
User avatar
anton (staff)
Site Admin
 
Posts: 2153
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands

Re: dedup file growth

Postby Aitor_Ibarra » Thu Jan 19, 2012 11:47 am

Surely this would have to be run with the target offline? If you have spare disk space, especially on different set of spindles, it would make more sense to me to create a new de-dupe target and then copy the data across from the initiator side. How you do this would depend on the application, but you could probably do it more quickly and with less disruption. And without the worry that this tool won't understand the filesystem - in Windows land you've now got ReFS support to worry about too...

E.g if it's an Exchange mailstore, just create a new one on the new target and migrate the mailboxes. If it's a Hyper-V VM, use SCVMM to do a storage migration...

However if it can be done with the target online, even if it takes forever, it could be a very useful tool for people who don't have spare disks...
User avatar
Aitor_Ibarra
 
Posts: 161
Joined: Wed Nov 05, 2008 1:22 pm
Location: London

Re: dedup file growth

Postby anton (staff) » Thu Jan 19, 2012 5:46 pm

No, you don't need to put anything off-line. We'll handle time consuming operations @ the background to save IOPS.

ReFS has the same "free space bitmap" concept as it's basically stripped down version of NTFS.

Other file systems (like VMFS) can deallocate free space automatically as they know how to tell to array particular block pattern is not used. We do understand them. NTFS is not that smart.

Aitor_Ibarra wrote:Surely this would have to be run with the target offline? If you have spare disk space, especially on different set of spindles, it would make more sense to me to create a new de-dupe target and then copy the data across from the initiator side. How you do this would depend on the application, but you could probably do it more quickly and with less disruption. And without the worry that this tool won't understand the filesystem - in Windows land you've now got ReFS support to worry about too...

E.g if it's an Exchange mailstore, just create a new one on the new target and migrate the mailboxes. If it's a Hyper-V VM, use SCVMM to do a storage migration...

However if it can be done with the target online, even if it takes forever, it could be a very useful tool for people who don't have spare disks...
Regards,
Anton Kolomyeytsev

Chief Technology Officer, StarWind Software

Image
User avatar
anton (staff)
Site Admin
 
Posts: 2153
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands


Return to StarWind

Who is online

Users browsing this forum: Google [Bot] and 3 guests