3 ms·
Could you force a complete rewrite if you wanted to? That would be handy. Without copying all the data elsewhere of course. I don't have another 90TB of spare d
by wkat4242 3y ago
Could you force a complete rewrite if you wanted to? That would be handy. Without copying all the data elsewhere of course. I don't have another 90TB of spare disks :P
Edit: I suppose I could cover this with a shell script needing only the spare space of the largest file. Nice!
- keeperofdakeys 3y agoThe easiest approach is to make a new subvolume, and move one file at a time. (Normal mv is copy + remove which doesn't quite work here, so you'd probably want something using find -type f and xargs with mv).
- lloeki 3y ago> Could you force a complete rewrite if you wanted to? On btrfs that's a rebalance, and part of how one expands an array (btrfs add + btrs balance) (Not sure if ZFS has a similar operation, but from my understanding resilvering would not be it) Not that it matters much though as RAID5 and RAID6 aren't dependable upon, and the array failure modes are weird in practice, so in context of expanding storage it really only matters for RAID0 and RAID10. https://arstechnica.com/gadgets/2021/09/examining-btrfs-linuxs-perpetually-half-finished-filesystem/ https://arstechnica.com/gadgets/2021/09/examining-btrfs-linu... https://www.unixsheikh.com/articles/battle-testing-zfs-btrfs-and-mdadm-dm.html https://www.unixsheikh.com/articles/battle-testing-zfs-btrfs...
- rincebrain 3y agoZFS does not, and fundamental is not going to ever get one without rewriting so much you'd cry.