Re: subr_kmem

2012-07-23 Thread Lars Heidieker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mindaugas, On 07/23/2012 12:55 AM, Mindaugas Rasiukevicius wrote: Hello Lars, Lars Heidieker l...@heidieker.de wrote: slight improvement on kmem(9): splitting the lookup table into two parts - this reduces the size of the lookup table -

Re: disklabel problems on 3TB disc

2012-07-23 Thread Edgar Fuß
You can put a wedge on the disk That seems to work. At least with manually created (dkctl addwedge) wedges. or put the raid on the raw disk itself. That doesn't work. It truncates the component capacity to the truncated value in the disklabel. I even tried to create (raidctl -C) the set with

pinning down dk? assignment

2012-07-23 Thread Edgar Fuß
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 /export/mail. In a GPT/wedge word, I have dk0..dk4 (on sd2..sd6) making raid1. I then have dk5 and dk6

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: disklabel problems on 3TB disc

2012-07-23 Thread Mouse
or put the raid on the raw disk itself. That doesn't work. It truncates the component capacity to the truncated value in the disklabel. That could easily just be a code bug. Back some years ago, I had occasion to (for work) set up a RAID of something like six or seven TB. The individual

re: disklabel problems on 3TB disc

2012-07-23 Thread matthew green
That could easily just be a code bug. Back some years ago, I had occasion to (for work) set up a RAID of something like six or seven TB. The individual drives were well under the 2T limit, but even so I had some 32-bit bugs to fix. It's possible there's another one in the code path that

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: disklabel problems on 3TB disc

2012-07-23 Thread Mouse
Back some years ago, I had occasion to (for work) set up a RAID of something like six or seven TB. The individual drives were well under the 2T limit, but even so I had some 32-bit bugs to fix. support for 2TB raidframe was not implemented until this comment: date: 2010/11/01 02:35:25;

re: disklabel problems on 3TB disc

2012-07-23 Thread matthew green
It's possible there were other fixes required elsewhere in the tree, but I don't think so. ah, i see. there are a few other changes that you might want to pick up, though i see that the majority of my changes were to make it handle 2TB components, though the component label should also have

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,