|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Sparc64 duplicate two drives for booting
Have OpenBSD 4.6 installed on a Sun Sparc Ultra-10 with two 9 GB drives. Installed on wd0. I want to use the second drive, wd1, as a spare drive in case wd0 fails. I don't want to recompile the kernel to add RAID support, so I used dd to copy wd0 to wd1.
After dd completed the boot-device was set to disk1 and I rebooted. However, when OpenBSD came up on wd1 it mounted everything as read-only. I've used dd before on Solaris to duplicate boot drives, but 'm unsure why it didn't work this time with OpenBSD. Last edited by gpatrick; 11th January 2010 at 11:22 PM. Reason: typo |
|
|||
Execute the following command and unless I err, you will see why
Code:
# cat /etc/fstab
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
I'll look later when I have a chance, but with "cat /etc/fstab" I'm sure what it is!
|
|
|||
Quote:
Quote:
|
|
|||
It's been some time since I've used dd for cloning a boot disk on Solaris (8), so I did indeed forget a step. It's easy to do (for me at least) when you've been using and become reliant on Solaris DiskSuite, Veritas, ZFS, and AIX LVM to handle mirroring.
Thanks again! |
|
|||
Welcome to the "forgot to edit /etc/fstab' club
This happened once to me when I moved an OpenBSD disk from IDE master to IDE slave. I also forgot the edit /etc/fstab and do a "s/wd0/wd1/g". So don't feel lonely
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Yup, been there. I pulled the CF card out of an ALIX installation a few weeks ago, & installed via a new CF-USB connector. I, too, forgot to edit fstab(5) & didn't get the system up until I did.
|
|
|||
Hehe, guilty as well over here, probably at least 3 times that i can remember, took about 5 minutes to grasp it and correct but at least it wasn't in production machines
__________________
The more you learn, the more you realize how little you know .... |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Beep or visual signal after booting OpenBSD/sparc64 | hansivers | OpenBSD General | 10 | 20th September 2009 04:08 PM |
How to duplicate an installed Operating Environment | dk_netsvil | General software and network | 0 | 22nd July 2008 03:01 PM |
sablevm on sparc64 | foxi | Programming | 0 | 15th June 2008 09:42 AM |
Automounting drives | jwhal | OpenBSD General | 4 | 12th June 2008 05:00 PM |
jdk for sparc64 | nippysaurus | FreeBSD Ports and Packages | 6 | 1st June 2008 04:32 PM |