Date: Fri, 15 Jul 2005 10:25:19 +0100 From: "John Sullivan" <john@basicnets.co.uk> To: <freebsd-current@freebsd.org> Subject: howto for fsck on a snapshot - Bad file descriptor Message-ID: <20050715092528.CDC8743D48@mx1.FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Ver=FreeBSD 5.4 In my nightly security report I get a number of "Bad file descriptors" error messages in my ports directory: Checking setuid files and devices: find: /usr/ports/mail/masqmail-devel/pkg-descr: Bad file descriptor find: /usr/ports/mail/masqmail-devel/pkg-plist: Bad file descriptor find: /usr/ports/mail/masqmail-devel/files: Bad file descriptor ... I note that in section 16.13 of the FreeBSD handbook that a snapshot can be taken, repaired and replaced while the server is running. I am having trouble working out how to do this :-(. Searches on Google and the FreeBSD web site have left me with no further insight. I can mount the snapshot and run fsck against it - it corrects all of the errors but I am still left with the problems on the real partition. Does any one have a 'howto' for recovering from this situation? John Sullivan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050715092528.CDC8743D48>