You are not logged in.

#1 2012-08-22 17:58:13

DexterLB
Member
Registered: 2011-06-20
Posts: 51

systemd unmounts NFS shares in wrong order

I have an nfs export with 2 subexports (crossmnt).
When shutting down the system, systemd unmounts them in a random order, and therefore in 2/3 of the cases the root share is unmounted before a child share, and this results in a hang.
Is there a setting somewhere that fixes this, or should I file a bug report?

EDIT: forgot to mention that this is NFSv3

Thanks smile

Last edited by DexterLB (2012-08-22 18:15:25)


The best solution to a problem is usually the easiest one.

Offline

#2 2012-08-22 22:58:02

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: systemd unmounts NFS shares in wrong order

If you need this behavior, then make an explicit mount unit and add the necessary ordering.

Offline

#3 2012-08-23 06:10:28

DexterLB
Member
Registered: 2011-06-20
Posts: 51

Re: systemd unmounts NFS shares in wrong order

falconindy wrote:

If you need this behavior, then make an explicit mount unit and add the necessary ordering.

Yes, that's a nice workaround, and I'm using it, but it still doesn't solve the problem - I still have to mount all subshares explicitly, while with crossmnt it's supposed to happen automatically. And before systemd, such shares were automatically unmounted in the right order


The best solution to a problem is usually the easiest one.

Offline

Board footer

Powered by FluxBB