VxVM Basic Tasks
So here I am with a little more knowledge about this wonderful Volume Manager.
This information is dedicated for HP ITRC Forum who helped me their best. And this information is true for VXVM implementations on HPUX.
a). /etc/vx/bin/vxdisksetup -i /dev/cXtXdX
Creating a Disk Group a). vxdg init disk01=cXtXdX
Extend an existing Disk Group a). vxdg -g adddisk disk02=cXtXdX
Create a Volume on a disk group
This information is dedicated for HP ITRC Forum who helped me their best. And this information is true for VXVM implementations on HPUX.
Defining a disk for use of VXVM
Creating a Disk Group
Extend an existing Disk Group
Create a Volume on a disk group
a). vxassist -g make 10g
Create a Volume on a disk group on a specific disk
a). vxassist -g 1g alloc=disk20
Create a Striped Volume
a). vxassist -g make stripevol 20g layout=striped ncols=4 stwidth=128
Create a Filesystem on a vol
a). mkfs -F vxfs-o bsize=8192,largefiles /dev/vx/rdsk/ /oravol01
Update the /etc/filesystems
a) vi /etc/fstab
Display a volume Group
a). vxprint -g disk_group
Display a Volume
a). vxprint -ht vol_name
Increase a filesystem
a). vxresize -b -F vxfs -t homevolresize homevol 10g disk10 disk11
Mirroring a rootdg
a). vxdisksetup -iB cxtydz (To initialise disk under Volume manager)
b). vxdg -g rootdg adddisk rootdisk=cxtydz ( To add the disk to the Disk Group)
c). vxrootmir -v -b -R cxtydz ( To create the mirror)
c). vxrootmir -v -b -R cxtydz ( To create the mirror)
0 Comments:
Post a Comment
<< Home