glabel nor tunefs save my labels

Roland Smith rsmith at xs4all.nl
Mon May 10 21:57:59 UTC 2010


On Mon, May 10, 2010 at 11:36:20PM +0200, Demelier David wrote:
> On Mon, May 10, 2010 at 11:08:30PM +0200, Roland Smith wrote:
> > On Mon, May 10, 2010 at 10:26:18PM +0200, Demelier David wrote:
> > > Hi,
> > > 	I was trying to follow this guide to make labels :
> > > 	http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html
> > > 
> > > 	It does not work here, I boot single user and ran these commands :
> > > 	glabel label usr /dev/ad0s1f
> > 
> > Do not use this on an already existing filesystem! Use tunefs instead;
> > 
> >     tunefs ‐L usr /dev/ad0s1f
> > 
> 
> I tried this and in single-user mode there were 
> 
>     root root(a|e|b|d|f) usr tmp var
> 
> and I typed exit, it boots, and then no more entries in /dev/ufs ! And now there
> is only tmp and var in /dev/vol. I'm so confused now.

I do not really understand what you are trying to say here?

Does 'tunefs ‐p /dev/ad0s1f' show that the label exists?

You should know that a label in /dev/ufs and /dev/ufsid is removed as soon as
the filesystem is mounted!

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100510/197323c7/attachment-0001.pgp


More information about the freebsd-questions mailing list