how to create a veritas file system in solaris

RSY Digital World Logohow to create a veritas file system in solaris

Most often work for a system administrator is file system management. VxVM Veritas Volume Manager is utility software from Veritas for file system management as well as multipathing solutions in build if you do not want to purchase additional software specially for multipath management to have redundancy from storage side.So lets see one of the main topic in file system management on solaris running VXVM how to create a veritas file system in solaris.


Lets assume we already have functional disk group name sybase and we need to create /export/home/sybase of 200 GB.Environment is Solaris and VxVM .Considering the fact that existing disk group have more than 200 GB free space.


So we know that disk group is having space to provision new file system.Lets go through procedure how to create a veritas file system in solaris to be followed .

1.Validate the available free space in disk group.You can use below command to get required information.
# vxassist -g sybase maxsize
This command will display free space in disk group sybase in MB.Divide result by 1024 and get available 
space in disk group.
2. Create a Veritas Volume in disk group of 200 GB
#  vxassist -g sybase -U fsgen make sybvol 200g
Above command will create a volume name  sybvol of 200 GB.
3. Create a File System on new volume 
# mkfs -F vxfs -o largefiles /dev/vx/rdsk/sybase/sybvol
This command will layout file system with large files support.
4. Create Mount Point and update vfstab for it to remain consistent across reboot.
# mkdir /export/home/sybase
# chmod 755 /export/home/sybase
# chown sybase:sybase /export/home/sybase
5. Mount FS
You can mount simply typing mountall or manual mount command .See below for detail.
# mountall                                 OR
# mount -F vxfs /dev/vx/dsk/sybase/sybvol /export/home/sybase
6. Validate
# df -h /export/home/sybase

That,s it as of now about current topic how to create a veritas file system in solaris.

Thanks for keep going through the above procedure.If you like you can subscribe our news letter to get latest tips,tricks and how to steps to accomplish specific task.Please do not hesitate to share this with all possible social account where ever you have presence. 

Raj Rai

Raj Rai is an experienced IT Infrastructure Professional with more than 15 years of experience in IT Infrastructure Management. Raj Raj have keen interest in sharing his real world experience in his spare time as his social responsibility for IT infrastructure field. This is his contribution for IT infrastructure management sector for either newbie or even experienced professionals in unix linux cloud network and storage administration field.

This Post Has One Comment

Leave a Reply