Use the crfs
and mkfs
commands to create file systems. VCS supports the following configurations for the Mount agent:
In the following configuration, the mnt resource requires the vg00 resource.
In the following configuration, vol0L
is a volume in diskgrp testdg_1
created with VxVM.
BlockDevice = "/dev/vx/dsk/testdg_1/vol0"
BlockDevice = "/dev/vx/dsk/campus-dg1/campus-vol1"
<resource name="MountSCSI1" type="Mount">
<attribute name="BlockDevice"><scalar>"/dev/vx/dsk/dg/vol1" </scalar></attribute>
<attribute name="FSType"><scalar>"vxfs"</scalar></attribute>
<attribute name="MountOpt"><scalar>"rw"</scalar></attribute>
<attribute name="MountPoint"><scalar>"/data"</scalar></attribute>
<attribute name="FsckOpt"><scalar>"-y"</scalar></attribute>
<resource name="MountNFS" type="Mount">
<attribute name="BlockDevice"><scalar>"10.212.100.101:/mnt/share"</scalar></attribute>
<attribute name="FSType"><scalar>"nfs"</scalar></attribute>
<attribute name="MountOpt"><scalar>"rw"</scalar></attribute>
<attribute name="MountPoint"><scalar>"/data"</scalar> </attribute>
<attribute name="SecondLevelMonitor"><scalar>1</scalar> </attribute>
<attribute name="SecondLevelTimeout"><scalar>20</scalar> </attribute>