LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-11-2008, 09:51 AM   #1
jimmyjiang
Member
 
Registered: Jun 2006
Posts: 132

Rep: Reputation: 15
Guest OS installation failed on a logical volume in CentOS 5.1 64bit!


hi,
I got a new 64bit dell server with 6 500GB sata disks.
I have some problem to install Guest OS on CentOS 5.1 64bit Host OS with xen.
I created 2 raid 5 VD(virtual disk), one is 200GB, the other is 2288 GB. When I tried to install centOS5.1 64 bit on the 200GB, the “/”
Always be placed on 2288GB VD (that’s not I want), so I erased both VD and recreated 200GB VD and install host OS on it. Then
Restart server to build second VD 2288GB.
After that I create a volume group on second VD, and create a 500GB logical volume on it.
Following is output from system:
[root@vhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg0-lv0 95G 2.6G 88G 3% /
/dev/mapper/vg0-lv2 48G 180M 45G 1% /home
/dev/mapper/vg0-lv3 46G 235M 43G 1% /var
/dev/sda1 99M 13M 81M 14% /boot
tmpfs 3.9G 0 3.9G 0% /dev/shm
[root@vhost ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sdb1
VG Name vg1
PV Size 2.08 TB / not usable 3.97 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 545519
Free PE 417519
Allocated PE 128000
PV UUID js3KvN-v8Os-IEDb-QsTc-Bwgo-5h0A-Cofx9m

--- Physical volume ---
PV Name /dev/sda2
VG Name vg0
PV Size 195.21 GB / not usable 22.72 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 6246
Free PE 1
Allocated PE 6245
PV UUID C7BfFr-card-LqEJ-HA6J-D9f9-RDUG-RRzDVT
[root@vhost ~]# vgdisplay
--- Volume group ---
VG Name vg1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 2.08 TB
PE Size 4.00 MB
Total PE 545519
Alloc PE / Size 128000 / 500.00 GB
Free PE / Size 417519 / 1.59 TB
VG UUID FqOTwS-aBLM-Ktmz-ro6V-Zl75-Ldve-mhnhv0

--- Volume group ---
VG Name vg0
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 4
Max PV 0
Cur PV 1
Act PV 1
VG Size 195.19 GB
PE Size 32.00 MB
Total PE 6246
Alloc PE / Size 6245 / 195.16 GB
Free PE / Size 1 / 32.00 MB
VG UUID p63QrT-LKiV-nIXN-FR1k-H6wq-JyPY-C2X2qk

[root@vhost ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vg1/dev
VG Name vg1
LV UUID X2mucJ-uTSD-5w7X-AGHg-iFV8-OVg7-bVOUTT
LV Write Access read/write
LV Status available
# open 0
LV Size 500.00 GB
Current LE 128000
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:4

--- Logical volume ---
LV Name /dev/vg0/lv0
VG Name vg0
LV UUID CIAxej-sgYy-sEBl-tLuh-7KgF-hbyA-NSCTnn
LV Write Access read/write
LV Status available
# open 1
LV Size 97.66 GB
Current LE 3125
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0

--- Logical volume ---
LV Name /dev/vg0/lv2
VG Name vg0
LV UUID j2Cayv-sOo5-ORc3-GOhA-EvJI-Kd4f-qanQbg
LV Write Access read/write
LV Status available
# open 1
LV Size 48.81 GB
Current LE 1562
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1

--- Logical volume ---
LV Name /dev/vg0/lv3
VG Name vg0
LV UUID 5d8Ilg-MDoF-jsRe-JJXD-CgXP-apwd-ZZfmmv
LV Write Access read/write
LV Status available
# open 1
LV Size 46.75 GB
Current LE 1496
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:2

--- Logical volume ---
LV Name /dev/vg0/lv1
VG Name vg0
LV UUID bzHHtY-4xu5-Uz8c-hTm4-xljU-0qfy-cpDAs3
LV Write Access read/write
LV Status available
# open 1
LV Size 1.94 GB
Current LE 62
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:3

[root@vhost ~]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy%
lv0 vg0 -wi-ao 97.66G
lv1 vg0 -wi-ao 1.94G
lv2 vg0 -wi-ao 48.81G
lv3 vg0 -wi-ao 46.75G
dev vg1 -wi-a- 500.00G
But when I tried to install GuestOS centOS5.1 on the logical volume , it always broke after formatting and loading files.
Is it because the “dev” logical volume’s Attr is –wi-a-?

Second question is: since this dell server is a 64bit system, so I should use 64bit centos as host os, then install 32bit os as guest os, or doesn’t matter?
Third question is : how to install a comeplete guest OS from a CD?

thanks for your help!
jimmy
 
Old 04-11-2008, 03:35 PM   #2
YAOMK
Member
 
Registered: Apr 2006
Location: Ft. Lauderdale
Distribution: FC7 and CentOS 5
Posts: 40

Rep: Reputation: 15
I see you double posted, and most of yours questions have already been answered, but in regards to the error you are getting when formating, it may be due to an incompatibility in volume groups.
 
  


Reply



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
CentOS Installation Problem - Can't recognize logical drives with RAID 16vjohn Linux - Server 5 02-14-2008 06:22 PM
Centos 5.1 bootup stops at Setting up Logical Volume Management - repeatedly tiber Red Hat 6 02-11-2008 12:37 PM
Logical Volume Overview inescapeableus Linux - Software 5 09-27-2006 02:08 PM
Logical Volume Manager at installation christopher5 SUSE / openSUSE 0 07-02-2005 10:54 PM
Setting up logical volume management... [FAILED] userini Linux - Software 0 06-28-2004 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:05 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
Open Source Consulting | Domain Registration