Révision 4

bin/del-filesystem (revision 4)
16 16

  
17 17
if [ "$MOUNTED" == "no" ]
18 18
then
19
   zfs destroy $FS_NAME
19
   zfs destroy -r $FS_NAME
20 20
   
21 21
else
22 22
   echo "ZFS FileSystem $FS_NAME mounted" 1>&2
bin/del-volume (revision 4)
18 18

  
19 19
if [ "$TID" == "" ]
20 20
then
21
   zfs destroy $NAME_VOL
21
   zfs destroy -r $NAME_VOL
22 22
   
23 23
else
24 24
   $DEL_ISCSI -T $TID
25 25
   if [ $? -eq 0 ]
26 26
   then
27
     zfs destroy $NAME_VOL
27
     zfs destroy -r $NAME_VOL
28 28
   else
29 29
      exit 1;
30 30
   fi

Formats disponibles : Unified diff