UnixPedia : HPUX / LINUX / SOLARIS: VXVM :Create a volume group and a File system under Vxvm

Thursday, March 27, 2014

VXVM :Create a volume group and a File system under Vxvm

Create a volume group and a File system under Vxvm
Overview
Create a volume group and a File system under Vxvm
Procedures
1.    Initialize disks to be used with VxVM by running the vxdisksetup command only on the
primary system.
# /etc/vx/bin/vxdisksetup -i c5t0d0
2.    Create the disk group to be used with the vxdg command only on the primary system.
# vxdg init logdata c5t0d0
3.    Verify the configuration.
# vxdg list
4.    Use the vxassist command to create the logical volume.
a.       # vxassist -g logdata make logfile 2048m
5.    Verify the configuration.
             # vxprint -g logdata
6.     Make the filesystem.
             # newfs -F vxfs /dev/vx/rdsk/logdata/logfile
7.     Create a directory to mount the volume group.
             # mkdir /logs
8.     Mount the volume group.
# mount /dev/vx/dsk/logdata/logfile /logs
9.     Check if file system exits, then unmount the file system.
# umount /logs
Keywords
Vxdg,vxvm,vxassit


1 comment:

  1. Thanks for sharing this important information. You may also refer http://www.s4techno.com/blog/2016/06/17/extend-vxvm-filesystem/

    ReplyDelete