0% found this document useful (0 votes)
170 views3 pages

VXVM Cheat Sheet

To install new licenses in Veritas Volume Manager (VxVM), store them in /etc/vx/licenses/lic and modify the PATH variable to include /etc/vx/bin and /opt/VRTS/bin. To view disks visible to VxVM, use the vxdisk command. The vxdisksetup command can be used to initialize disks in VxVM control and specify the format as CDS or sliced. Diskgroups can be created using vxdg init and disks added using vxdg adddisk. Volumes can be created with vxassist within a diskgroup with layouts like concat, stripe, or raid5. Finally, a VxFS file system can be created and mounted on the volume block
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
170 views3 pages

VXVM Cheat Sheet

To install new licenses in Veritas Volume Manager (VxVM), store them in /etc/vx/licenses/lic and modify the PATH variable to include /etc/vx/bin and /opt/VRTS/bin. To view disks visible to VxVM, use the vxdisk command. The vxdisksetup command can be used to initialize disks in VxVM control and specify the format as CDS or sliced. Diskgroups can be created using vxdg init and disks added using vxdg adddisk. Volumes can be created with vxassist within a diskgroup with layouts like concat, stripe, or raid5. Finally, a VxFS file system can be created and mounted on the volume block
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

To installed new license #/opt/VRTSvcs/bin/vxlicinst Licenses are stored under /etc/vx/licenses/lic/ directory Modify the PATH variable in .

bash_profile PATH=$PATH:/etc/vx/bin:/opt/VRTS/bin export PATH MANPATH=/usr/share/man:/opt/VRTS/man export MANPATH To list all disks visible to VxVM #vxdisk -o alldgs list or #vxdisk list To scan for new disks in VxVM #vxdisk scandisks or #vxdctl enable

Sda

sdb

sdc

sdd

sde

Disk_0

Disk_1

Disk_2

Disk_3

Disk_4

To initialize the disk in VxVM (Briniging disk in VxVM control) #vxdisksetup -i disk_name

Eg #vxdisksetup i Disk_1 By default the format will be CDS To initialize the disk in Sliced layout #vxdisksetup -i disk_name format=cds Eg #vxdisksetup i Disk_2 format=sliced Creating Diskgroup #vxdg init dgname vmdiskname=diskname Eg #vxdg init newdg newdg01=Disk_1 Adding Disk into Diskgroup #vxdg g newdg adddisk vmdiskname=disk_name vmdiskname02=disk_name Eg #vxdg g newdg adddisk newdg02=Disk_2 newdg03=Disk_3 Creating Volume #vxassist g dgname make vol_name size layout=layout_type Eg #vxassist g newdg make vol1 1g By default layout will be concat. Creating a Stripe Volume #vxassist g newdg make vol1 2g layout=stripe Creating a Raid 5 Volume By default raid5 will use 4 disk 3 for volume and one for raid5 log. #vxassist g newdg make vol2 2g layout=raid5

Creating Vxfs file system in volume Block device name =/dev/vx/dsk/dgname/vol_name Raw device name= /dev/vx/rdsk/dgname/vol_name Eg /dev/vx/dsk/newdg/vol1 /dev/vx/rdsk/newdg/vol1 ---------------------- Block Device Name ---------------------- Raw Device Name

#mkfs t vxfs /dev/vx/rdsk/newdg/vol1 Mounting file system #mount t vxfs /dev/vx/dsk/newdg/vol1 /ora/u01

You might also like