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.

Scenario

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.

Solution

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. 

Newsletter Signup Form

.

 

Leave a Reply

Your email address will not be published. Required fields are marked *