Veritas Volume Manager – vxdiskadm
2.3 Remove a disk
This option is used to remove a disk from a disk group provided there is no active volume using this disk .. If there are some volumes using the disk the those have to be either moved to some other disk or removed if they are no longer needed.
However since a diskgroup must have at least one disk you can not remove all the disks from a disk group . To remove all disks from a diskgroup you have to disable the volume group with the exception of rootdg disk group which can not be disabled .
Select menu item 3 (Remove a disk) from the vxdiskadm main menu.
Remove a disk
Menu: VolumeManager/Disk/RemoveDisk
Use this operation to remove a disk from a disk group. This
operation takes, as input, a disk name. This is the same name
that you gave to the disk when you added the disk to the disk
group.
Enter disk name [,list,q,?] disk01
Requested operation is to remove disk disk01 from group rootdg.
Continue with operation? [y,n,q,?] (default: y)
Removal of disk disk01 is complete.
Remove another disk? [y,n,q,?] (default: n)
2.4 Remove a disk for replacement
This option is used for removing the disk but retaining the name of the disk so that it can be used by the newly replaced disk . The replacement disk can be a newly added disk or already available disk in the other disk groups
Select menu item 4 (Remove a disk for replacement) from the vxdiskadm main menu.
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 [,list,q,?] disk02
Additional screens display if there are volumes associated with the disk you want to remove. You have to decide if data is needed or not needed and answer the prompts as asked .
The following devices are available as replacements:
c1t1d0
You can choose one of these disks now, to replace disk02.
Select “none” if you do not wish to select a replacement disk.
Choose a device, or select “none”
[,none,q,?] (default: c1t1d0)
Requested operation is to remove disk disk02 from group rootdg.
The removed disk will be replaced with disk device c1t1d0.
Continue with operation? [y,n,q,?] (default: y)
Removal of disk disk02 completed successfully.
Proceeding to replace disk02 with device c1t1d0.
Disk replacement completed successfully.
Remove another disk? [y,n,q,?] (default: n)
Nextpage – Replace a failed or removed disk
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


Posts
Leave a Reply
Comments will be published after approval by Moderator.