xfs
[Top] [All Lists]

Adding xfs to /etc/filesystems during installation

To: xfs@xxxxxxxxxxx
Subject: Adding xfs to /etc/filesystems during installation
From: Vaibhaw Pandey <vaibhaw@xxxxxxxxxxxx>
Date: Thu, 16 Feb 2017 12:33:17 +0530
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scalegrid-io.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=omeZlV1qR59PjaTTidJY8+Xd1etMp6zhJmyMc/8+Uoc=; b=GRzX3/9hpJrBilofe7ZVwGy6o9RYecSGK4PTtZIfu57zQokBXoO0h1EdJU8BET4lUn +VSCps8cOIw2eeR0hSk1DeIszGkUojE4TjOGZ1DM2xOiI97e89zXyWJwzde5bC62L/RE KNeDJJMW0lPcYkfJR/iaxz63Dv3XeTTWqzghCGrDg33Su6+XkA+81fYsKm97T2LufhZB joOpS/NC1vMjNbRQ0tyJLzSMhn5XlzEw/Govu+ohlEqwGrwXOoQ/eGKWpOmNwlxKv/6X cIqrHWvd+oMPLhLiide8lQ7AQmmfb4NvEBG/SrO5CYSiicjxCo6V4oktxBcyVldmT99H iXUg==
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

<Prev in Thread] Current Thread [Next in Thread>
  • Adding xfs to /etc/filesystems during installation, Vaibhaw Pandey <=