|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Missing drive in /dev, but shows in dmesg
Hi, I have a big pile of 1U boxes that are getting OpenBSD and I have run into a weird problem that is probably easily explained by someone who is more current with OpenBSD than me!
I boot a 4.7 install CD (or tftp) and dmesg shows sd0 and sd1 -- the 2 32G Corsair SSDs I have -- and I usually like to dd them first thing: dd if=/dev/zero of=/dev/rsd0c bs=1024000 And this works fine for sd0, but /dev/rsd1c doesn't exist. In fact, nothing related to sd1 exists in /dev. But it was in the dmesg. What am I missing? It's annoying to boot into a Debian rescue disc just to dd since it sees the drives as sda and sdb and can dd without any problems. After the install, sd1 works fine and is used to complete a software RAID1 which goes off without a hitch. I don't think there are hardware problems. Thanks! |
|
|||
OpenBSD doesn't have a dynamic devfs, the contents of /dev are generated by a script in the same directory (MAKEDEV), only a few devices have nodes created by default.
Simply create the device nodes yourself manually, the following should work: # cd /dev; /bin/sh MAKEDEV sd1 It does seem strange to only have device files for a single sd(4) device, I'm not sure why that is the case.. is this OpenBSD/i386 or perhaps some other supported platform? |
|
|||
Thanks! Forgot about MAKEDEV. That works great and I can stop using my Debian CD to dd.
These are dual core 64bit Intel Atom machines with 2xSSDs (in software RAID1) and will be doing much OpenBSD based routing after seeing what Cisco wants for licenses. Pf rocks, as it has for at least a decade when I last used it, and the whole ipsec/openvpn setup is sweet. Got all my networks talking without even breaking a sweat. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Researcher shows how to strike back at web assailants | J65nko | News | 0 | 17th June 2010 11:23 PM |
Why tcpdump sometimes drops packets, mangles DNS and shows bad checksums | J65nko | Guides | 4 | 15th January 2010 11:55 PM |
How to: DMESG Monitoring | damien-NF | FreeBSD Installation and Upgrading | 2 | 4th August 2009 11:30 PM |
Missing hard drive space. df and du can't agree | tsan | FreeBSD General | 2 | 30th July 2008 09:08 PM |
Properly sending dmesg to dmesg@ | twisted_steel | OpenBSD General | 5 | 27th July 2008 02:43 PM |