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 01-29-2008, 06:30 AM   #1
sarhang
LQ Newbie
 
Registered: Jun 2007
Posts: 12

Rep: Reputation: 0
lvm2


Hi

I have created 2 lvm2 as partitions and I want to use them for the virtualization, when I use the yast > virtualization > create virtual machine > then when u get to the summary window in the disk section i want to add one of my partition but i wont accept, this my partiont:

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 51G 8.4G 42G 17% /
udev 466M 176K 466M 1% /dev
/dev/sda2 21G 5.4G 15G 27% /home
/dev/mapper/system-host1
6.0G 33M 6.0G 1% /system/host1
/dev/mapper/system-host2
2.0G 33M 2.0G 2% /system/host2


Pretty much I want to put one of the last 2 partitions to the virtual host

thanks
 
Old 01-30-2008, 05:23 PM   #2
J_BOO
LQ Newbie
 
Registered: Dec 2007
Posts: 6

Rep: Reputation: 0
Haven't done anything with virtualization, but have you tried using the device /dev/system/host2 instead of /dev/mapper/system-host2. This is most likely what your actual logical volume is. You can verify by doing a vgdisplay system and look for the logical volume.

Example

# df -h /ts2
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/hou204cm-ts2
1.4T 788G 564G 59% /ts2
# lvdisplay /dev/mapper/hou204cm-ts2
Volume group "mapper" not found
# lvdisplay /dev/hou204cm/ts2
--- Logical volume ---
LV Name /dev/hou204cm/ts2 <----real lvol name
VG Name hou204cm
LV UUID 000000-0000-0000-0000-0000-0000-00000a
LV Write Access read/write
LV Status available
# open 1
LV Size 1.32 TB
Current LE 43235
Segments 3
Allocation normal
Read ahead sectors 1024
Block device 253:10
 
  


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
raid 0 and lvm2 fakie_flip Linux - Software 3 01-07-2008 11:49 AM
How To Lvm2 shahz Red Hat 2 04-22-2007 11:49 PM
Lvm2 fakie_flip Linux - Software 3 08-07-2006 08:05 AM
Using LVM2 chandru.in Linux - Hardware 0 08-30-2005 07:33 AM
Lvm2 pritambhavsar Programming 1 03-03-2005 07:22 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration