tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: fix root_domain when using LSM
  2003-07-28 16:32 Malek Shabou
@ 2003-08-01 14:54 ` Malek Shabou
  0 siblings, 0 replies; 2+ messages in thread
From: Malek Shabou @ 2003-08-01 14:54 UTC (permalink / raw)


 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@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@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@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 ###


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

* SUMMARY: fix root_domain when using LSM
@ 2003-08-04  8:20 Malek Shabou
  0 siblings, 0 replies; 2+ messages in thread
From: Malek Shabou @ 2003-08-04  8:20 UTC (permalink / raw)


Thanks  thank to Mr  Meyer Christian from HP support for this quick
responses

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


---
Malek Shabou				    E-mail: nic@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 ###


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

end of thread, other threads:[~2003-08-04  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-04  8:20 SUMMARY: fix root_domain when using LSM Malek Shabou
  -- strict thread matches above, loose matches on Subject: below --
2003-07-28 16:32 Malek Shabou
2003-08-01 14:54 ` SUMMARY: " Malek Shabou

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