FAQ | This is a LIVE service | Changelog

Commit 16445075 authored by Dr Adam Thorn's avatar Dr Adam Thorn
Browse files

Update usage message to specify quotas should be set on sub-ZFSs, not the parent

parent 90ae5b4e
......@@ -3,6 +3,6 @@ Priority: optional
Section: otherosfs
Maintainer: Chemistry COs <support@ch.cam.ac.uk>
Architecture: all
Version: 0.9-ch87
Version: 0.9-ch88
Depends: zfs-dkms, postgresql-13 | postgresql-9.5 | postgresql-9.4 , liblockfile-simple-perl, libdbi-perl, libjson-perl, libzfs-perl-chem, libnet-openssh-perl, libdbd-pg-perl, mbuffer, rsync, nfs-kernel-server, pv, libwww-curl-perl
Description: a backup system using ZFS (repository 'backup-scheduler')
......@@ -174,5 +174,8 @@ while ! [ -z $1 ] ; do
done
dosql "update host set disabled=false where hostname='$FQDN';"
echo "Please set a quota:"
echo " zfs set quota=\$QUOTA $TGT"
ZFSs=$(zfs list -r -H -oname $TGT | grep -v ${TGT}$)
echo "Please check/set quotas on child ZFSs:"
for ZFS in $ZFSs; do
echo " zfs set quota=\$QUOTA $ZFS"
done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment