cancel
Showing results for 
Search instead for 
Did you mean: 

how to add zfs mount poin resource

sam321
Level 4

please tell me the procedure or commands to add a zfs mount point

OS: solaris 10 [SPARC]

vcs : 5.0

 

Thanks

Kuldeep

1 ACCEPTED SOLUTION

Accepted Solutions

Gaurav_S
Moderator
Moderator
   VIP    Certified

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

View solution in original post

3 REPLIES 3

sam321
Level 4

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??

Gaurav_S
Moderator
Moderator
   VIP    Certified

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

Gaurav_S
Moderator
Moderator
   VIP    Certified

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