Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Mar 2005 17:39:55 -0800
From:      John Pettitt <jpp@cloudview.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Stable device names for USB disks?
Message-ID:  <42266AEB.8070500@cloudview.com>
In-Reply-To: <20050303000414.GF77052@dan.emsphone.com>
References:  <42264DC5.6030409@cloudview.com> <20050303000414.GF77052@dan.emsphone.com>

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


Dan Nelson wrote:

>In the last episode (Mar 02), John Pettitt said:
>  
>
>>I seem to recall there was a neat trick involving GEOM to allow USB
>>disks to be mounted in the same place every time the system boots but I
>>can't find it.   Right now my system (5.3 RELEASE) seems to being a
>>random da? device for each drive that changes with every reboot -
>>clearly not a good situation.
>>
>>Does anybody have a fix for this?
>>    
>>
>
>Two options:  
>
>- Wire your devices down (man scsi) so that your usb controller is
>  always, say, scbus1, and target 0 off scbus1 is da1.  You may also
>  have to wire down your boot controller and disk.
>
>- Use geom_label, label your FAT32 or ufs filesystems, and always mount
>  /dev/msdosfs/blah or /dev/ufs/blah
>  
>

Very cool - I built a stripe set whihc is showing up fine a
/dev/stripe/data2 but I can't get a single volume to show up

I did tunefs -L data /dev/da1s1d - added GEOM_LABEL to the kernel
config, rebuilt and rebooted but no /dev/ufs appears - what am I missing?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42266AEB.8070500>