Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2011 07:09:54 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        =?ISO-8859-15?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org>
Cc:        "questions@FreeBSD.org Questions" <questions@freebsd.org>, Polytropon <freebsd@edvax.de>
Subject:   Re: Where's my disk?
Message-ID:  <alpine.BSF.2.00.1106040703070.32054@wonkity.com>
In-Reply-To: <4DE9F6FC.7060705@locolomo.org>
References:  <4DE9ED56.9020504@locolomo.org> <20110604104812.dfbf2888.freebsd@edvax.de> <4DE9F6FC.7060705@locolomo.org>

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.

---902635197-1807335974-1307192994=:32054
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

On Sat, 4 Jun 2011, Erik Nørgaard wrote:

> On 4/6/11 10:48 AM, Polytropon wrote:
>> On Sat, 04 Jun 2011 10:31:18 +0200, Erik Nørgaard<norgaard@locolomo.org> 
>> wrote:
>>> The first problem is that I have no idea how my disk will be recognized,
>>> now the root partition is on /dev/ad6s1a.
>> 
>> A good approach is to apply a label or use the UFSID of
>> the partitions (which don't depend on controller position)
>> instead of the device names.
>
> Thanks, I tried to add labels, and all file systems are labeled, except the 
> root file system, it gives an error
>
> alpha# tunefs -L root /dev/ad6s1a
> tunefs: /dev/ad6s1a: failed to write superblock

The filesystem has to be unmounted or mounted ro to set a label.

http://www.wonkity.com/~wblock/docs/html/labels.html
---902635197-1807335974-1307192994=:32054--



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