fsck unable to read disk sectors

Matt Thyer matt.thyer at gmail.com
Mon May 17 13:24:18 UTC 2010


On 12 May 2010 11:16, Bernd Walter <ticso at cicely7.cicely.de> wrote:
>
> On Tue, May 11, 2010 at 10:15:13PM +0200, Alexander Best wrote:
> > i've posted a log here which is pretty self explanatory:
> >
> > http://pastebin.com/tn3NiDDW
> >

[snip]

>
> One of the typical problems users have is that they forget that
> adding a label takes one sector, so the labeled device is smaller.
> This is no problem if you create the filesystem on the labeled
> drive, but often enough people add the label after creating the
> filesystem.

FreeBSD's utilities should be able to detect this situation and either
correct the filesystem size or refuse to apply the label.

> Everything seems to work fine until the FS decides to use that special
> sector.
> I wouldn't add a label for ufs anyway, since UFS has labeling itself,
> which is also handled by glabel module and doesn't require extra space.
> Just setup the ufs label with tunefs -L and use the resulting /dev/ufs/...
> device.
> You only need extra label for swap, but this is not problem, since
> it has no persistent ondisk structures.
>

[snip]

> --
> B.Walter <bernd at bwct.de> http://www.bwct.de
> Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"


More information about the freebsd-current mailing list