HP (Hewlett-Packard) HP-UX 11i v3 Landscape Lighting User Manual


 
113Administering disks
Removing and replacing disks
To replace a disk
1 Select menu item 3 (Remove a disk for replacement) from the
vxdiskadm main menu.
2 At the following prompt, enter the name of the disk to be replaced (or enter
list for a list of disks):
Remove a disk for replacement
Menu: VolumeManager/Disk/RemoveForReplace
Use this menu operation to remove a physical disk from a disk
group, while retaining the disk name. This changes the state
for the disk name to a removed disk. If there are any
initialized disks that are not part of a disk group, you will
be given the option of using one of these disks as a
replacement.
Enter disk name [<disk>,list,q,?] mydg02
3 When you select a disk to remove for replacement, all volumes that are
affected by the operation are displayed, for example:
VxVM NOTICE V-5-2-371 The following volumes will lose mirrors
as a result of this operation:
home src
No data on these volumes will be lost.
The following volumes are in use, and will be disabled as a
result of this operation:
mkting
Any applications using these volumes will fail future
accesses. These volumes will require restoration from backup.
Are you sure you want do this? [y,n,q,?] (default: n)
To remove the disk, causing the named volumes to be disabled and data to
be lost when the disk is replaced, enter y or press Return.
To abandon removal of the disk, and back up or move the data associated
with the volumes that would otherwise be disabled, enter n or q and press
Return.
For example, to move the volume mkting to a disk other than mydg02, use
this command:
# vxassist move mkting !mydg02
After backing up or moving the data in the volumes, start again from step 1
above.
4 At the following prompt, either select the device name of the replacement
disk (from the list provided), press Return to choose the default disk, or
enter none if you are going to replace the physical disk: