James Knott said the following on 04/09/2011 04:23 PM:
Myrosia Dzikovska wrote:
Do you have convenient tools to use with LVM? Last time I had to deal with it (6 months ago), it was so tiresome that I swore I will not ever touch it again.
No, just what's in Yast. I create partitions somewhat bigger than currently needed and add to them as necessary. However, I do find creating LVM partitions to be a bit awkward.
There's a tool in YAST? No in mine. # lvcreate -L 1G -n downloads vgmain # mkfs.reiserfs /dev/vgmain/downloads Really awkward, eh? Not big enough? # lvextend -L+1G /dev/vgmain/downloads # resize_reiserfs -s+1G -f /dev/vgmain/downloads Oops, too much # umount /dev/vgmain/downloads # resize_resiserfs -s-512M /dev/vgmain/downloads # lvreduce -L -512M /dev/vgmain/downloads # mount /dev/vgmain/downloads Of course not all file systems can be extended and reduced like that. You may have to take a backup, easy to do with the LVM snapshot mechanism, then delete the original, create new and copy back. But wouldn't it be easier to use a better file system? -- People who make no mistakes do not usually make anything. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org