From: Jesper Frank Nemholt <jfn@dassic.com>
Subject: Re: AdvFS and software RAID?
Date: 2000/02/23 [thread overview]
Message-ID: <38B38164.FFC0834C@dassic.com> (raw)
In-Reply-To: 0faektm8jt.fsf@ull.mjolner.dk
Lars Balker Rasmussen wrote:
>
> We have a DS20 running V4.0F (on loan from a client). However, we're a
> Solaris shop, and I have little experience with Tru64 or any of its
> earlier incarnations.
>
> I just discovered that our machine has two disks, of which one appears
> unused. "diskconfig" lists:
>
> Disk Model Physical Location
> rrz5 rrz BUS-0-NODE-5
> rrz8 RZ2DD-LS BUS-1-NODE-0
> rrz9 RZ2DD-LS BUS-1-NODE-1
>
> rrz5 is probably the CD-ROM, so we have two disks in there.
as root do a "scu show edt", or just grep for rz (or re if there's a
Mylex RAID controller in it) in /var/adm/messages to determine exactly
what type of devices you have. You can also do a file on the devicefiles
in /dev
> rrz8 shows
> up as having three partitions, a b and g, whose functions can easily be
> determined:
>
> # swapon -s | head -1
> Swap partition /dev/rz8b:
> # cd /etc/fdmns ; ls -l *domain
> root_domain:
> total 0
> lrwxr-xr-x 1 root system 9 Sep 6 03:32 rz8a -> /dev/rz8a
>
> usr_domain:
> total 0
> lrwxr-xr-x 1 root system 9 Sep 6 03:32 rz8g -> /dev/rz8g
>
> and "df" lists the filesystems doing what you'd expect:
> Filesystem [...] Mounted on
> root_domain#root [...] /
> usr_domain#usr [...] /usr
You might have a h partition too. A disklabel -r rz8 will show if the g
partition eats all the rest of the disk or not.
A normal recent Compaq default install will be 256 MB on /, 1, 2 or 3
times the memory on b depending on how much memory you have, 2 GB on g
and what's left on the disk on h.
> But clicking on rrz9 in diskconfig, gives you:
>
> This disk has not been labeled. Select and apply one of the
> default partitions.
>
> I'd like to mirror the setup on rrz8, so the two domains and swap get
> covered by software RAID 1. Is this possible without a reinstall?
Yes, you need LSM (Logical Storage Manager).
LSM is allready available on your machine, but to do mirroring you need
a LSM-OA license. LSM without a license will only encapsulate, not
mirror, stripe, concat or anything else.
Do a "lmf list" to see what licenses you have.
The exact procedure is :
Setup the rz9 disk with a disklabel identical to rz8
Encapsulate the rz8 disk using volencap
Mirror rz8 to rz9 using volrootmir
After this procedure rz8 & rz9 will be in sync.
Be advised that volencap of the root disk _can_ fail if something is
setup wrong. If it fails, you need to know your dunix pretty well to get
back to a working system and get volencap right the next time.
The you need to tell the hardware it's able to boot from one of two
devices.
In the boot-console you'll have a parameter named bootdef_dev. It's
probably set to dka100 (rz8). You need to change that so it have both
rz8 & rz9 :
set bootdef_dev dka100,dka200 (I don't remember if the, should be a
space instead...)
Also auto_action should be set to boot or restart.
l8r/Jspr
prev parent reply other threads:[~2000-02-23 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-22 5:00 AdvFS and software RAID? Lars Balker Rasmussen
2000-02-22 5:00 ` Ray T.
2000-02-22 5:00 ` Serguei Patchkovskii
2000-02-23 5:00 ` Jesper Frank Nemholt [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox