Re: RAIDframe sparc64
- From: Josh Grosse <spamtrap@xxxxxxxxxxxxxxxxx>
- Date: Wed, 21 Nov 2007 18:17:20 -0500
On Wed, 21 Nov 2007 20:09:34 +0000, Khalid Schofield wrote:
Yup have RAID_AUTOCONFIG in the kernel. So I was following an example on
setting up a raid 1 two disk mirror on a web page. It said make wd0d and
wd1d which will have the OS on it and wd0a and wd1a will have a basic
system installed so the system will boot. I marked wd0d and wd1d as RAID
volumes in disklabel. Can you tell me how to set up a raid 1 mirror with
out RAID_AUTOCONFIG please?
Autoconfig is used to have the kernel recognize a RAID set at boot time.
Without it, one "configures" the RAID set with raidctl(8) -c after boot
is complete, typically in /etc/rc.conf.local. Autoconfig is most commonly
used for root-on-raid environments, as kernel recognition is required for
it. The raid(4) man page I pointed you to earlier has some detail, and
the raidctl(8) man page has much much more. Both man pages are mandatory
reading.
The OpenBSD Project recommends against using a "howto" document you find
on the web without very careful study and understanding of what each step
is designed to accomplish. Not only are such guides often out-of-date,
they rarely match the reader's environment exactly.
Also what do I need in the kernel for RAIDframe with out RAID_AUTOCONFIG?
Is it just pseudo device raid 4 ? Or something like that?
pseudo-device raid 4. Per the raid(4) man page. If you are using SCSI
devices, you will want to hard code sd(4) devices to specific
target/lun... again, per the man page.
I grabbed the 4.2 sys.tar.gz and I'm running openbsd on a sun blade 100
ultra sparc II system (which is a slow as hell).
4.2-release, then. Your hanging problem had the same symptoms as mine,
but a different cause. I don't have any specific insights into the cause,
except that autoconfiguration is failing.
Is smartmontools in the ports tree? Is it a crontab thing or a daemon?
Smartmontools is in the tree, and has been for years. It includes a
daemon (smartd) and a control program (smartctl).
I recommend you start slowly... raidctl(8) takes some time to learn how to
use. Rather than starting with a raid-managed system, begin with a single
data partition. Then move on once you've figured out how to
manage the data partition prperly with raidctl -- that you know how to
"fail" a drive, use a hot spare, recover a drive, and the like.
The data partition need not be very large -- when I started via
qemu, I think I used 20MB data partitions, with all sorts of RAID
configurations of RAID 1, 4, 5, and 1/0.
I also use raidctl to manage upgrades -- on a RAID 1 system, I fail one of
the mirrors and confirm the upgrade's success prior to reestablishing the
mirror. One must test out procedures for recovery to the "failed" mirror,
but that was part of my initial testing and education.
--
Replying directly will get you locally blacklisted.
Change the address; use my first name in front of the @ if you want to
communicate privately.
.
- References:
- RAIDframe sparc64
- From: Khalid Schofield
- Re: RAIDframe sparc64
- From: Josh Grosse
- Re: RAIDframe sparc64
- From: Khalid Schofield
- RAIDframe sparc64
- Prev by Date: Re: shell damage
- Next by Date: Re: TCP/IP Newbie help
- Previous by thread: Re: RAIDframe sparc64
- Next by thread: DNS unter OpenBSD einrichten
- Index(es):
Relevant Pages
|