Skip to content

Commit fb16175

Browse files
authored
Merge pull request #920 from pruiz/filesystem-zfs-support
Adds support for fstype=zfs on Filesystem resource agent
2 parents bbb8877 + 412128c commit fb16175

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

heartbeat/Filesystem

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ determine_blockdevice() {
275275
# Get the current real device name, if possible.
276276
# (specified devname could be -L or -U...)
277277
case "$FSTYPE" in
278-
nfs4|nfs|smbfs|cifs|glusterfs|ceph|tmpfs|overlay|overlayfs|rozofs|none)
278+
nfs4|nfs|smbfs|cifs|glusterfs|ceph|tmpfs|overlay|overlayfs|rozofs|zfs|none)
279279
: ;;
280280
*)
281281
DEVICE=`list_mounts | grep " $MOUNTPOINT " | cut -d' ' -f1`
@@ -326,7 +326,7 @@ is_fsck_needed() {
326326
no) false;;
327327
""|auto)
328328
case $FSTYPE in
329-
ext4|ext4dev|ext3|reiserfs|reiser4|nss|xfs|jfs|vfat|fat|nfs4|nfs|cifs|smbfs|ocfs2|gfs2|none|lustre|glusterfs|ceph|tmpfs|overlay|overlayfs|rozofs)
329+
ext4|ext4dev|ext3|reiserfs|reiser4|nss|xfs|jfs|vfat|fat|nfs4|nfs|cifs|smbfs|ocfs2|gfs2|none|lustre|glusterfs|ceph|tmpfs|overlay|overlayfs|rozofs|zfs)
330330
false;;
331331
*)
332332
true;;
@@ -730,7 +730,7 @@ set_blockdevice_var() {
730730

731731
# these are definitely not block devices
732732
case $FSTYPE in
733-
nfs4|nfs|smbfs|cifs|none|glusterfs|ceph|tmpfs|overlay|overlayfs|rozofs) return;;
733+
nfs4|nfs|smbfs|cifs|none|glusterfs|ceph|tmpfs|overlay|overlayfs|rozofs|zfs) return;;
734734
esac
735735

736736
if `is_option "loop"`; then

0 commit comments

Comments
 (0)