glabel(8) a gmirror(8) doesn't work
sonicy at otenet.gr
Wed Jun 10 09:25:12 UTC 2009
Valentin Bud wrote:
> On Wed, Jun 10, 2009 at 9:58 AM, Wojciech Puchar <
> wojtek at wojtek.tensor.gdynia.pl> wrote:
>>> 1. reboot to single user
>>> 2. mount -a
>>> 3. tunefs -L var /dev/mirror/system0s1d
>>> This commands exits with "Failed to write superblock".
>> replace mount -a with mount /
>> you can't write directly to partition which is mounted mounted
> Thanks this time it worked. I am almost sure (99%) I've tried that already
> yesterday but the 1% wins.
> One more question can i label the / partition. I have the same error when i
> to label it.
You should be able to. Just reboot into single user mode and *do not*
enter any mount commands. The / partition is mounted read only in this
case, and tunefs -L will succeed.
More information about the freebsd-questions