04-22-2011 12:49 AM
please tell me the procedure or commands to add a zfs mount point
OS: solaris 10 [SPARC]
vcs : 5.0
Thanks
Kuldeep
Solved! Go to Solution.
04-22-2011 09:01 AM
In relation to dependencies, you can refer to zpool agent in bundled agents guide
ZFS file system and pool creation example
If you want to use the Mount resource to monitor the ZFS file system, perform
the following steps.
Create the tank storage pool and file system on the disk device c1t0d0 for
example.
# zpool create tank c1t0d0
Create the home file system in tank.
# zfs create tank/home
Set the value of the MountPoint attribute to legacy.
# zfs set mountpoint=legacy tank/home
Set the Mount agent’s attributes. The following is an example of this
configuration’s main.cf file.
Mount m1 (
MountPoint = "/mp1"
BlockDevice = "tank/home"
FSType = zfs
MountOpt = rw
FsckOpt = "-n"
)
Guide can be found at
https://sort.symantec.com/documents/doc_details/sfha/5.1%20SP1/Solaris/ProductGuides/
G
04-22-2011 05:44 AM
want to add zfs mount point as resource to a resource group
does it need any linking to be done as it is done in a VxFS mount point??
04-22-2011 08:45 AM
Hello Kuldeep,
Mount agent itself supports FSType as ZFS ...
from 5.1 VCS Bundled Agents...
FSType Type of file system.
Supports ufs, nfs, zfs, lofs, or vxfs.
Type and dimension: string-scalar
Example: "vxfs"
Gaurav
04-22-2011 09:01 AM
In relation to dependencies, you can refer to zpool agent in bundled agents guide
ZFS file system and pool creation example
If you want to use the Mount resource to monitor the ZFS file system, perform
the following steps.
Create the tank storage pool and file system on the disk device c1t0d0 for
example.
# zpool create tank c1t0d0
Create the home file system in tank.
# zfs create tank/home
Set the value of the MountPoint attribute to legacy.
# zfs set mountpoint=legacy tank/home
Set the Mount agent’s attributes. The following is an example of this
configuration’s main.cf file.
Mount m1 (
MountPoint = "/mp1"
BlockDevice = "tank/home"
FSType = zfs
MountOpt = rw
FsckOpt = "-n"
)
Guide can be found at
https://sort.symantec.com/documents/doc_details/sfha/5.1%20SP1/Solaris/ProductGuides/
G