Veritas Volume Manager – vxdiskadm
#vxdiskadm
Typing vxdiskadm brings up a menu based utility (text) . The options , their explanation and screen shots
are given below .Most of the options need a disk name , device name or disk group name and you can have this information by typing list in the vxdiskadm menu .The list menu option is used to display a list of disks attached to your system. This also lists removed or failed disks. Most useful to get a quick view of all disks or list details of a single disk – its name , volume association and status.
A disk needs to be formatted in order to be included in volume manager . volume manager will report unformatted disk as invalid and a will only recognize after formatting
By default all the available disks in the system are considered for inclusion as volume manager disk however to exclude certain disks, list the names of the disks to be excluded in the file /etc/vx/disks.exclude before the initialization or encapsulation. Similarly, you can exclude all disks on specific controllers from initialization or encapsulation by listing those controllers in the file /etc/vx/cntrls.exclude.
? & ?? options provide help about the menu item and menu system.
#vxdiskadmVolume Manager Support Operations
Menu: VolumeManager/Disk1 Add or initialize one or more disks
2 Encapsulate one or more disks
3 Remove a disk
4 Remove a disk for replacement
5 Replace a failed or removed disk
6 Mirror volumes on a disk
7 Move volumes from a disk
8 Enable access to (import) a disk group
9 Remove access to (deport) a disk group
10 Enable (online) a disk device
11 Disable (offline) a disk device
12 Mark a disk as a spare for a disk group
13 Turn off the spare flag on a disk
list List disk information? Display help about menu
?? Display help about the menuing system
q Exit from menusSelect an operation to perform
2.1 Add or initialize one or more disks
The formatted disks can be added or initialized with volume manager . Disk groups needs to be given for making a new group or adding disks in existing group. Default disk group is rootdg and if none is specified the disks are added to volume manager and are kept as hot spares which can be used in place of a failed disk.
Select 1 (Add or initialize one or more disks) from the vxdiskadm main menu.
Nextpage – Add or initialize disks
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.