fstab mount xfs partition

asked 2019-04-23 03:54:13 -0600

saulos gravatar image

updated 2019-04-23 04:12:08 -0600

Hi, I have problems mounting an XFS partition, some times I can't boot and I have to go to CMD and unlist the partition from fstab to be able to boot. I found that I'm missing the folders , only media is present ????? this is the line I use /dev/nvme1n1p5 /run/media/paolo/VMs xfs defaults,users 0 0

Thanks for any suggestion. My fedora is 29 and yes the XFS is clean.

edit retag flag offensive close merge delete

Comments

If you remove the /etc/fstab entry for it and mount it by hand each time the system starts, does it work?

wallyk gravatar imagewallyk ( 2019-04-23 09:48:39 -0600 )edit

Yes is working fine

saulos gravatar imagesaulos ( 2019-04-23 10:28:08 -0600 )edit

That suggests that the xfs mount is depending on something which isn't ready soon enough. Offhand, I am at a loss as to what that might be. Is /dev/nvme1n1p5 always ready? Is the mount point /run/media/paolo/VMs always there?

wallyk gravatar imagewallyk ( 2019-04-23 14:07:00 -0600 )edit
1

When the mount fails, do you get any error messages? If so, please edit your question to add them. Also, you might want to add nofail to your mount options. If I understand the man page for mount, that will prevent any errors if it fails, and allow your boot to continue.

sideburns gravatar imagesideburns ( 2019-04-23 14:27:39 -0600 )edit
2

About "unable to boot" - I suppose there has to be some sort of time-out and it will eventually boot if you want long enough.

And the point of this would be to check system logs - to find out what's happening, hopefully.

journalctl -b

will give you the system logs since last boot. A severe error might be visible in dmesg. I'd check both.

Kostya Vasilyev gravatar imageKostya Vasilyev ( 2019-04-23 14:28:09 -0600 )edit