All of lore.kernel.org
 help / color / mirror / Atom feed
* XFS doesn't auto mount on boot when /etc/fstab entry has fs type set to auto
@ 2017-02-15  5:13 Vaibhaw Pandey
  2017-02-15 12:27 ` Carlos Maiolino
  0 siblings, 1 reply; 6+ messages in thread
From: Vaibhaw Pandey @ 2017-02-15  5:13 UTC (permalink / raw)
  To: linux-xfs

Hi,

Needed guidance.

I am trying to move my EC2 machine deployment code to start creating
XFS volumes as opposed to ext4 volumes like it used to. An issue I
have run into is that the XFS volume doesn't get mounted automatically
on reboot with the /etc/fstab entry which used to work fine for ext4.
A manual mount later works perfectly.

Version:
$ uname -a
Linux ip-172-31-39-239 4.4.44-39.55.amzn1.x86_64 #1 SMP Mon Jan 30
18:15:53 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
sudo cat /etc/fstab
#
LABEL=/     /           ext4    defaults,noatime  1   1
tmpfs       /dev/shm    tmpfs   defaults        0   0
devpts      /dev/pts    devpts  gid=5,mode=620  0   0
sysfs       /sys        sysfs   defaults        0   0
proc        /proc       proc    defaults        0   0
/dev/sdb /redis_data auto noatime,noexec,nodiratime 0 0
$ df -T /redis_data/
Filesystem     Type 1K-blocks  Used Available Use% Mounted on
/dev/xvdb      xfs    5232640 32940   5199700   1% /redis_data

However if I change the /etc/fstab directive to:

/dev/sdb /redis_data xfs noatime,noexec,nodiratime 0 0

the auto mount starts working fine. Now this isn't a major problem
since the functionality ultimately works. But I would certainly like
to have the flexibility to avoid hard coding the fs type in the code
that generates these fstab entries.

Any pointers or help is much appreciated. :)

Thanks,
Vaibhaw

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-16 11:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15  5:13 XFS doesn't auto mount on boot when /etc/fstab entry has fs type set to auto Vaibhaw Pandey
2017-02-15 12:27 ` Carlos Maiolino
2017-02-16  3:07   ` Vaibhaw Pandey
2017-02-16  7:12     ` Vaibhaw Pandey
2017-02-16  8:57       ` Carlos Maiolino
2017-02-16 11:28         ` Vaibhaw Pandey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.