kern/120231: [geom] GEOM_CONCAT error adding second drive
Richard Bejtlich
taosecurity at gmail.com
Mon Jul 28 18:10:03 UTC 2008
The following reply was made to PR kern/120231; it has been noted by GNATS.
From: "Richard Bejtlich" <taosecurity at gmail.com>
To: "Ulf Lilleengen" <lulf at freebsd.org>
Cc: bug-followup at 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 at 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
More information about the freebsd-geom
mailing list