From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9d666ea69203577e X-Google-Attributes: gidfee84,public From: Jesper Frank Nemholt Subject: Re: AdvFS and software RAID? Date: 2000/02/23 Message-ID: <38B38164.FFC0834C@dassic.com>#1/1 X-Deja-AN: 588722254 Content-Transfer-Encoding: 7bit References: <0faektm8jt.fsf@ull.mjolner.dk> X-Accept-Language: en,da,en-US Content-Type: text/plain; charset=us-ascii X-Complaints-To: Department of Written Abuse X-Trace: news.inet.tele.dk 951288674 18587 195.249.165.8 Organization: Dassic Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 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