Gilbo
Storage is cool
I've been doing some research on shrinking & expanding filesystems, because I'm going to have to do this in the near future when I swap out disks in a JBOD storage situation (JBOD done using LVM2).
This article is the most succint and up-to-date description of the process I've found in my wanderings.
I'd like to hear any recommendations or thoughts you guys would have on this operation. I'd also like to know if any of you have experience with alternate OSes and filesystems that make these sorts of operations easier (maybe ZFS for example - would my life be easier if I was using ZFS? Windows Dynamic Disks?).
1. It seems I can only shrink ext2, and ext3. You can grow XFS. Luckily they're ext3 partitions!
2. Doesn't seem to bad overall. What I think I have to do: shrink the FS, remove the Physical Volume from the Logical Volume, replace the disk, make the new disk a physical volume, add the new physical volume to the logical volume, expand the filesystem into the new space.
Anything wrong with the above? Do I have to un-LVM the physical volume some how so the computer doesn't freak out when I remove the disk? How do I do that.
Any pitfalls I should be aware of? Thanks.
This article is the most succint and up-to-date description of the process I've found in my wanderings.
I'd like to hear any recommendations or thoughts you guys would have on this operation. I'd also like to know if any of you have experience with alternate OSes and filesystems that make these sorts of operations easier (maybe ZFS for example - would my life be easier if I was using ZFS? Windows Dynamic Disks?).
1. It seems I can only shrink ext2, and ext3. You can grow XFS. Luckily they're ext3 partitions!
2. Doesn't seem to bad overall. What I think I have to do: shrink the FS, remove the Physical Volume from the Logical Volume, replace the disk, make the new disk a physical volume, add the new physical volume to the logical volume, expand the filesystem into the new space.
Anything wrong with the above? Do I have to un-LVM the physical volume some how so the computer doesn't freak out when I remove the disk? How do I do that.
Any pitfalls I should be aware of? Thanks.