LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2009, 05:42 PM   #1
unix1adm
Member
 
Registered: Oct 2008
Posts: 649

Rep: Reputation: 32
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!)
 
Old 07-13-2009, 01:25 PM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
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
 
Old 07-30-2009, 03:17 PM   #3
unix1adm
Member
 
Registered: Oct 2008
Posts: 649

Original Poster
Rep: Reputation: 32
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
 
Old 07-30-2009, 03:20 PM   #4
unix1adm
Member
 
Registered: Oct 2008
Posts: 649

Original Poster
Rep: Reputation: 32
post deleted

Last edited by unix1adm; 07-30-2009 at 03:24 PM.
 
Old 07-30-2009, 03:25 PM   #5
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
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?
 
Old 07-30-2009, 03:51 PM   #6
unix1adm
Member
 
Registered: Oct 2008
Posts: 649

Original Poster
Rep: Reputation: 32
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.
 
Old 07-30-2009, 04:06 PM   #7
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
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'.
 
Old 07-30-2009, 04:06 PM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by unix1adm View Post
What is the command line to use in Ubuntu.
What do you want to do? The links I gave are helpful.
 
Old 07-31-2009, 06:58 AM   #9
unix1adm
Member
 
Registered: Oct 2008
Posts: 649

Original Poster
Rep: Reputation: 32
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'.
 
Old 07-31-2009, 07:27 AM   #10
unix1adm
Member
 
Registered: Oct 2008
Posts: 649

Original Poster
Rep: Reputation: 32
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.
 
Old 07-31-2009, 07:29 AM   #11
unix1adm
Member
 
Registered: Oct 2008
Posts: 649

Original Poster
Rep: Reputation: 32
It looks like something is missing from the kernel. I can do a man on the commands so they are loaded on the system.
 
Old 08-06-2009, 08:49 AM   #12
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by karamarisan View Post
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 View Post
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 View Post
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 View Post
Perhaps this is an exciting opportunity for you to shed your discomfort with administering a system sans-GUI?
 
Old 08-06-2009, 07:31 PM   #13
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,412

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
If you really want the definitive answer on Ubuntu LVM GUI etc, try the Ubuntu form here at LQ or Ubuntu home website.
 
Old 08-06-2009, 08:22 PM   #14
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
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.

Last edited by jay73; 08-06-2009 at 08:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 7.10 on encrypted LVM - boots not! taylorkh Ubuntu 6 01-27-2008 09:06 AM
no Ubuntu graphical interface phantom_cyph Ubuntu 2 02-17-2007 09:54 PM
Ubuntu/LVM Setup Problem Malibyte Linux - Software 1 02-05-2007 07:17 PM
LVM with Ubuntu 6.10 Beta preeth26 Ubuntu 6 10-01-2006 08:15 PM
no graphical interface on ubuntu Surferio Linux - Newbie 7 01-31-2006 06:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration