From owner-freebsd-questions@FreeBSD.ORG Tue Jun 14 06:42:06 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D36816A41C for ; Tue, 14 Jun 2005 06:42:06 +0000 (GMT) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3640143D53 for ; Tue, 14 Jun 2005 06:42:06 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1Di57b-000LMy-RN; Tue, 14 Jun 2005 00:42:05 -0600 In-Reply-To: <5B964FC3-3711-4B14-B427-B06834400234@shire.net> References: <43759975-DC53-4DDE-887A-8A7B234EA4C9@shire.net> <5B964FC3-3711-4B14-B427-B06834400234@shire.net> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9EE99D6B-51D4-4F2F-BA9E-6150DD7A236B@shire.net> Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 14 Jun 2005 00:42:03 -0600 To: FreeBSD Mailing List X-Mailer: Apple Mail (2.730) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on hobbiton.shire.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_50, GREYLIST_ISWHITE autolearn=disabled version=3.0.3 X-SA-Exim-Version: 4.2 (built Mon May 30 00:43:02 MDT 2005) X-SA-Exim-Scanned: Yes (on hobbiton.shire.net) Cc: "Chad Leigh -- Shire.Net LLC" Subject: [SOLVED] Re: "bsdlabel: Geom not found" when working with a new md device (disk backed) -- help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 06:42:06 -0000 Never mind -- I figured out the problem -- the system recently went to a securelevel that does not allow disk writing... At least this thread will be archived for future numbskulls like me to have as a reference... Thanks Chad On Jun 14, 2005, at 12:25 AM, Chad Leigh -- Shire.Net LLC wrote: > > On Jun 13, 2005, at 11:28 PM, Chad Leigh -- Shire.Net LLC wrote: > > >> Hi >> >> Tonight I was trying to create a new disk backed /dev/md device to >> add some space to a jail for some sa-exim based greylisting tuple >> storage. >> >> I create the disk file using dd just fine. I then use >> >> /sbin/mdconfig -a -t vnode -f disk_file_storagel -u 2506 >> >> and I do get a /dev device >> >> ls -al /dev/md250* >> crw-r----- 1 root operator 4, 250 May 31 00:27 /dev/md2500 >> crw-r----- 1 root operator 4, 253 May 31 00:27 /dev/md2501 >> crw-r----- 1 root operator 4, 0x00010000 May 31 00:27 /dev/ >> md2502 >> crw-r----- 1 root operator 4, 0x00010003 May 31 00:27 /dev/ >> md2503 >> crw-r----- 1 root operator 4, 0x0001006e May 31 00:27 /dev/ >> md2506 >> >> For some reason the dev device flags are a lot different, but it >> does exist. >> >> I then go to label it using the example from the Handbook >> >> disklabel -r -w md2506 auto >> (bsdlabel) >> >> I then get >> >> bsdlabel: Geom not found >> >> I have no idea what it is talking about. >> >> This worked earlier today when I created a new jail and created a >> new file backed md device to house it. >> >> What is going on and what am I doing wrong? >> > > some more info > > geom knows about the md dev > > Geom name: md2506 > Providers: > 1. Name: md2506 > Mediasize: 1392508928 (1.3G) > Sectorsize: 512 > Mode: r0w0e0 > > > Actually, the one I did earlier today did not work either. I did > it as part of a script and did not notice the error message, which > is the same... > > Is there a limit to the number of /dev/md devices I can have? I > have 106, 2 of which are not working with this bsdlabel problem. I > read the man pages for md and mdconfig and did not see any limits > listed. > > Thanks in advance for any help on this. > > best > Chad > > >> >> Thanks >> Chad >> >> >> >> --- >> Chad Leigh -- Shire.Net LLC >> Your Web App and Email hosting provider >> chad@shire.net >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions- >> unsubscribe@freebsd.org" >> >> > > --- > Chad Leigh -- Shire.Net LLC > Your Web App and Email hosting provider > chad@shire.net > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad@shire.net