Where's my disk?

Warren Block wblock at wonkity.com
Sat Jun 4 13:09:58 UTC 2011

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 at 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.


More information about the freebsd-questions mailing list