setting usb disc to da1

Bruce Meier bruce at hawaii-pacific.com
Sun May 15 18:23:10 UTC 2011


bruce at hawaii-pacific.com wrote:
> Daniel O'Connor wrote:
>> On 15/05/2011, at 24:36, Thomas Krause wrote:
>>
>>> I'm not sure with /boot/devices.hint. Could you give me a hint, how to
>>> set
>>>
>>> # camcontrol devlist
>>> <AMCC 9500S-4LP  DISK 2.08>         at scbus0 target 0 lun 0 
>>> (da0,pass0)
>>> <Samsung G3 Station>               at scbus1 target 0 lun 0 (pass1,da1)
>>>
>>> the Samsung G3 permanently to da1 (the AMCC must be da0).
>>> (This is a productive system and I don't want to do tests ...)
>>>
>> I think the following will work..
>>
>> hint.scbus.0.at="twa0"
>> hint.da.0.at="scbus1"
>>
>> hint.scbus.1.at="umass-sim0"
>> hint.da.1.at="scbus0"
>>
>> Unfortunately I can't check the system I tested this on at the moment.
>>
>> I would strongly suggest you use glabel&  UFS IDs (or GPT IDs if you 
>> used GPT when installing) in fstab rather than wiring device nodes.
>>
>> -- 
>> Daniel O'Connor software and network engineer
>> for Genesis Software - http://www.gsoft.com.au
>> "The nice thing about standards is that there
>> are so many of them to choose from."
>>    -- Andrew Tanenbaum
>> GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> freebsd-stable at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to 
>> "freebsd-stable-unsubscribe at freebsd.org"
>>
>>
> I think I have an answer to your problem.  "man glabel".
>
> Backup all data first!
>
> glabel label -v usr /dev/da1
>            newfs /dev/label/usr
>            mount /dev/label/usr /usr
>            [...]
>            umount /usr
>            glabel stop usr
>            glabel unload
>
> I got that unload is unavailable but it everything worked for me.  
> Check the man page.  Hope this helps.
>
> Bruce
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>
After testing, it made no difference.


More information about the freebsd-stable mailing list