Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2011 16:11:38 +0300
From:      nickolasbug@gmail.com
To:        Matthias Andree <matthias.andree@gmx.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: labelling root file system (RELENG_8)
Message-ID:  <BANLkTimBYL8e2y86m7GZv5U8hdok3KR%2B=w@mail.gmail.com>
In-Reply-To: <4DEF7322.8030907@gmx.de>
References:  <4DEF7322.8030907@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
1. Change your root fstab record to /dev/ada0s4a (not label!), reboot
to single mode and try to re-label partition.


2. Try boot from live CD or installation CD (fixup console) and label
file system without mounting


2011/6/8 Matthias Andree <matthias.andree@gmx.de>:
> Greetings,
>
> I've tried to re-label an existing (and up to date) 8-STABLE
> installation's root partition. =A0This failed, tunefs reports it cannot
> write the super block.
>
> I have attempted this sequence:
>
> 1. reboot (through BIOS and loader) directly into single-user mode
> (boot -s)
> 2. sysctl kern.geom.debugflags=3D16
> 3. tunefs -L root /dev/ada0s4a =A0 =A0# that's the dev I mount the root
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# part=
ition from
>
> Still no joy =3D> tunefs cannot update the super block.
>
> Remounting / as rw doesn't help, as expected.
>
> The root fs uses softupdates but no journalling -- what other hoops do I
> need to jump through to create labels for my root ufs file system?
>
> Thanks.
>
> Best regards,
> Matthias
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>

-------
wbr,
Nickolas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimBYL8e2y86m7GZv5U8hdok3KR%2B=w>