Volume Operation
 
Creating a simple volume using vxassist
vxassist -g disk_group -U vol_type make volume_name length disk_list
 

Creating a striped volume using vxassist command
vxassist -g disk_group -U vol_type make volume_name length layout=stripe disk_list
 

Creating a striped-mirrored volume using vxassist
vxassist -g disk_group -U vol_type make volume_name length layout=mirror mirror=cntrl stripe_stripeunit=? disk_list
 

Stopping and Starting a volume
vxvol -g disk_group start volume_name => to start
vxvol -g disk_group stop volume_name => to stop
 

Listing unstartable volumes
vxprint -ht | grep DISABLED
 

Removing a volume
vxedit -g disk_group -r rm volume_name
 

Removing a volume recursively
vxedit -g disk_group -vrf rm volume_name
 

Growing a file system or volume using vxresize command
vxresize -F -ufs -g disk_group volume_name +space_to_add
 

Creating and mounting a file system on a volume
1. Create a volume
2. newfs on the newly created volume
    newfs /dev/vx/rdsk/volume_device
3. Create a mount point
    mkdir /mount_point
4. add the new file system entry in the /etc/vfstab file
5. now mount the file system
    mount /file_system
 

Removing a mirror
1. dettache the plex from the volume
    vxplex -g disk_group dis plex_name
    vxedit -g disk_group -prf plex_name
 
OR
vxplex -g disk_group rm dis plex_name
 

Adding a DRL log to an existing volume
vxassist -g disk_group addlog volume_name disk
 

Removing a DRL log
vxassist -g disk_group remove log volume_name
 

Adding a Raid-5 log
vxassist -g disk_group addlog volume_name disk
 

Changing the volume policy
 

Changing group, owner and mode on a volume
vxedit -g disk_group set user=??? group=??? mode=???
 

Converting a 1+0 volume to 0+1 volume using vxassist
vxassist -g disk_group convert volume_name layout=mirror-stripe


System Administration | Unix Certification | Hardware Management | High Availability Disk Management | On-Line Tutorials
For comments or suggestions about this website
Mail To:
Webmaster@Bhuwan.COM