HI,
here is how to start a V5 LSM mirrored system disk in system maintenance mode:
1/ boot from the CD ou a 5.1x
2/ open a shell windows (or exit install)
3/ start LSM by typing:
# mknod /dev/volconfig c 41 0
# mknod /dev/voltrace c 41 1
# mknod /dev/voliod c 41 2
# mknod /dev/volinfo c 41 3
# __LSM_ROOT_DIR=/var
# export __LSM_ROOT_DIR
# mkdir -p /var/sbin/lsm.d
# cd /sbin/lsm.d
# tar cf - . | ( cd /var/sbin/lsm.d ; tar xf - )
#
# mkdir -p /var/etc/vol
# vold -r reset -m disable -x nohostid
# hostname xxx.demain.com (where xxx.domain.com is the server name)
xxx.domain.com
# voldctl init
# voldctl enable
# volrecover -sb
4/ recreate the /etc/fdmns
# cd /etc/fdmns
# mkdir root_domain
# cd root_domain
# ln -s /dev/vol/rootdg/rootvol
then:
# /sbin/advfs/verify root_domain
if there are errors you must lanche:
cd /var (fixfdmn need a writeble directory for his logs)
/sbin/advfs/fixfdmn root_domain
/sbin/advfs/verify root_domain
On Mon, 28 Jul 2003 18:32:13 +0200
Malek Shabou <Malek.Shabou_at_nic.fr> wrote:
> Hi,
> all in the subject :-)
> in the man they say that i have to boot from CD dans the lanche the fixfdfm. but i wander how i can activate LSM.
>
>
>
>
>
> hi is the result of:
>
>
> /sbin/advfs/verify -a root_domain
> +++ Domain verification +++
>
> Domain Id 3a911e10.000871b0
>
> Checking disks ...
>
> Checking storage allocated on disk /dev/vol/rootdg/rootvol
>
> Found 1 possible corrupted SBM pages.
> Most likely this is from file activity on the active domain.
>
>
> Checking mcell list ...
>
> Checking that all in-use mcells are attached to a file's metadata mcell chain...
>
> Checking tag directories ...
>
> Found 1 references to files that cannot be found in any directory.
> Most likely this is from file activity on the active domain.
>
>
> +++ Fileset verification +++
>
> +++++ Fileset root +++++
>
> Checking frag file headers ...
>
> Loop found in list of free frags on page 416 of the frags file.
> Frags metadata file is corrupted!
>
> Fileset is corrupted! Attempts to use this fileset may result in
> system crashes or user data loss!
>
>
>
> --
> Malek Shabou E-mail: nic_at_nic.fr
> AFNIC Tel: +33 1 39 30 83 00
> Immeuble international, 2 rue Stephenson Fax: +33 1 39 30 83 01
> Saint-Quentin-En-Yvelines 78180 Montigny-Le-Bretonneux
>
> ### Utiliser http://www.nic.fr/zonecheck/ pour verifier vos domaines ###
>
--
Malek Shabou E-mail: nic_at_nic.fr
AFNIC Tel: +33 1 39 30 83 00
Immeuble international, 2 rue Stephenson Fax: +33 1 39 30 83 01
Saint-Quentin-En-Yvelines 78180 Montigny-Le-Bretonneux
### Utiliser http://www.nic.fr/zonecheck/ pour verifier vos domaines ###
Received on Fri Aug 01 2003 - 14:55:13 NZST