quotas + iscsi + systemd problem
Jeffrey M. Knerr
knerr at cs.swarthmore.edu
Mon Jul 31 15:08:34 BST 2017
Hello. I have a server with a disk array using iscsi and multipath for
/export/home. We serve /export/home to our lab machines with NFS. That
all works fine, until I add quotas. Something about systemd + quotas +
NFS + iscsi doesn't work right, and I'm not sure where to ask for help.
If this is the place, see below. If not, let me know where. Thanks.
jeff
Debian GNU/Linux 9.1
4.9.0-3-amd64
systemd 232-25+deb9u1
With just systemd + iscsi + multipath + NFS, system boots fine and
NFS works. When I add user quotas, boot becomes unstable. Sometimes
it boots fine, sometimes everything works but nfsd doesn't start,
sometimes the network interfaces don't start, so I can't ssh in, and
even when I log in on the console, there's no /export/home because
iscsi didn't log in to the disk array.
If I turn quotas off again (comment out the usrjquota=aquota.usr,
jqfmt=vfsv1 part in /etc/fstab for /export/home) everything boots fine:
# /etc/fstab
# with quotas (doesn't work)
#/dev/dm-1 /export/home ext4 _netdev,rw,noatime,nodev,acl,usrjquota=aquota.usr,jqfmt=vfsv1 0 2
#
# NO quotas (works)
/dev/dm-1 /export/home ext4 _netdev,rw,noatime,nodev,acl 0 2
Here are "journalctl -alb" and "systemd-analyze dump" for one boot
where things failed. Let me know what else would help (I have a test
system set up).
journal -alb output:
http://tinyurl.com/y9qymafc
systemd-analyze dump output:
http://tinyurl.com/ybp6jyfz
More information about the Pkg-systemd-maintainers
mailing list