Bug 197792 - When attempting to mount a filesystem read-only the system hangs.
Summary: When attempting to mount a filesystem read-only the system hangs.
Status: Closed Feedback Timeout
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-18 17:31 UTC by Mark Redding
Modified: 2023-01-24 16:25 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Redding 2015-02-18 17:31:50 UTC
I have a number of machines that have a /usr partition mounted read-only upon startup. In order to apply patches to them I have to remount the partition read-write. After applying patches I then wish to remount read-only. This final step causes the system to become unresponsive.

# mount -o rw -u /usr
# freebsd-update fetch
# freebsd-update install
# mount -o ro -u /usr

My ssh session ceases to respond and I am unable to establish a new ssh session. Breaking out using Ctrl+Z and putting the command into the background does not allow me to use the existing session.

However, remotely, the machine can still be pinged.
Comment 1 Andriy Gapon freebsd_committer freebsd_triage 2015-02-19 10:53:17 UTC
Try to obtain to a kernel stack trace of the mount process by using procstat -kk <pid>.
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2023-01-24 16:25:14 UTC
This is not a FreeBSD supported release anymore.