本文发表在 rolia.net 枫下论坛[root@Pender /]#
[root@Pender /]# vgscan -p -v
vgscan: The physical volume "/dev/dsk/c3t5d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c3t6d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument
/dev/vg00
/dev/dsk/c3t5d0
/dev/dsk/c3t6d0
[root@Pender /]# vgscan -v
vgscan: The physical volume "/dev/dsk/c3t5d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c3t6d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument
/dev/vg00
/dev/dsk/c3t5d0
/dev/dsk/c3t6d0
Scan of Physical Volumes Complete.
[root@Pender /]#
[root@Pender /]# vgdisplay
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 8
Total PE 6510
Alloc PE 5393
Free PE 1117
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
[root@Pender /]# vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 8
Total PE 6510
Alloc PE 5393
Free PE 1117
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 304
Current LE 38
Allocated PE 38
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 256
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 200
Current LE 25
Allocated PE 25
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 200
Current LE 25
Allocated PE 25
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 32
Current LE 4
Allocated PE 4
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 1560
Current LE 195
Allocated PE 195
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 2248
Current LE 281
Allocated PE 281
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 2552
Current LE 319
Allocated PE 319
Used PV 1
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 250
Allocated PE 250
Used PV 1
LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 10000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 22000
Current LE 2750
Allocated PE 2750
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c3t6d0
PV Status available
Total PE 4340
Free PE 0
Autoswitch On
PV Name /dev/dsk/c3t5d0
PV Status available
Total PE 2170
Free PE 1117
Autoswitch On
[root@Pender /]#
[root@Pender /]#更多精彩文章及讨论,请光临枫下论坛 rolia.net
[root@Pender /]# vgscan -p -v
vgscan: The physical volume "/dev/dsk/c3t5d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c3t6d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument
/dev/vg00
/dev/dsk/c3t5d0
/dev/dsk/c3t6d0
[root@Pender /]# vgscan -v
vgscan: The physical volume "/dev/dsk/c3t5d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c3t6d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument
/dev/vg00
/dev/dsk/c3t5d0
/dev/dsk/c3t6d0
Scan of Physical Volumes Complete.
[root@Pender /]#
[root@Pender /]# vgdisplay
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 8
Total PE 6510
Alloc PE 5393
Free PE 1117
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
[root@Pender /]# vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 8
Total PE 6510
Alloc PE 5393
Free PE 1117
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 304
Current LE 38
Allocated PE 38
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 256
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 200
Current LE 25
Allocated PE 25
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 200
Current LE 25
Allocated PE 25
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 32
Current LE 4
Allocated PE 4
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 1560
Current LE 195
Allocated PE 195
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 2248
Current LE 281
Allocated PE 281
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 2552
Current LE 319
Allocated PE 319
Used PV 1
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 250
Allocated PE 250
Used PV 1
LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 10000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 22000
Current LE 2750
Allocated PE 2750
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c3t6d0
PV Status available
Total PE 4340
Free PE 0
Autoswitch On
PV Name /dev/dsk/c3t5d0
PV Status available
Total PE 2170
Free PE 1117
Autoswitch On
[root@Pender /]#
[root@Pender /]#更多精彩文章及讨论,请光临枫下论坛 rolia.net