Penoi’s Veritas Volume Manager Notes

Posted on August 11, 2008

This is my personal notes on Veritas Volume Manager. This page is a continuing notes of frequent commands that i use in VxVM

Initialization

Disk initialization

/usr/lib/vxvm/bin/vxdisksetup -iv [device_tag][attributes]

Example:

#/usr/lib/vxvm/vxdisksetup -iv c2t0d0

Creation
Create initial disk group

vxdg init [diskgroup] [disk_name=device_tag]

Example:

#vxdg init newdg disk1=c2t0d0

Add more disk to the Disk Group

vxdg -g [disk_group] adddisk [disk_name=device_tag]

Example

#vxdg -g newdg adddisk disk2=c2t1d0

Volume Creation

Concatenated Volume

vxassist -g [disk group] make [volume_name] [size]

Example

#vxassist -g newdg make newvol 500m

Concatenated Volume by specifying the disk

# vxassist -g newdg make newvol disk02 disk03

Striped Volume

vxassist -g [disk group] make [volume_name] [length] layout=stripe ncol=n stripeunit=size

Example

#vxassist -g newdg make newvol 500m layout=stripe

Mirrored Volume

#vxassist -g newdg make newvol 500m layout=mirror

Viewing VxVM

View Disk Group disk info

#vxdisk -o alldgs list

View Sub disk

#vxprint -ls

View Plexes

#vxprint -lp

View Volumes

#vxprint -lv

Removing
–loading–

» Filed Under Linux/Nix

Comments

Leave a Reply




*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-spam image

  • Recent Comments

    • krusna: the file SUNWrge.tar.gz is not found on that URL....
    • Gugi: The file SUNWrge.tar.gz is not found on the url you gave abo...
    • Robert: how can i take a slot in your blog-rolls? here's mind htt...
    • rachel Perez: that's mine, mine, mine, mine... hehe.. thanks po......
    • Malyn Torne: gada voice nya at ang humble nya para sa mga tao..keep up th...

Directory of Personal Blogs
Technology Blogs - BlogCatalog Blog Directory Personal - Top Blogs Philippines