Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2011 22:26:22 -0400 (EDT)
From:      Benjamin Kaduk <kaduk@MIT.EDU>
To:        Arnaud Lacombe <lacombar@gmail.com>
Cc:        Warren Block <wblock@wonkity.com>, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: Switch from legacy ata(4) to CAM-based ATA
Message-ID:  <alpine.GSO.1.10.1104202220460.19944@multics.mit.edu>
In-Reply-To: <BANLkTikMW2iee%2Bc8Y5FhuVbgy98_eq5oxA@mail.gmail.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> <BANLkTikMW2iee%2Bc8Y5FhuVbgy98_eq5oxA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-1219639937-1303352782=:19944
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Wed, 20 Apr 2011, Arnaud Lacombe wrote:

> 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 l=
ast
>> 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.

As an anti-foot-shooting measure, this is blocked unless the flag sysctl=20
kern.geom.debugflags |=3D 16 is set

>
> 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 =
?

The label is on the device, using space that is (hopefully) left over=20
after the filesystem's allocation.

-Ben Kaduk
---559023410-1219639937-1303352782=:19944--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.1.10.1104202220460.19944>