Wednesday, October 15, 2008

Veritas Troubleshooting Guide | VX Command

This is an old document I created for myself so that I wouldn't forget which I did anyway hehe.. this is simple troubleshooting guide for Veritas disk using VX commands, this covers Enabling, Disabling, Mounting, Fsck, Umount and Querying disk.

Troubleshooting VXFS -

Type to see if disk are disabled(offline) or enabled(online) use:

# vxdg list

If disk is disable you will need to unmount the disk then deport and import the disk use:

# umount

# vxdg deport

After deporting the disk you will need to re-import the disk use:

# vxdg import

If re-import/import of the disk fail or gives and error you might need to ask Veritas to rescan use:

# vxdvtl enable

Note: After running “vxdvtl enable” and you still encounter error when importing, you might also need to run “devfsadm” to load every driver in the system and attach to all possible device instances.

After successfully importing the disk, you will need to check the status of the re-imported disk usually it would be offline/disabled state use:

# vxprint –thg

After confirming that disk is in disabled state, enable the disk use:

# vxvol –g startall

Then recheck the status of the disk, to make sure the disk is enable and it is online use:

# vxdg list

# vxprint –thg

Then run fsck on the disk

# fsck -F vxfs -o full

Then remount the filesystem, usually you can also check the vfstab/fstab to know what are the disk path and mount points

# mount –a

To show and identify disk use on the host use:

# vxdisk -o alldgs list

Hope you find this usefull.

Computer and Network problem | Windows | How to below:

No comments:

For suggestion and concerns E-mail