Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2008 12:55:31 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        vadim_nuclight@mail.ru
Cc:        freebsd-geom@freebsd.org
Subject:   Re: partition covering the whole slice [repost]
Message-ID:  <494637A3.9080807@icyb.net.ua>
In-Reply-To: <slrngjq4qk.1sqb.vadim_nuclight@server.filona.x88.info>
References:  <4939287C.3020208@icyb.net.ua> <slrngjq4qk.1sqb.vadim_nuclight@server.filona.x88.info>

next in thread | previous in thread | raw e-mail | index | archive | help
on 08/12/2008 14:30 Vadim Goncharov said the following:
> Yes, of course. You should not intermix using glabel(8) utilizing /dev/ufs
> (via tunefs) and bsdlabel partition starting from offset 0. This is because
> glabel can't distinguish is that slice or partition - with offset 0 superblock
> will be at the same position.
> 
> You can try to erase bsdlabel completely (if this is not your boot partition)
> from the slice and use filesystem directly from the slice. This will not affect
> mount as you're already using labels.
> 
> The other way will require shrinking-then-moving partition on the disk and
> editing disklabel, better done with newfs(8).

Vadim,

thanks a lot for the explanation and the advice.
I used gpart destroy to remove bsdlabel and now I have filesystems
covering the whole slices. This works well.


-- 
Andriy Gapon



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