----- Original Message ---- From: Karanbir Singh mail-lists@karan.org To: CentOS mailing list centos@centos.org Sent: Sunday, March 16, 2008 6:44:33 PM Subject: Re: [CentOS] Un Installing a hard drive in a Centos 5.1 box
Pam Astor wrote:
OK this is what I have when I run mount - does it appear that I have both drives on one volume?:
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
what output to do you get from : pvdisplay; vgdisplay; lvdisplay
[root@localhost ~]# pvdisplay; vgdisplay; lvdisplay --- Physical volume --- PV Name /dev/sdb1 VG Name VolGroup00 PV Size 465.76 GB / not usable 9.50 MB Allocatable yes (but full) PE Size (KByte) 32768 Total PE 14904 Free PE 0 Allocated PE 14904 PV UUID IAmE1f-dCMo-c035-cSQQ-g9yE-6yOo-mfKhHv
--- Physical volume --- PV Name /dev/sda2 VG Name VolGroup00 PV Size 465.66 GB / not usable 3.56 MB Allocatable yes (but full) PE Size (KByte) 32768 Total PE 14901 Free PE 0 Allocated PE 14901 PV UUID fi5A7U-dao0-ruuP-TSc0-LfFu-7yRL-iKnwGr
--- Volume group --- VG Name VolGroup00 System ID Format lvm2 Metadata Areas 2 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 2 Act PV 2 VG Size 931.41 GB PE Size 32.00 MB Total PE 29805 Alloc PE / Size 29805 / 931.41 GB Free PE / Size 0 / 0 VG UUID pwO7bQ-0eRs-W8O4-b4uf-hYe6-JIm6-27p8wu
--- Logical volume --- LV Name /dev/VolGroup00/LogVol00 VG Name VolGroup00 LV UUID avhFcY-30N6-2BPz-A89X-Ai0V-v5B7-xxzhIe LV Write Access read/write LV Status available # open 1 LV Size 929.47 GB Current LE 29743 Segments 2 Allocation inherit Read ahead sectors 0 Block device 253:0
--- Logical volume --- LV Name /dev/VolGroup00/LogVol01 VG Name VolGroup00 LV UUID ZW2z5f-5x58-0vDI-ru5S-iZge-mVE6-yVp160 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:1
And...
[root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 901G 6.7G 848G 1% / /dev/sda1 99M 18M 76M 20% /boot tmpfs 1.9G 0 1.9G 0% /dev/shm [root@localhost ~]#
____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Pam Astor wrote:
[root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 901G 6.7G 848G 1% / /dev/sda1 99M 18M 76M 20% /boot tmpfs 1.9G 0 1.9G 0% /dev/shm
yup, its all 1 Volume, you are going to need to shrink the lv's - then get your volgroup onto /dev/sda only. info on howto do that is in the lvm howto. also, I'd recommend you download the centos-5.1/livecd and actually do the work once booted from the livecd. shinking filesystems requires you to have the filesystem unmounted, so doing it from the livecd is the only way you are going to manage it here.