Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2005 23:28:27 -0600
From:      "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Cc:        Chad Leigh <chad@shire.net>
Subject:   "bsdlabel: Geom not found" when working with a new md device (disk backed) -- help
Message-ID:  <43759975-DC53-4DDE-887A-8A7B234EA4C9@shire.net>

next in thread | raw e-mail | index | archive | help
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?

Thanks
Chad



---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad@shire.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43759975-DC53-4DDE-887A-8A7B234EA4C9>