- 论坛徽章:
- 0
|
输出大概需要等待20至30分钟或更久
# pvdisplay /dev/dsk/c4t0d3
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d3":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t0d3":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d3":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c12t0d3":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vgdata".
pvdisplay: Cannot display physical volume "/dev/dsk/c4t0d3".
# vgchange -c n /dev/vgdata
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t0d3":
The path of the physical volume refers to a device that does not exist, or is not configured into the kernel.
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c8t0d3":
The path of the physical volume refers to a device that does not exist, or is not configured into the kernel.
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c10t0d3":
The path of the physical volume refers to a device that does not exist, or is not configured into the kernel.
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c12t0d3":
The path of the physical volume refers to a device that does not exist, or is not configured into the kernel.
vgchange: Could not attach to volume group "/dev/vgdata" all of its physical volumes.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t0d3":
The specified path does not correspond to physical volume attached to this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c8t0d3":
The specified path does not correspond to physical volume attached to this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c10t0d3":
The specified path does not correspond to physical volume attached to this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c12t0d3":
The specified path does not correspond to physical volume attached to this volume group
vgchange: Warning: couldn't query all of the physical volumes.
# vgcfgrestore -n /dev/vgdata /dev/rdsk/c4t0d3
Warning: Cannot determine block size of Physical Volume "/dev/rdsk/c4t0d3".
Assuming a default value of 1024 bytes. Continuing.
vgcfgrestore: IO error on Physical Volume device /dev/rdsk/c4t0d3:
# diskinfo /dev/rdsk/c4t0d3
SCSI describe of /dev/rdsk/c4t0d3:
vendor: HP
product id: HSV200
type: direct access
size: 0 Kbytes
bytes per sector: 0
感谢google
Disk Drive
HotPlug Disk Drive Removal
The internal disk drives (up to four) are located at the front right side of the server (as you are facing it). When proper software and hardware procedures are followed, internal disk drives can be removed and replaced while the server is running.
The procedures in this section are in two parts, a HotSwap Software Procedure and a HotPlug Hardware Procedure for removing the disk from the server.
Before starting these procedures, you must have an up-to-date configuration backup file. Configuration backup is performed by default each time an LVM command changes the LVM configuration. The default backup files path is:
/etc/lvmconf/base_vg_name.conf.
The replacement disk drive must be the same product ID as the disk drive that is being replaced.
--------------------------------------------------------------------------------
HP often uses different manufacturers for disks that have the same product number. The HotSwap and HotPlug procedures will not update the disk drives internal information to that of the replaced disk drive.
--------------------------------------------------------------------------------
The replacement disk drive will have the same capacity and blocksize as the defective disk because they have the same product number. The only field the can be incorrect is the string specifying the vendor's name. This will not affect the behavior of the LVM. If you desire to update the manufacturer's name, the disks volume group must be deactivated and reactivated.
HotSwap Software Procedure
Perform these software procedural steps to replace a HotPlug disk drive device:
Step 1. Determine whether the LVM found the physical volume to be defective when the volume group was activated.
If the volume was defective when the volume group was activated, vgchange would have generated the following message to the console:
WARNING
VGCHANGE: WARNING: COULDN'T ATTACH TO THE VOLUME GROUP PHYSICAL
VOLUME "/DEV/DSK/cXtXdX"
VGCHANGE: WARNING: COULDN'T ATTACH TO THE VOLUME GROUP PHYSICAL
VOLUME "/DEV/DSK/cXtXdX"
THE PATH OF THE PHYSICAL VOLUME REFERS TO A DEVICE THAT DOES NOT
EXIST, OR IS NOT CONFIGURED INTO THE KERNAL.
If you are unsure of the status of the vgchange, you may check if this occurred by doing a vgdisplay command:
#vgdisplay <VG name>
For example:
# vgdisplay /dev/vg00
If the disk was defective at vgchange time, the following message will be printed one or more times:
WARNING:
VGDISPLAY: WARNING: COULDN'T QUERY PHYSICAL VOLUME "/DEV/DSK/cXtXdX"
THE SPECIFIED PATH DOES NOT CORRESPOND TO PHYSICAL VOLUME ATTACHED TO THE
VOLUME GROUP.
VGDISPLAY: WARNING: COULDN'T QUERY ALL |
|