NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Piglet
Dec 17, 2014Luminary
Cancel a defrag
I started a defrag on my RN104 about 60h ago and it still hasn't finished. It has so far eaten up about 70GB and I'm getting low on free space, so I want to move files off the NAS to make more room fo...
Piglet
Dec 22, 2014Luminary
The balance completed successfully in just under 9h. There's no big change in available space. I'm still missing about 300GB that disappeared after the defrag.
Googling about this problem led me to this page, saying:
… not sure if this is accurate for the btrfs version ReadyNAS is using, but it's my understanding that files created with CoW will remain so even if you turn off that feature. So could this explain why the data went missing even though I had disabled CoW before doing the defrag? If so, the missing data would be the files created since OS 6.2 turned on CoW.
Is there a command to list CoW files? All I could find was lsattr which only shows files flagged NOT to use CoW.
Googling about this problem led me to this page, saying:
Defragmenting a file or a subvolume that has a copy-on-write copy results breaks the link between the file and its copy. For example, if you defragment a subvolume that has a snapshot, the disk usage by the subvolume and its snapshot will increase because the snapshot is no longer a copy-on-write image of the sub volume.
… not sure if this is accurate for the btrfs version ReadyNAS is using, but it's my understanding that files created with CoW will remain so even if you turn off that feature. So could this explain why the data went missing even though I had disabled CoW before doing the defrag? If so, the missing data would be the files created since OS 6.2 turned on CoW.
Is there a command to list CoW files? All I could find was lsattr which only shows files flagged NOT to use CoW.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!