From owner-freebsd-questions Wed Oct 25 14:38:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay2.inwind.it (relay2.inwind.it [212.141.53.73]) by hub.freebsd.org (Postfix) with ESMTP id 9EB5237B4C5 for ; Wed, 25 Oct 2000 14:38:53 -0700 (PDT) Received: from bartequi.ottodomain.org (62.98.154.32) by relay2.inwind.it (5.1.046) id 39CB0979008BB953; Wed, 25 Oct 2000 23:38:13 +0200 From: Salvo Bartolotta Date: Wed, 25 Oct 2000 22:39:44 GMT Message-ID: <20001025.22394400@bartequi.ottodomain.org> Subject: Re: FSCK & "No write access" To: John Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <4.3.2.7.2.20001025171553.00ae5880@mail.udel.edu> References: <4.3.2.7.2.20001025171553.00ae5880@mail.udel.edu> X-Mailer: SuperCalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 10/25/00, 10:19:59 PM, John wrote regarding FSCK &= =20 "No write access": > Hi all, > Out of curiosity and for sake of just checking my system to see how it= =20 was > doing, I was attempting to run fsck, but I am getting errors as shown = here: > merlin# fsck -fp /usr > /dev/da0g: NO WRITE ACCESS > /dev/da0g: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. > Some may ask why I was trying to use the -f, and the answer is that I = was > only trying that after I had the same results with just a -p. So, in > tooling around I thought to look at the /etc/fstab, which looks ok: > merlin# cat /etc/fstab > # Device Mountpoint FStype Options Dump = =20 Pass# > /dev/da0b none swap sw 0 = =20 0 > /dev/da0a / ufs rw 1 = =20 1 > /dev/da0e /cvs ufs rw 2 = =20 2 > /dev/da0g /usr ufs rw 2 = =20 2 > /dev/da0f /var ufs rw,nosuid 2 = =20 2 > proc /proc procfs rw 0 = =20 0 > /dev/cd0c /cdrom cd9660 ro,noauto 0 = =20 0 > /dev/da1c /home ufs rw,nosuid 0 = =20 0 > If I try to run fsck without any switches, I still get a read-only=20 message: > merlin# fsck /usr > ** /dev/da0g (NO WRITE) > (etc). Surely you have done this upon your **unmounted** filesystems (eg=20 right after booting in single user mode)? Best regards, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message