-
Using RAID in OpenBSD
Well anyone who is worth their oats is running raid right?
I guess that depends on your definition of anyone, what a bunch of nub sauces. Ok so it’s my first real attempt at doing it, I only have two disks and most of my media however much I may not think so right now is disposable.
Compile a new kernel since Theo leaves raid out by default:
$ cd /usr/src/sys/arch/amd64/conf/ $ cat /usr/src/sys/arch/amd64/conf/GENERIC.MP.RAID # $OpenBSD: GENERIC.MP,v 1.8 2007/01/27 22:48:01 kettenis Exp $ include "arch/amd64/conf/GENERIC.MP" option RAID_AUTOCONFIG # Automatically configure RAID at boot pseudo-device raid 4 # RAIDframe disk driver $ config GENERIC.MP.RAID $ cd ../compile/GENERIC.MP.RAID Don't forget to run "make depend" $ make clean && make depend && make .... magic .... $ su - Password: # make install rm -f /obsd ln /bsd /obsd cp bsd /nbsd mv /nbsd /bsdHere is the exceprt from the OpenBSD 4.2 manpage, that brings it home:
toot-toot! _default/list.html -
Testing performance of NFS
Tuning NFS performance really requires that a set of performance baselines to tell if you are doing any good, so that is really where this needs to start.
Migrated: from simplelog 2014-07-03
Reference:
toot-toot! _default/list.html -
Bash hates people who use spaces
Ok so I have lots of files… I can’t be responsible for keeping weird characters and spaces out of all of them can I?
So what is a space using loser like me to do, well after penance, jump through hoops to make it work.
So naively expecting this to work, instead I get this crap.
sgw@terd /store/ebooks/pdfs $ for i in `ls ../*.rar`; do echo "$i"; done ../PDF Ebook Guide BSD Hacks 100 ...So contorting my leg behind my head I type this, and voila.
toot-toot! _default/list.html -
Connecting to my Soekris 5501
First I would recommend snuggling up with your Soekris manual by the fire and getting out your corn cob pipe. Setting up console access.
toot-toot! _default/list.html -
Installing OpenBSD 4.8 on a Soekris 5501
I tried to do the install via a direct install to the CF via a USB media reader on my laptop, that gave me the runaround for a bit, turns out most USB style CF card readers work but I managed to find one that does not.
toot-toot! _default/list.html