opensuse 11.1 resize logical volumes using yast

i cannot resize mounted lvm volumes with reiserfs by using yast like in a previous version 10.x !?

any suggestions, please

thanx, veiko

Are you trying to grow or shrink the filesystem? I don’t think you can shrink reiserfs online.

Are you able to to the LVM piece in yast?

oh sorry, i try to grow the filesystem

Hi,

same problem here.
Yast is not able grow reiserfs LVM, while it is mounted. >:(

I just thought this is the benefit of LVM. To be able to increase LV-size while it is mounted.

Chris

There is a bug about this:

https://bugzilla.novell.com/show_bug.cgi?id=483845

and a solution on how to do this without yast2 can be found here:

*(http://soultcer.net/blog/archives/11-I-love-LVM2-and-xfs.html)

It’s still a pity that it does not work with yast2, lvm management with yast2 is one of the reasons why I’m using (Open-)SuSE for several years now.*

meanwhile the bug is about to be fixed you can use following:

lvextend -L 150G /dev/vgname/lvname
fsadm resize /dev/vgname/lvname 150G

Both commands, allow G as gigabyte, M as Megabyte and so on…
This works on all ‘good’ distros, like Redhat/Fedora and of course on SLES.

Remember that opinions are like asses, every one has their own… (I say this as I know some might say something about the ‘good’ distros)

By using a combination of command line and yast I added disk space to the opt partition.
first make the free disk space say it is called /dev/sdb into a physical volume with the command
pvcreate /dev/sdb.
add it to the volume group that opt resides on say it is called /dev/linux/
vgextend linux /dev/sdb
open partitioner in yast and under volume management select the /dev/linux/opt partition and hit enter
select resize and add the space.