Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 May 2011 19:13:44 -1000
From:      bruce@hawaii-pacific.com
To:        freebsd-stable@freebsd.org
Subject:   Re: setting usb disc to da1
Message-ID:  <4DCF6108.1060403@hawaii-pacific.com>
In-Reply-To: <099343A5-890F-464D-89DF-593DB7C651FF@gsoft.com.au>
References:  <4DCC5358.4050705@chef-ingenieur.de>	<34458417-0D7A-493E-8C52-F3095000D764@gsoft.com.au>	<4DCE9A88.2030500@chef-ingenieur.de> <099343A5-890F-464D-89DF-593DB7C651FF@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DCF6108.1060403>