Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2011 15:09:17 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: how do i fsck my server?
Message-ID:  <20110620150917.b97c3e5e.freebsd@edvax.de>
In-Reply-To: <20110618053100.GA16059@thought.org>
References:  <20110615195027.GA1196@thought.org> <E72360F6-9DC3-4D6A-BD3E-E23D0E7E79E1@mac.com> <20110618053100.GA16059@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Jun 2011 22:31:00 -0700, Gary Kline wrote:
> 	right.  i booted into single-user and fsck still gave me the NO
> 	WRITE response; then i did a
> 
> 	# shutdown now to get a # prompt in single-user and got the same
> 	NO WRITE.  Only it did fix the errors.  dunno... strange.

This isn't succicient as whem going MUM -> SUM the file systems
will stay mounted. To be sure, _start_ the system in SUM 8select
the proper item from the boot menu, or use "boot -s" at the
loader prompt). In this mode, only / will be mounted ro, all
other partitions won't be mounted and can therefore be checked
AND modified.

Of course, you can also boot the system from a live system CD
and issue the fsck commands from there, using the device names
instead of the mountpoints.

After successfully repairing the partitions, they will be marked
clean. At next system startup, there won't be a long fsck run.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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