[systemd-devel] XFS Mount issues (multiple mount concurrency issue?)

Colin Guthrie gmane at colin.guthr.ie
Fri Sep 14 01:59:35 PDT 2012


'Twas brillig, and Peter Lemenkov at 14/09/12 09:55 did gyre and gimble:
> Hello!
> 
> 2012/9/11 Colin Guthrie <gmane at colin.guthr.ie>:
>> Hi guys.
>>
>> Quick straw poll: Has anyone had issues mounting XFS partitions on boot?
>> I have a user who has several and one usually mounts fine the the others
>> do not. When in the emergency shell they all mount fine manually.
> 
> This sounds pretty much the same as what I've been stuck with! See this thread:
> 
> http://thread.gmane.org/gmane.comp.sysutils.systemd.devel/5244
> 
> Also I found this today in the journal logs:
> 
> [root at nostromo ~]# systemctl status partition1.mount
> partition1.mount - Partition no.1
> 	  Loaded: loaded (/etc/systemd/system/partition1.mount; enabled)
> 	  Active: failed (Result: exit-code) since Fri, 14 Sep 2012 08:42:01
> +0400; 13min ago
> 	   Where: /media/partition1
> 	    What: UUID="5ace7388-bccb-439f-ac03-2a51046ff9a8"
> 	 Process: 343 ExecMount=/bin/mount
> UUID="5ace7388-bccb-439f-ac03-2a51046ff9a8" /media/partition1 -t xfs
> -o defaults,noatime,nodiratime,rw (code=exited, status=32)
> 	  CGroup: name=systemd:/system/partition1.mount
> 
> Sep 14 08:42:01 nostromo mount[343]: mount: unknown filesystem type 'xfs'

Yup, for the guy I was speaking with, putting "xfs" in
/etc/modprobe.preload.d/xfs worked around the issue nicely. I believe
from what Kay said the real fix is in the kernel/libkmod, so separate
from systemd specifically. Gotta love the problems that result from full
async :)

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the systemd-devel mailing list