- 论坛徽章:
- 0
|
系统:
tower@tower-desktop:/dev/mapper$ uname -a
Linux tower-desktop 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux
在vmware下实验lvm,建立了三块scsi盘,fdisk好后,如下:
tower@tower-desktop:/dev/mapper$ sudo fdisk -l
Disk /dev/hda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 993 7976241 83 Linux
/dev/hda2 994 1044 409657+ 5 Extended
/dev/hda5 994 1044 409626 82 Linux swap / Solaris
Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 1044 8385898+ 8e Linux LVM
Disk /dev/sdb: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 1044 8385898+ 8e Linux LVM
Disk /dev/sdc: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 1044 8385898+ 8e Linux LVM
对/dev/sda1、/dev/sdb1、/dev/sdc1做了pvcreate,但是pvscan只能看到/dev/sda1被加到系统里面
tower@tower-desktop:/dev/mapper$ sudo pvcreate /dev/sdb1
Physical volume "/dev/sdb1" successfully created
tower@tower-desktop:/dev/mapper$ sudo pvscan
PV /dev/mapper/sda1 VG testlvm lvm2 [8.00 GB / 7.98 GB free]
Total: 1 [8.00 GB] / in use: 1 [8.00 GB] / in no VG: 0 [0 ]
tower@tower-desktop:/dev/mapper$ sudo pvcreate /dev/sdc1
Physical volume "/dev/sdc1" successfully created
tower@tower-desktop:/dev/mapper$ sudo pvscan
PV /dev/mapper/sda1 VG testlvm lvm2 [8.00 GB / 7.98 GB free]
Total: 1 [8.00 GB] / in use: 1 [8.00 GB] / in no VG: 0 [0 ]
请问如何处理这个问题 |
|