diskless/rm causing deadlock?

Danny Braniss danny at cs.huji.ac.il
Thu Apr 19 09:21:11 UTC 2007


> 
> --opJtzjQTFsWo+cga
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Wed, Apr 04, 2007 at 11:55:10AM +0300, Danny Braniss wrote:
> > I stumbled on this in -current, but it's also true for 6.2.
> > /(root) is mounted diskless, doing rm of a file in /, even as a lowly mor=
> tal
> > will hang the network, and hence everything.
> > on a 6.1 system, it works as expected.
> >=20
> > badwolf> rm /usr/ports
> > rm: /usr/ports: Read-only file system
> >=20
> > i'll try to hunt this down, but some pointers where to start might be
> > helpfull
> 
> Start with a tcpdump of network traffic.  CC mohans@ :)
> 
> I have seen something similar myself, but have not yet tracked it down.

it's because / is mounted NFS/V2 - so the 'bug' must be in the V2 stack.

danny




More information about the freebsd-hackers mailing list