Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2011 21:36:51 -0400
From:      Arnaud Lacombe <lacombar@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        Garrett Cooper <yanegomi@gmail.com>, Alexander Motin <mav@freebsd.org>, Doug Barton <dougb@freebsd.org>, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: Switch from legacy ata(4) to CAM-based ATA
Message-ID:  <BANLkTikMW2iee%2Bc8Y5FhuVbgy98_eq5oxA@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1104201915110.34275@wonkity.com>
References:  <4DAEAE1B.70207@FreeBSD.org> <20110420203754.GM85668@acme.spoerlein.net> <4DAF46F8.9040004@FreeBSD.org> <BCE89DC7-116D-48E1-BD86-DF986062B0CC@samsco.org> <4DAF5FBA.8080304@FreeBSD.org> <BANLkTi=Um9Yr3jQWSmyunz6gZo=kGPVMKg@mail.gmail.com> <BANLkTimwSgFBYWW2oomdTHSbb%2BZ9HhBFUQ@mail.gmail.com> <alpine.BSF.2.00.1104201915110.34275@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Wed, Apr 20, 2011 at 9:17 PM, Warren Block <wblock@wonkity.com> wrote:
> On Wed, 20 Apr 2011, Arnaud Lacombe wrote:
>
>> On Wed, Apr 20, 2011 at 6:38 PM, Garrett Cooper <yanegomi@gmail.com>
>> wrote:
>>>
>>> On Wed, Apr 20, 2011 at 3:35 PM, Doug Barton <dougb@freebsd.org> wrote:
>>>
>>> glabel create <label> /dev/<blah>
>>
>> Just tested that with a kernel from HEAD and a 8.x userland. This does
>> not seem to survive a reboot.
>
> No, "create" makes a temporary label. =A0"label" writes a label to the la=
st
> block of the device.
>
... which does not seem be doable when the fs is mounted:

[in single-user, with only / mounted r/w and /dev]
# geom label label root /dev/ad0s1a
geom: Can't store metadata on /dev/ad0s1a: Operation not permitted.

Unfortunately, I do not have physical access to the machine. I guess
that transition will be a royal PITA for a lot of people.

Btw, you mentioned "device", I guess you meant "file-system", didn't you ?

 - Arnaud



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikMW2iee%2Bc8Y5FhuVbgy98_eq5oxA>