- 论坛徽章:
- 0
|
本帖最后由 ncesun 于 2014-07-23 13:11 编辑
主备服务器通过光纤交换机连接存储,但没有双机软件,在A机上挂接存储后,划分VG,
但通过vgcrgback备份后在B机上restore不成功,
在B机上pvscan也没有信息。
请各位大侠指教
A机磁盘信息- # fdisk -l
- Disk /dev/sda: 291.9 GB, 291999055872 bytes
- 255 heads, 63 sectors/track, 35500 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sda1 1 1045 8393931 82 Linux swap / Solaris
- /dev/sda2 * 1046 35500 276759787+ 83 Linux
- Disk /dev/sdb: 450.9 GB, 450981003264 bytes
- 255 heads, 63 sectors/track, 54828 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sdb1 1 54828 440405878+ 8e Linux LVM
- Disk /dev/sdc: 2712.9 GB, 2712933498880 bytes
- 255 heads, 63 sectors/track, 329828 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk /dev/sdc doesn't contain a valid partition table
- Disk /dev/sdd: 450.9 GB, 450981003264 bytes
- 255 heads, 63 sectors/track, 54828 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sdd1 1 54828 440405878+ 8e Linux LVM
- Disk /dev/sde: 2712.9 GB, 2712933498880 bytes
- 255 heads, 63 sectors/track, 329828 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk /dev/sde doesn't contain a valid partition table
- Disk /dev/sddlmab: 450.9 GB, 450981003264 bytes
- 255 heads, 63 sectors/track, 54828 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sddlmab1 1 54828 440405878+ 8e Linux LVM
- Disk /dev/sddlmac: 2712.9 GB, 2712933498880 bytes
- 255 heads, 63 sectors/track, 329828 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk /dev/sddlmac doesn't contain a valid partition table
复制代码 A机PV信息- # pvdisplay
- Found duplicate PV dwzzQEld7cZciGQbZWkEtrsTDVQpZMfp: using /dev/sddlmab1 not /dev/sdb1
- Found duplicate PV dwzzQEld7cZciGQbZWkEtrsTDVQpZMfp: using /dev/sdd1 not /dev/sddlmab1
- Physical volume "/dev/sdd1" of volume group "sjvg" is exported
- --- Physical volume ---
- PV Name /dev/sdd1
- VG Name sjvg (exported)
- PV Size 420.00 GB / not usable 3.87 MB
- Allocatable yes (but full)
- PE Size (KByte) 131072
- Total PE 3360
- Free PE 0
- Allocated PE 3360
- PV UUID dwzzQE-ld7c-ZciG-QbZW-kEtr-sTDV-QpZMfp
复制代码 A机VG信息- # vgdisplay
- Found duplicate PV dwzzQEld7cZciGQbZWkEtrsTDVQpZMfp: using /dev/sddlmab1 not /dev/sdb1
- Found duplicate PV dwzzQEld7cZciGQbZWkEtrsTDVQpZMfp: using /dev/sdd1 not /dev/sddlmab1
- WARNING: volume group "sjvg" is exported
- --- Volume group ---
- VG Name sjvg
- System ID
- Format lvm2
- Metadata Areas 1
- Metadata Sequence No 7
- VG Access read/write
- VG Status exported/resizable
- MAX LV 0
- Cur LV 1
- Open LV 0
- Max PV 0
- Cur PV 1
- Act PV 1
- VG Size 420.00 GB
- PE Size 128.00 MB
- Total PE 3360
- Alloc PE / Size 3360 / 420.00 GB
- Free PE / Size 0 / 0
- VG UUID LR4sOg-n6xe-yKog-1b4f-Y2RM-ioIj-DF5vmx
-
- HAYWDA1N:~ # lvs
- Found duplicate PV dwzzQEld7cZciGQbZWkEtrsTDVQpZMfp: using /dev/sddlmab1 not /dev/sdb1
- Found duplicate PV dwzzQEld7cZciGQbZWkEtrsTDVQpZMfp: using /dev/sdd1 not /dev/sddlmab1
- Volume group
- "sjvg" is exported
复制代码 B机信息- # fdisk -l
- Disk /dev/sda: 291.9 GB, 291999055872 bytes
- 255 heads, 63 sectors/track, 35500 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sda1 1 1045 8393931 82 Linux swap / Solaris
- /dev/sda2 * 1046 35500 276759787+ 83 Linux
- Disk /dev/sdc: 450.9 GB, 450981003264 bytes
- 255 heads, 63 sectors/track, 54828 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sdc1 1 54828 440405878+ 8e Linux LVM
- Disk /dev/sdd: 2712.9 GB, 2712933498880 bytes
- 255 heads, 63 sectors/track, 329828 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk /dev/sdd doesn't contain a valid partition table
- Disk /dev/sde: 450.9 GB, 450981003264 bytes
- 255 heads, 63 sectors/track, 54828 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sde1 1 54828 440405878+ 8e Linux LVM
- Disk /dev/sdf: 2712.9 GB, 2712933498880 bytes
- 255 heads, 63 sectors/track, 329828 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk /dev/sdf doesn't contain a valid partition table
- Disk /dev/sddlmab: 450.9 GB, 450981003264 bytes
- 255 heads, 63 sectors/track, 54828 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sddlmab1 1 54828 440405878+ 8e Linux LVM
- Disk /dev/sddlmac: 2712.9 GB, 2712933498880 bytes
- 255 heads, 63 sectors/track, 329828 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk /dev/sddlmac doesn't contain a valid partition table
复制代码 B机pvscan信息
- # pvdisplay
- # pvscan
- /dev/sdb: open failed: No medium found
- No matching physical volumes found
- # vgcfgrestore sjvg
- /dev/sdb: open failed: No medium found
- Couldn't find device with uuid 'dwzzQE-ld7c-ZciG-QbZW-kEtr-sTDV-QpZMfp'.
- Couldn't find all physical volumes for volume group sjvg.
- Restore failed.
复制代码 |
|