Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 1997 14:54:43 +0000
From:      "Riley J. McIntire" <chaos@mail.tgci.com>
To:        dmaddox@scsn.net
Cc:        questions@freebsd.org
Subject:   Re: Bad file descriptor in security check output
Message-ID:  <199703232307.PAA23405@train.tgci.com>

next in thread | raw e-mail | index | archive | help
That did it!  umount -a

I forgot to mention that I tried to  umount /dev/wd0 and got a device 
busy error.  Why was that?

Anyway thanks again everyone for the help!

Cheers,

Riley




> From:          "Donald J. Maddox" <root@rhiannon.scsn.net>
> Subject:       Re: Bad file descriptor in security check output
> To:            chaos@tgci.com
> Date:          Sun, 23 Mar 1997 17:25:15 -0500 (EST)
> Reply-to:      dmaddox@scsn.net

> > >     You need to do this in single-user mode...  The 'schg' flag cannot
> > > be overridden even by root in multi-user mode.
> > > 
> > > 
> > >                                             Donald J. Maddox
> > >                                             (dmaddox@scsn.net)
> > 
> > 
> > Ok, went to single user (I've done most of the above in this mode, 
> > but just to double check) and did the following:
> > 
> > in /usr/lost+found
> > 
> > chflags noschg *
> > 
> > then did a fsck and rebooted--regained a couple files that had disappear earlier.
> > 
> > Tried rm -i '#'*  which got rid of the resurrected files and left the 
> > problem files
> > 
> > Did ls -i, got inodes and clri /dev/wd0s2f nnnnn
> > 
> > Got device busy error.
>   ^^^^^^^^^^^^^^^^^^^^^
>   You need to unmount the drive ---  `umount -a`
> 
>   Looks like you're on the right track...  I would just
> suggest that you repeat *all* of this in single-user mode
> with the drives unmounted.  
> 
>  I know how frustrating this kind of thing can be, and it's
> not easy to trouble-shoot via email either.  Good luck :-)
> 
> > 
> > clri /dev/wd0 nnnnn got this error:
> > 
> > /dev/wd0 superblock magic number 0xce0039, not 0x11954
> > 
> > I do appreciate the help--this isn't (apparently) really critical, 
> > but I'd really like to resolve it one way or another.
> > 
> > Cheers,
> > 
> > Riley
> > 
> 
> -- 
> 
> 
>                                             Donald J. Maddox
>                                             (dmaddox@scsn.net)
> 
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703232307.PAA23405>