SUMMARY: fix root_domain when using LSM

From: Malek Shabou (Malek.Shabou@nic.fr)
Date: Mon Aug 04 2003 - 04:20:56 EDT


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


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:29 EDT