[CentOS] Re: How to upgrade hard drive in a single drive (with LVM2) computer
Barry L. Kline
blkline at attglobal.net
Wed Jan 4 02:58:58 UTC 2006
Bryan J. Smith wrote:
> "Barry L. Kline" <blkline at attglobal.net> wrote:
>
>
> Again, if I had a more _exact_ representation of your hard
> drives, I could help further.
>
> I'd also be interested in seeing what the major/minor numbers
> of your vg devices are.
>
Here's the information from the original drive. The new one is now
tucked away back in its original packaging awaiting my next attempt.
[root at alexander ~]# fdisk -l /dev/hda
Disk /dev/hda: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 1291 10265535 82 Linux swap
/dev/hda3 1292 3738 19655527+ 8e Linux LVM
(Don't ask why the swap is soooo large, I just noticed that. I'll fix it
when I move to the new drive.)
[root at alexander ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/hda3 vg0 lvm2 a- 18.72G 32.00M
[root at alexander ~]# vgs
VG #PV #LV #SN Attr VSize VFree
vg0 1 2 0 wz--n 18.72G 32.00M
[root at alexander ~]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy%
lvhome vg0 -wi-ao 10.69G
lvsysroot vg0 -wi-ao 8.00G
[root at alexander ~]# ll /dev/mapper
total 0
crw------- 1 root root 10, 63 Jan 3 19:23 control
brw-rw---- 1 root disk 253, 1 Jan 3 19:23 vg0-lvhome
brw-rw---- 1 root disk 253, 0 Jan 3 19:23 vg0-lvsysroot
Is there anything else you'd like to see?
Barry
More information about the CentOS
mailing list