LVM manager - graphical
Anyone know of a graphical LVM manager that allows resizing and moving of mounted LVM volumes?
I understood it was a good idea to create an LVM Volume Group with a seperate Volume for each Linux part; /boot, /root, /tmp etc. I understood that putting everything under a Volume Group was good practice and would make for ease of future maintainence, I am beginning to think that might actually not be the case. Unfortunately I have not allowed enough space for my /usr partition which is now nearly full. I would like to expand it, but first need to contract the size of the adjacent partitions. I have found system-config-lvm but as far as I can see that only allows adding and removing partitions not resizing them. Thanks, Nick |
Quote:
Quote:
Quote:
But if you are talking about the other LVM Logical Volumes in the Volume Group, that is LVM and actually the Logical Volumes are not partitions and don't necessarily need to be contracted. Do you have any free space in the Volume group? Open a command window and issue a 'vgs' command. How is your /usr filesystem formatted? (A "mount | grep '/usr '" will tell you if you don't remember.) (Note: all of these commands need root authority, so you either need to 'su -l root' first, or preceed each command with 'sudo'.) Quote:
You don't say in your profile or your post what distro you are on, but if you have Red Hat/Centos/Fedora it's relatively straightforward. Assuming one of those distros; assuming that you want to expand /usr by 512MB; assuming there is that much free space in the VG; and assuming for this example that the VG is named VolGroup00, and the Logical Volume is named usrLV. Just do this from the command line. Code:
lvresize -L+512M /dev/mapper/VolGroup00-usrLV |
Hi Tommy, thanks for your reply.
Quote:
Quote:
Quote:
Quote:
Quote:
|
You may find these links useful http://tldp.org/HOWTO/LVM-HOWTO/ http://sunoano.name/ws/public_xhtml/lvm.html at some point.
|
Thanks tommy and chris, logical volumes all resized now.
Cheers, Nick |
Quote:
Now if we could only get the ext2/3/4 filesystem maintainers to change resize2fs so that it could downsize a mounted filesystem... (not that I'm complaining, as I neither have the time nor expertise to do something like that...) |
All times are GMT -5. The time now is 06:33 AM. |