tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Simon Greaves <greaves_s () usp ! ac ! fj>
To: tru64-unix-managers
Subject: help with system restore - uses LSM...
Date: Thu, 17 Sep 1998 04:08:04 +0000	[thread overview]
Message-ID: <96078721911890.tru64-unix-managers.marc@archive.invalid> (raw)

I've been asked to produce a disaster recovery doc (comes to us all -
bugger!) In brief, the system has 5 disks on a raid controller, one in a
single member JBOD and the rest in a 4 member raid5 set. The two devices
(re[01]) are partitioned with a ufs root partition, an AdvFS partition
and the rest forming an LSM partition, so there are two LSM disk groups,
rootdg and raiddg. One disk group has two volumes (misc and tmp) and the
other has one volume (homedirs). There is one plex per volume, no
striping, concatanation etc (wonder why the site used LSM?)

I didn't set this stuff up, but I do need to provide a reasonable guide
to how to restore it in the event of a system failure, assuming a
machine with totally empty disks. I assume the procedure is something
like:

	boot from CD
	partition disks
	format root ufs
	mount it & vrestore to it
	
that much I'm happy with. Next I'd probably create the plain AdvFS
filesets using mkfdmn and mkfset, then mount and vrestore.

Now I'm a bit stumped. So, how do I recreate the LSM disk groups? How
much of it (if any) is done by the tape retore? My own thoughts were as
follows, but I'm concerned I may be way off:

	mount the root partition and edit it's fstab file to remove the
entry's               mounted on LSM volumes, esp. /tmp as I'll likely
need that even single user.

	boot single user off the hosts' own disk (recently restored)

	voliod set 2
	vold -m disable
	voldctl enable
	volrecover -sb

	voledit -r rm vol_misc
	voledit -r rm vol_tmp

	volassist make -g rootdg vol_misc 600m
        volassist make -g rootdg vol_tmp 200m
	mkfdmn /dev/vol/rootdg/vol_misc misc_domain
        mkfset misc_domain misc
        mkfdmn /dev/vol/rootdg/vol_tmp tmp_domain
        mkfset tmp_domain tmp
	
Then add the other diskgroup

	voldiskadd re1e
	volassist make -g raiddg vol_users 10g
	mkfdmn /dev/vol/raiddg/vol_users users_domain
        mkfset users_domain users


Does this look right? 

Also - if it was only the root partition that was stuffed would that
affect the rootdg?

Any comments/help very welcome, thanks,
	
Simon
-- 
Simon Greaves				voice: (+679) 212114
Computer Centre				fax:   (+679) 304089
The University of the South Pacific	email: greaves_s@usp.ac.fj
Suva, Fiji

                 reply	other threads:[~1998-09-17  4:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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