Reducing ext3 LV
Hi All,
new here. I'm using ext3 LVM and want to resize a 75GB LV to 20GB. How is this done.? Current data = 5GB. Cheers.
Mark Sargent.
Quoted 6 lines · Mark Sargent
Hi All,
new here. I'm using ext3 LVM and want to resize a 75GB LV to 20GB. How is this done.? Current data = 5GB. Cheers.
Mark Sargent.
i asked a similar question a couple weeks ago but got no response. this is how i did it
umount /dev/path/to/lv
e2fsadm -L 20G /dev/path/to/lv
additionally i wanted to remove a disk from the LV so:
pvmove /dev/hdx
vgreduce /dev/hdx
i am by no means an lvm expert. i joined the list to get help with my situation, and have been hanging out. maybe this will get you pointed in the right direction.
good luck
randy
Quoted 5 lines
i asked a similar question a couple weeks ago but got no response. this is how i did it
heck, a coupla weeks ago..that's awfully slow..I got a reply on the Fedora List within the hour...
Quoted 10 lines
umount
/dev/path/to/lv
e2fsadm -L 20G/dev/path/to/lvadditionally i wanted to remove a disk from the LV so:
pvmove
/dev/hdx
vgreduce/dev/hdxi am by no means an lvm expert.
me neither...quick question, though..the HOWTO says, see below, that the e2fsadm doesn't exist in LVM2. Were you using LVM1.?
*LVM 2 Caveat
* There is currently no e2fsadm equivalent for LVM 2 and the e2fsadm that ships with LVM 1 does not work with LVM 2.
Quoted 3 lines
i joined the list to get help with my
situation, and have been hanging out.
lucky for you, you weren't hanging out in a dangerous situation...
Quoted 5 lines
maybe this will get you pointed in
the right direction.
it is helpful, cheers.
Quoted 4 lines
good luck
you too.
Quoted 4 lines
randy
Mark Sargent.
Quoted 8 lines
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 3 lines · Mark Sargent
Quoted 1 line
me neither...quick question, though..the HOWTO says, see below, that the e2fsadm doesn't exist in LVM2. Were you using LVM1.?
yes i was.
I mentioned that in my original post, but forgot when i replied to you.
randy