disk replacement

Oliver Vecernik ml at vecernik.at
Wed May 4 12:46:47 UTC 2005


Hi Paul,

Paul Howarth schrieb:
>> My thoughts were first to remove /dev/hdb, create two partitions, moving
>> /boot and VG to it, power down, remove old disk, jumper new one as
>> master and finally power up.

How do I copy the MBR?

>> Can anybody give me some advice?
> 
> Sounds like a reasonable plan. Please post the output of:
> 
> # vgdisplay -v

# vgdisplay -v
    Finding all volume groups
    Finding volume group "VolGroup00"
  --- 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               75,47 GB
  PE Size               32,00 MB
  Total PE              2415
  Alloc PE / Size       2413 / 75,41 GB
  Free  PE / Size       2 / 64,00 MB
  VG UUID               Scg1fw-WM5q-eoj5-rcf8-AAAi-sKmV-nrWAYK

  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                c3JfzP-cN3w-v49v-nXYN-whIc-b5A2-f7KMzx
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                74,41 GB
  Current LE             2381
  Segments               2
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:0

  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                K6Tqyu-jO0S-BpPC-8ob7-t7Qd-SOQ1-aK6EUY
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1,00 GB
  Current LE             32
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:1

  --- Physical volumes ---
  PV Name               /dev/hda2
  PV UUID               EpsJjV-7Svg-cMVX-sjdF-lMXQ-ruCB-9bzrXP
  PV Status             allocatable
  Total PE / Free PE    1189 / 0

  PV Name               /dev/hdb1
  PV UUID               0bUeIv-uudT-MadJ-WDpU-yMD0-4P4n-Suitsd
  PV Status             allocatable
  Total PE / Free PE    1226 / 2


Oliver




More information about the users mailing list