how to grow a zfs file system
I'm experimenting with zfs at home, for the moment on top of my md/lvm setup, and I ran out of disk space. Growing the lv is pretty easy:
Hmm it did not notice the 110GB extra, so I did:
so simply doing an import/export is enough.
I'm looking at zfs to have a better idea of what btrfs will mean in the future for us.
frost:~# lvextend --size +110G /dev/new-vg/zfs-test Extending logical volume zfs-test to 120.00 GiB Logical volume zfs-test successfully resized frost:~# zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT zfs-pool 9.94G 9.78G 161M 98% 1.00x ONLINE -
Hmm it did not notice the 110GB extra, so I did:
frost:~# zpool export zfs-pool frost:~# zpool import zfs-pool frost:~# zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT zfs-pool 120G 9.78G 110G 8% 1.00x ONLINE -
so simply doing an import/export is enough.
I'm looking at zfs to have a better idea of what btrfs will mean in the future for us.
no subject
It's been a fair while since I last looked at any btrfs info, but my understanding was that there's a bunch of stuff (and not just at the storage management level) that btrfs isn't supposed to do. So I'm not sure how useful ZFS is going to be as an example.
no subject
no subject
If you're going to ZFS, just ZFS.
no subject
If you're running zfs-fuse, though, all bets are off. As far as I can tell, that's an abandoned project (well, the guy behind it is a student at a university, so he probably has bigger things to worry about).
If you're running the ZFS on Linux project, well, it only just developed a POSIX API to let it look like a proper filesystem, and it still fills your kernel logs with oopses. I doubt you'd learn anything useful about zfs from something which is so obviously still in development.
You really should be running zfs on raw disks, though, not on an LVM. It's supposed to take care of all of that for you, not just be a filesystem. And you should probably be running it in an operating system where it's properly supported, like FreeBSD or OpenIndiana (a fork of OpenSolaris).
no subject
I know that using zfs works better on FreeBSD or Solaris, but I fear that I'm just too used to Debian for some reason :).
I am considering using FreeBSD next time I have to reinstall my little server...