[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Looking for recommendations on LVM + soft Raid on home server
- Subject: [ale] Looking for recommendations on LVM + soft Raid on home server
- From: rs at ale.spam.futz.org (Robert)
- Date: Tue, 20 Mar 2012 11:50:07 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]> <CAAt=rgDrLqe69exRE+wSoSyzZS4HwibGdinm_b0f2-SrFBiFXw@mail.gmail.com> <[email protected]>
>Now, I've already messed with logging in as root, unmounting /home
>and /u, and resizing both.
>
>However, I had to unmount them in order for the native LVM to be willing
>to do that. which makes perfect sense.
I haven't found that to be the case. I regularly resize /, /home, /usr, etc on
my machines, with no problem. This is for ext* filesystems, I don't know if
other filesystems have more restrictions. It goes something like this:
# lvextend -L +4g /dev/vg/root
# resize2fs /dev/vg/root
It's a little more complicated for shrinking, and I think that you do need a
rescue disk to shrink anything you can't unmount, like /.