Bug 197792

Summary: When attempting to mount a filesystem read-only the system hangs.
Product: Base System Reporter: Mark Redding <ictmanager>
Component: binAssignee: Fernando ApesteguĂ­a <fernape>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: fernape
Priority: ---    
Version: 10.1-RELEASE   
Hardware: Any   
OS: Any   

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.