Re: fixating USB Storage

2012-02-29 Thread Maciej Milewski
Dnia wtorek, 28 lutego 2012 15:32:18 bsali...@gmail.com pisze: Maciej I didn't know if the label would work in loader.conf. This solution suggested by Adam worked and seems much simpler than labeling the filesystem. Depends on your needs. For me it was essential to have the same name of

Re: fixating USB Storage

2012-02-29 Thread Robert Huff
Polytropon writes: Label the drives and use labels instead of device names. Get some inspiration from Warren's excellent article here: http://www.wonkity.com/~wblock/docs/html/disksetup.html Good piece, but it doesn't explicitly cover one case and man provides no example.

Re: fixating USB Storage

2012-02-29 Thread Warren Block
On Wed, 29 Feb 2012, Robert Huff wrote: Polytropon writes: Label the drives and use labels instead of device names. Get some inspiration from Warren's excellent article here: http://www.wonkity.com/~wblock/docs/html/disksetup.html Good piece, but it doesn't explicitly cover one

disk labels (was: Re: fixating USB Storage)

2012-02-29 Thread Robert Huff
Warren Block writes: I have a disk - ad1 - with a partition - p2 - that was (obviously) created by gpart ... but no label was attached. Can I add a label to that partition later? man gpart only shows a label being added when the partition is created, (untested) # gpart

Re: fixating USB Storage

2012-02-29 Thread Polytropon
On Wed, 29 Feb 2012 07:55:35 -0700 (MST), Warren Block wrote: I really need to do a combined article that covers all the different types of labels. It's on the list. Please be so kind and also mention ufsid labels (unique file system id) in that article. Why? Any partitions with

Re: disk labels (was: Re: fixating USB Storage)

2012-02-29 Thread ill...@gmail.com
On 29 February 2012 10:33, Robert Huff roberth...@rcn.com wrote: Warren Block writes:      I have a disk - ad1 - with a partition - p2 - that was   (obviously) created by gpart ... but no label was attached.      Can I add a label to that partition later?  man gpart only   shows a label

Re: disk labels (was: Re: fixating USB Storage)

2012-02-29 Thread Warren Block
On Wed, 29 Feb 2012, Robert Huff wrote: Warren Block writes: I have a disk - ad1 - with a partition - p2 - that was (obviously) created by gpart ... but no label was attached. Can I add a label to that partition later? man gpart only shows a label being added when the partition is

Re: disk labels (was: Re: fixating USB Storage)

2012-02-29 Thread Warren Block
On Wed, 29 Feb 2012, ill...@gmail.com wrote: On 29 February 2012 10:33, Robert Huff roberth...@rcn.com wrote: Warren Block writes:      I have a disk - ad1 - with a partition - p2 - that was   (obviously) created by gpart ... but no label was attached.      Can I add a label to that

Re: fixating USB Storage

2012-02-28 Thread bsali...@gmail.com
The real issue is that the USB boot device sits at da16 and if any of the da members below da16 drops, the usb boot device becomes da15 at next boot. The loader.conf still looks at da6 for root device and that is not present. How to solve this issue?

Re: fixating USB Storage

2012-02-28 Thread Polytropon
On Tue, 28 Feb 2012 07:41:29 -0800, bsali...@gmail.com wrote: The real issue is that the USB boot device sits at da16 and if any of the da members below da16 drops, the usb boot device becomes da15 at next boot. The loader.conf still looks at da6 for root device and that is not present. How

Re: fixating USB Storage

2012-02-28 Thread bsali...@gmail.com
Thanks, I got the part where you can label the partitions but the loader doesn't look at labels. Loader looks at ufs:/dev/da0 So how can this be resolved at boot time (not mount time). Thanks. On Tue, Feb 28, 2012 at 8:30 AM, Polytropon free...@edvax.de wrote: Label the drives and use

Re: fixating USB Storage

2012-02-28 Thread Adam Vande More
On Tue, Feb 28, 2012 at 9:41 AM, bsali...@gmail.com bsali...@gmail.comwrote: The real issue is that the USB boot device sits at da16 and if any of the da members below da16 drops, the usb boot device becomes da15 at next boot. The loader.conf still looks at da6 for root device and that is not

Re: fixating USB Storage

2012-02-28 Thread bsali...@gmail.com
Adam, This worked like a charm :-) I found that my umass-sim0 is at scbus6 and added following lines in loader.conf hint.scbus.6.bus=umass-sim0 hint.da.0.at=scbus6 hint.da.0.target=0 hint.da.0.unit=0 Thanks a lot. On Tue, Feb 28, 2012 at 1:23 PM, Adam Vande More amvandem...@gmail.com wrote:

Re: fixating USB Storage

2012-02-28 Thread Maciej Milewski
Dnia wtorek, 28 lutego 2012 13:08:04 bsali...@gmail.com pisze: Thanks, I got the part where you can label the partitions but the loader doesn't look at labels. Loader looks at ufs:/dev/da0 So how can this be resolved at boot time (not mount time). Thanks.

Re: fixating USB Storage

2012-02-28 Thread bsali...@gmail.com
Maciej I didn't know if the label would work in loader.conf. This solution suggested by Adam worked and seems much simpler than labeling the filesystem. hint.da.0.at=scbus6 Thanks. On Tue, Feb 28, 2012 at 2:21 PM, Maciej Milewski m...@dat.pl wrote: vfs.root.mountfrom=ufs:/dev/label/bigdisk

Re: fixating USB Storage

2012-02-04 Thread Mike Clarke
On Saturday 04 February 2012, Conrad J. Sabatier wrote: I don't know if anyone else has already mentioned it to you in response to this question, but I just very recently switched over to using volume labels to mount my partitions instead of device names.  I was having an ongoing issue where

Re: fixating USB Storage

2012-02-04 Thread Jonathan Vomacka
On Feb 4, 2012 4:54 AM, Mike Clarke jmc-freeb...@milibyte.co.uk wrote: On Saturday 04 February 2012, Conrad J. Sabatier wrote: I don't know if anyone else has already mentioned it to you in response to this question, but I just very recently switched over to using volume labels to mount

Re: fixating USB Storage

2012-02-04 Thread Mike Clarke
On Saturday 04 February 2012, Jonathan Vomacka wrote: On Feb 4, 2012 4:54 AM, Mike Clarke jmc-freeb...@milibyte.co.uk wrote: ? Sounds similar to my experience. Normally my internal 4 slot memory card reader is assigned devices da[0-3] and when the USB memory stick is inserted it comes up

Re: fixating USB Storage

2012-02-03 Thread Conrad J. Sabatier
On Thu, 2 Feb 2012 16:41:39 -0800 bsali...@gmail.com bsali...@gmail.com wrote: Please ignore, I forgot that I asked this before. Thanks. On Thu, Feb 2, 2012 at 4:38 PM, bsali...@gmail.com bsali...@gmail.com wrote: Hi, How can I fix a USB storage device to always have the same device

Re: fixating USB Storage

2012-02-02 Thread bsali...@gmail.com
Please ignore, I forgot that I asked this before. Thanks. On Thu, Feb 2, 2012 at 4:38 PM, bsali...@gmail.com bsali...@gmail.com wrote: Hi, How can I fix a USB storage device to always have the same device name such as da9 irrespective of other da? devices present. Here is the device #