"bsdlabel: Geom not found" when working with a new md device (disk backed) -- help

Chad Leigh -- Shire.Net LLC chad at shire.net
Tue Jun 14 05:28:29 GMT 2005


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 at shire.net




More information about the freebsd-questions mailing list