Tekkie
Patron
- Joined
- May 31, 2011
- Messages
- 353
All
I have a weird situation which I believe is down to a bug in the system, but I wanted to check here before submitting it.
I was under the impression that when I create a 'logical' ZFS vol on my RAIDZ2 array of a given size lets say 512GB that this size is not only the initial size of the ZFS vol but also its final size.
Over the past weeks however I've noticed a steady decline in free space on my RAIDZ2 and I couldn't explain until I ran 'zfs status' and it reported all my ZFS vols being between 1.5MB and 1.01TB in size rather than the 512GB I created them initialy.
This implies to me that FreeNAS does sparse initialization of ZFS vols which wouldn't be a problem if it were clearly documented!
Now I have two options...
1) I copy down all the data from these vols to somewhere else, destroy them and then re-create new vols and copy back the data letting it grow the vols.
2) I find a way of freezing the vols that I have now and prevent them from growing.
PS. What will happen when my RAIDZ2 array runs our of space because of these extents on the ZFS vols?
I have a weird situation which I believe is down to a bug in the system, but I wanted to check here before submitting it.
I was under the impression that when I create a 'logical' ZFS vol on my RAIDZ2 array of a given size lets say 512GB that this size is not only the initial size of the ZFS vol but also its final size.
Over the past weeks however I've noticed a steady decline in free space on my RAIDZ2 and I couldn't explain until I ran 'zfs status' and it reported all my ZFS vols being between 1.5MB and 1.01TB in size rather than the 512GB I created them initialy.
This implies to me that FreeNAS does sparse initialization of ZFS vols which wouldn't be a problem if it were clearly documented!
Now I have two options...
1) I copy down all the data from these vols to somewhere else, destroy them and then re-create new vols and copy back the data letting it grow the vols.
2) I find a way of freezing the vols that I have now and prevent them from growing.
PS. What will happen when my RAIDZ2 array runs our of space because of these extents on the ZFS vols?