Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2008 18:10:02 GMT
From:      "Richard Bejtlich" <taosecurity@gmail.com>
To:        freebsd-geom@FreeBSD.org
Subject:   Re: kern/120231: [geom] GEOM_CONCAT error adding second drive
Message-ID:  <200807281810.m6SIA2CG019877@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/120231; it has been noted by GNATS.

From: "Richard Bejtlich" <taosecurity@gmail.com>
To: "Ulf Lilleengen" <lulf@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/120231: [geom] GEOM_CONCAT error adding second drive
Date: Mon, 28 Jul 2008 13:35:19 -0400

 On Sun, Jul 27, 2008 at 10:34 AM, Ulf Lilleengen <lulf@freebsd.org> wrote:
 > Hello,
 >
 > As I can see it, the reason for your problem can be that since ad5s1d is
 > spanned across the whole disk, gconcat can't see the difference between ad5s1
 > and ad5s1d, and thus tries to attach ad5s1 as the disk to the 'nsm' provider.
 > (Error 17 as you get, means that the drive is already added). Could you
 > perhaps provide bsdlabel ad5s1 output?
 >
 > --
 > Ulf Lillengen
 >
 
 Hi Ulf,
 
 I don't have that exact box available, but here's another box where I
 implemented the same workaround.
 
 # mount
 /dev/ad2s1a on / (ufs, local)
 devfs on /dev (devfs, local)
 /dev/ad2s1e on /home (ufs, local, soft-updates)
 /dev/concat/nsm on /nsm (ufs, local)
 /dev/ad2s1f on /tmp (ufs, local, soft-updates)
 /dev/ad3s1d on /tmp2 (ufs, local, soft-updates)
 /dev/ad2s1d on /usr (ufs, local, soft-updates)
 /dev/ad2s1g on /var (ufs, local, soft-updates)
 
 # cat /etc/fstab
 # Device                Mountpoint      FStype  Options         Dump    Pass#
 /dev/ad2s1b             none            swap    sw              0       0
 /dev/ad2s1a             /               ufs     rw              1       1
 /dev/ad2s1e             /home           ufs     rw              2       2
 #/dev/ad2s1h            /nsm1           ufs     rw              2       2
 #/dev/ad3s1e            /nsm2           ufs     rw              2       2
 /dev/concat/nsm         /nsm            ufs     rw              2       2
 /dev/ad2s1f             /tmp            ufs     rw              2       2
 /dev/ad3s1d             /tmp2           ufs     rw              2       2
 /dev/ad2s1d             /usr            ufs     rw              2       2
 /dev/ad2s1g             /var            ufs     rw              2       2
 /dev/acd0               /cdrom          cd9660  ro,noauto       0       0
 
 # bsdlabel /dev/ad3s1
 # /dev/ad3s1:
 8 partitions:
 #        size   offset    fstype   [fsize bsize bps/cpg]
   c: 312496317        0    unused        0     0         # "raw" part,
 don't edit
   d:  1048576        0    4.2BSD     2048 16384     8
   e: 311447741  1048576    4.2BSD     2048 16384 28552
 
 Thank you,
 
 Richard



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