Hello,
Had an installation related question about XFS. I hope this is the
right mailing list to ask that.
The problem I was running into was that my XFS volume wouldn't auto
mount on system startup when it's fstab entry had the FS type set to
"auto".
E.g.
/dev/sdb /redis_data auto noatime,noexec,nodiratime 0 0
While it would auto mount correctly when the fstab entry was
explicitly set to "xfs". e.g.
/dev/sdb /redis_data xfs noatime,noexec,nodiratime 0 0
I posed this quirk to the linux-xfs@xxxxxxxxxxxxxxx mailing list and
they kindly pointed me out to the mount man page behavior wrt to
"auto":
"If no -t option is given, or if the auto type is specified, mount will try to
guess the desired type. Mount uses the blkid library for guessing the
filesystem type; if that does not turn up anything that looks familiar, mount
will try to read the file /etc/filesystems, or, if that
does not exist, /proc/filesystems. All of the filesystem types listed there
will be tried, except for those that are labeled "nodev" (e.g. devpts, proc
and nfs). If /etc/filesystems ends in a line with a single *, mount
will read /proc/filesystems afterwards. While trying, all filesystem
types will be mounted with the mount option silent."
I added xfs to /etc/filesystem and the auto mount start working even
with the fstab entry set to auto.
So I was wondering, shouldn't the xfs get added to /etc/filesystems
automatically during XFS package installation?
Thanks,
Vaibhaw
|