Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13020 - remote fs unmounting should be executed after localfs's are in read-only.
Summary: remote fs unmounting should be executed after localfs's are in read-only.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-01 09:33 UTC by Peter Jönsson / d-iZe
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jönsson / d-iZe 2003-01-01 09:33:39 UTC
Noticed one thing while using nfs:
If a mounted nfs-filesystem gets locked(server goes down) and there's no way to
unmount it so you have to shutdown/reboot your client.
When the shutdown/reboot scripts are trying to unmount the nfs-filesystem and
then locks the shutdown which forces you to do a hard-reset, in that case
wouldn't it be better if it remounted the local filesystems as "read-only"
before trying to unmount nfs-filesystems to minimize risk of corruption.
Comment 1 SpanKY gentoo-dev 2003-01-01 16:08:00 UTC
this could apply to more than just nfs
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-02 15:59:09 UTC
No can do ... all the daemons need writable /.  Compile in magic sysrq keys into your kernel, then you can sync and mount all filesystems readonly if that happens.