LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ubuntu graphical lvm (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-graphical-lvm-739599/)

unix1adm 07-12-2009 04:42 PM

ubuntu graphical lvm
 
I loaded the graphical LMV application but it will not launch.

Is there any good readme on using the LVM. I read the man pages but was looking for a graphical interface if possible.

This is the program I loaded.
Logical Volume Management
System-config-lvm provides a graphical interface to the LVM tools (and related utilities, including fsck and resize2fs) which is good for non-emergency storage administration. It enables you to manage your logical volume and filesystem configuration with a few mouse clicks, and it prevents potentially- disasterous command-line mistakes such as reducing a logical volume size before reducing the filesystem contained within that volume.
(One word of warning: system-config-lvm does not recognize RAID elements as being in use, and therefore lists them as "Unitnitialized Entities". If you are using a LVM-on-RAID configuration, system-config-lvm will let you wipe out RAID elements by making them into PVs. Be careful!)

catkin 07-13-2009 12:25 PM

Hello unix1adm :)

Dunno about graphical front ends but here are two good LVM links: http://dev.riseup.net/grimoire/storage/lvm2/ and http://tldp.org/HOWTO/LVM-HOWTO/

I guess LVM is fairly sysadmin hardcore stuff so there wouldn't be much demand for GUIs and they will not be heavily used/tested -- scary!

Best

Charles

unix1adm 07-30-2009 02:17 PM

I tried to run this from cmd line and get the following. I uninstalled and reinstalled same issue. Also what would the cmd line lvm packages be. I dont seem to have them loaded. WHen I look for lvm in the package manager it does not show any to install. I know in redhat/fedora there are rpms. I want to create a new logical volume with the xtra space i have.


sudo ./system-config-lvm.py
/usr/share/themes/infinity/gtk-2.0/gtkrc:89: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
/usr/share/themes/infinity/gtk-2.0/gtkrc:90: Murrine configuration option "lightborder_ratio" will be deprecated in future releases. Please use "lightborder_shade" instead.
/usr/share/themes/infinity/gtk-2.0/gtkrc:105: Murrine configuration option "style" is not supported and will be ignored.
/usr/share/themes/infinity/gtk-2.0/gtkrc:157: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
Traceback (most recent call last):
File "./system-config-lvm.py", line 173, in <module>
runFullGUI()
File "./system-config-lvm.py", line 158, in runFullGUI
blvm = baselvm(glade_xml, app)
File "./system-config-lvm.py", line 108, in __init__
self.volume_tab_view = Volume_Tab_View(glade_xml, self.lvmm, self.main_win)
File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 133, in __init__
self.prepare_tree()
File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 214, in prepare_tree
self.model_factory.reload()
File "/usr/share/system-config-lvm/lvm_model.py", line 164, in reload
self.__PVs = self.__query_partitions()
File "/usr/share/system-config-lvm/lvm_model.py", line 198, in __query_partitions
multipath_data = multipath_obj.get_multipath_data()
File "/usr/share/system-config-lvm/Multipath.py", line 30, in get_multipath_data
raise CommandError('FATAL', COMMAND_FAILURE % ("dmsetup",cmdstr, e))
NameError: global name 'CommandError' is not defined

unix1adm 07-30-2009 02:20 PM

post deleted

karamarisan 07-30-2009 02:25 PM

system-config-lvm and rpm are both specific to a Red Hat and related distros, a family of which Ubuntu is not a part. As Charles said, there's probably not a lot of demand for graphical LVM management tools, as users of lvm are generally 'sysadmin hardcore' types who don't mind working without a GUI or new users who go with the defaults in Fedora/Ubuntu/others. Perhaps this is an exciting opportunity for you to shed your discomfort with administering a system sans-GUI?

unix1adm 07-30-2009 02:51 PM

Well the tool is there but does not work. Ok I can live with that. What is the command line to use in Ubuntu. I do prefer cmd line over gui but just thought it would work since it was in the package manager for Ubuntu.

karamarisan 07-30-2009 03:06 PM

Charles was also kind enough to provide a couple links which I have checked and can tell you have all the info you need. If you want to get a quick look at all the available commands (perhaps so you can read their manpages), try tab-completing 'lv', 'pv', and 'vg'.

catkin 07-30-2009 03:06 PM

Quote:

Originally Posted by unix1adm (Post 3625897)
What is the command line to use in Ubuntu.

What do you want to do? The links I gave are helpful.

unix1adm 07-31-2009 05:58 AM

Ill check the links again but my systems does not appear to have lvm commands installed So I was trying find out what I was missing. Or may be I am uysing the wrong commands for Ubuntu. These are the one I use in RH.
lvm ?
No such command. Try 'help'.
# lvm --help
No such command. Try 'help'.
# lvm -h
No such command. Try 'help'.

unix1adm 07-31-2009 06:27 AM

lvcreate
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.02.27 (2008-06-25)(compat) and kernel driver
striped: Required device-mapper target(s) not detected in your kernel
Run `lvcreate --help' for more information.

unix1adm 07-31-2009 06:29 AM

It looks like something is missing from the kernel. I can do a man on the commands so they are loaded on the system.

archtoad6 08-06-2009 07:49 AM

Quote:

Originally Posted by karamarisan (Post 3625865)
system-config-lvm and rpm are both specific to a Red Hat and related distros, a family of which Ubuntu is not a part.

OP mentioned an Ubuntu LVM GUI, what is it? -- both the command & the package name, please.

Quote:

Originally Posted by karamarisan (Post 3625865)
As Charles said, there's probably not a lot of demand for graphical LVM management tools, as users of lvm are generally 'sysadmin hardcore' types who don't mind working without a GUI

In my case, not completely true: LVM works so well that I tend to forget the commands in between uses of them. Yes, I can (& do) go re-read the man pages, but it would be much more convenient to have a good GUI available.

Quote:

Originally Posted by karamarisan (Post 3625865)
or new users who go with the defaults in Fedora/Ubuntu/others.

IMNRHO, an available good GUI would speed new users acceptance & use of LVM.

Quote:

Originally Posted by karamarisan (Post 3625865)
Perhaps this is an exciting opportunity for you to shed your discomfort with administering a system sans-GUI?

:D

chrism01 08-06-2009 06:31 PM

If you really want the definitive answer on Ubuntu LVM GUI etc, try the Ubuntu form here at LQ or Ubuntu home website.

jay73 08-06-2009 07:22 PM

Quote:

OP mentioned an Ubuntu LVM GUI, what is it? -- both the command & the package name, please.
system-config-lvm

But, frankly, I think it's a lot more convenient to use the alternate installer for this kind of task.


All times are GMT -5. The time now is 07:28 PM.