Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* AdvFS and software RAID?
@ 2000-02-22  5:00 Lars Balker Rasmussen
  2000-02-22  5:00 ` Serguei Patchkovskii
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lars Balker Rasmussen @ 2000-02-22  5:00 UTC (permalink / raw)


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.  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

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?
-- 
Lars Balker Rasmussen, System Administrator, Mjolner Informatics
lbr@mjolner.dk



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AdvFS and software RAID?
  2000-02-22  5:00 AdvFS and software RAID? Lars Balker Rasmussen
  2000-02-22  5:00 ` Serguei Patchkovskii
@ 2000-02-22  5:00 ` Ray T.
  2000-02-23  5:00 ` Jesper Frank Nemholt
  2 siblings, 0 replies; 4+ messages in thread
From: Ray T. @ 2000-02-22  5:00 UTC (permalink / raw)
  To: Lars Balker Rasmussen

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.  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
> 
> 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?
> --
> Lars Balker Rasmussen, System Administrator, Mjolner Informatics
> lbr@mjolner.dk

I'm in the process of trying to do this myself.  I think you need
LSM (Logical Storage Manager) to do s/w mirror.  It is included in
the Tru64 install, but the mirror and GUI features are not available
unless you buy a LSM license.  Either drives or partitions can be
mirrored, but there is a special command to mirror the root and swap
partitions (volrootmir).

There is an interesting "clone" feature in AdvFS that seems to "mirror"
only what is changed in the partition.  But again, the GUI interface
to AdvFS requires a license.

Hope everything I said is correct.  I'm still trying to figure out all
the details.

Ray T.

The Docs are online at -
http://www.unix.digital.com/faqs/publications/pub_page/doc_list.html
LSM is at -
http://www.unix.digital.com/faqs/publications/base_doc/DOCUMENTATION/V40F_HTML/AQ3NCETE/TITLE.HTM



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AdvFS and software RAID?
  2000-02-22  5:00 AdvFS and software RAID? Lars Balker Rasmussen
@ 2000-02-22  5:00 ` Serguei Patchkovskii
  2000-02-22  5:00 ` Ray T.
  2000-02-23  5:00 ` Jesper Frank Nemholt
  2 siblings, 0 replies; 4+ messages in thread
From: Serguei Patchkovskii @ 2000-02-22  5:00 UTC (permalink / raw)


Lars Balker Rasmussen (lbr@mjolner.dk) wrote:
: 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?

It sure is. The procedure is covered in LSM administration guide; you'll find it at:
http://www.unix.digital.com/faqs/publications/base_doc/DOCUMENTATION/V40F_HTML/AQ3NCETE/TITLE.HTM

You will need LSM-OA licence to do anything useful with LSM, however.

Regards,

/Serge.P

--
home page: http://www.cobalt.chem.ucalgary.ca/ps/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AdvFS and software RAID?
  2000-02-22  5:00 AdvFS and software RAID? Lars Balker Rasmussen
  2000-02-22  5:00 ` Serguei Patchkovskii
  2000-02-22  5:00 ` Ray T.
@ 2000-02-23  5:00 ` Jesper Frank Nemholt
  2 siblings, 0 replies; 4+ messages in thread
From: Jesper Frank Nemholt @ 2000-02-23  5:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-02-23  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-22  5:00 AdvFS and software RAID? Lars Balker Rasmussen
2000-02-22  5:00 ` Serguei Patchkovskii
2000-02-22  5:00 ` Ray T.
2000-02-23  5:00 ` Jesper Frank Nemholt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox