Re: pinning down dk? assignment

2012-08-12 Thread Thomas Klausner
On Mon, Jul 23, 2012 at 04:21:55PM +0200, Martin Husemann wrote: You can mount them by name. I have (on my non-GPT root disk): NAME=sb2k5Root/a/ ffs rw,log 1 1 NAME=sb2k5Root/bnoneswapsw,dp0 0 in /etc/fstab. With gpt you can label the

Re: pinning down dk? assignment

2012-07-24 Thread Christos Zoulas
In article julcud$9sd$1...@serpens.de, Michael van Elst mlel...@serpens.de wrote: Let wd1 disappear and the raid will try to use wd0a (dk0) and sd0a (dk1). Of course raidframe will notice the mismatch in this case, but you can easily imagine more complex scenarios where it doesn't. But a simple

Re: pinning down dk? assignment

2012-07-24 Thread Mouse
Let wd1 disappear and the raid will try to use wd0a (dk0) and sd0a (dk1). This is one reason to use autoconfigured RAIDs when you can. They are far more immune (completely immune, in my experience) to confusion from disks attaching in new orders or at new places. /~\ The ASCII

Re: pinning down dk? assignment

2012-07-24 Thread Michael van Elst
mo...@rodents-montreal.org (Mouse) writes: This is one reason to use autoconfigured RAIDs when you can. They are far more immune (completely immune, in my experience) to confusion from disks attaching in new orders or at new places. True, but raid autoconfig is only done at boot time. -- --

Re: pinning down dk? assignment

2012-07-24 Thread Mouse
This is one reason to use autoconfigured RAIDs when you can. They are far more immune (completely immune, in my experience) to confusion from disks attaching in new orders or at new places. True, but raid autoconfig is only done at boot time. Also true. Perhaps there should be some kind of

Re: pinning down dk? assignment

2012-07-23 Thread Martin Husemann
On Mon, Jul 23, 2012 at 04:17:21PM +0200, Edgar Fuß wrote: Can I somehow pin down which dk? gets assigned to which GPT partition? You can mount them by name. I have (on my non-GPT root disk): NAME=sb2k5Root/a/ ffs rw,log 1 1 NAME=sb2k5Root/bnoneswap

Re: pinning down dk? assignment

2012-07-23 Thread Greg Troxel
Martin Husemann mar...@duskware.de writes: On Mon, Jul 23, 2012 at 04:17:21PM +0200, Edgar Fuß wrote: Can I somehow pin down which dk? gets assigned to which GPT partition? You can mount them by name. I have (on my non-GPT root disk): NAME=sb2k5Root/a/ ffs rw,log

Re: pinning down dk? assignment

2012-07-23 Thread Martin Husemann
On Mon, Jul 23, 2012 at 10:24:38AM -0400, Greg Troxel wrote: Thanks - I had no idea. This seems to be missing from the documentation. Is it new? You can find it in fstab(5), but I guess a few hints in wedge related man pages would not hurt. It is not very new, -6 should have it as well.

Re: pinning down dk? assignment

2012-07-23 Thread Edgar Fuß
You can find it in fstab(5) Not in 6.0_BETA. It is not very new, -6 should have it as well. Does it? the only special handling of fs_spec I could find in sbin/mount/mount.c was ``from_mount'', whatever that is.

Re: pinning down dk? assignment

2012-07-23 Thread Christos Zoulas
In article 20120723141721.gj4...@trav.math.uni-bonn.de, Edgar Fuß e...@math.uni-bonn.de wrote: Can I somehow pin down which dk? gets assigned to which GPT partition? In a disklabel world, I have components sd2a..sd6a making raid1. I then have raid1a mounted on /export/home and raid1e on

Re: pinning down dk? assignment

2012-07-23 Thread Edgar Fuß
Use NAME=guid or NAME=underlying-device-name instead of /dev/dkX for the fs_spec field. Yes, but someone would have to pull-up that to 6.0. 6.0 has src/bin/mount/mount.c 1.94 and NAME= was introduced in 1.95.

Re: pinning down dk? assignment

2012-07-23 Thread Michael van Elst
g...@ir.bbn.com (Greg Troxel) writes: NAME=3Dsb2k5Root/a/ ffs rw,log 1 1 NAME=3Dsb2k5Root/bnoneswapsw,dp0 0 in /etc/fstab. With gpt you can label the partitions with arbitrary names (instead of the disklabel volume name/partition that I

Re: pinning down dk? assignment

2012-07-23 Thread Edgar Fuß
It probably won't help you with raidframe. It would indeed help in my case. In case sd6 has gone missing, so dk4 is on the RAID and not on sd6, it would prevent the wrong filesystem being mounted for dk5.

Re: pinning down dk? assignment

2012-07-23 Thread Michael van Elst
e...@math.uni-bonn.de (=?iso-8859-1?Q?Edgar_Fu=DF?=) writes: It probably won't help you with raidframe. It would indeed help in my case. In case sd6 has gone missing, so dk4 is on the RAID and not on sd6, it would prevent the wrong filesystem being mounted for dk5. I was refering to the

Re: pinning down dk? assignment

2012-07-23 Thread Christos Zoulas
In article juk971$qpi$1...@serpens.de, Michael van Elst mlel...@serpens.de wrote: e...@math.uni-bonn.de (=?iso-8859-1?Q?Edgar_Fu=DF?=) writes: It probably won't help you with raidframe. It would indeed help in my case. In case sd6 has gone missing, so dk4 is on the RAID and not on sd6, it would

Re: pinning down dk? assignment

2012-07-23 Thread Michael van Elst
chris...@astron.com (Christos Zoulas) writes: In article juk971$qpi$1...@serpens.de, Michael van Elst mlel...@serpens.de wrote: e...@math.uni-bonn.de (=?iso-8859-1?Q?Edgar_Fu=DF?=) writes: It probably won't help you with raidframe. It would indeed help in my case. In case sd6 has gone missing,