Update: mirror root disk with Disksuite, and logging question

From: Mt Dew (devconf@yahoo.com)
Date: Mon Jun 17 2002 - 17:12:08 EDT


Update:

bash-2.03# metattach d0 d20
bash-2.03# metattach d1 d21
metastat shows every thing synced.

change /etc/vfstab

/dev/md/dsk/d1 - - swap - no -
/dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no logging
swap - /tmp tmpfs - yes -
/swapfile - - swap - no -

halt

bash-2.03# halt
syncing file systems... done
Program terminated
ok boot

Executing last command: boot
Boot device: disk File and args:
SunOS Release 5.8 Version Generic_108528-13 64-bit
Copyright 1983-2001 Sun Microsystems, Inc. All rights reserved.
WARNING: forceload of misc/md_trans failed
WARNING: forceload of misc/md_raid failed
WARNING: forceload of misc/md_hotspares failed
WARNING: forceload of misc/md_sp failed
configuring IPv4 interfaces: dmfe0.
Hostname: doppler
NOTICE: dmfe0: PHY 1 link up 100 Mbps Full-Duplex
NOTICE: dmfe1: PHY 1 link down
The / file system (/dev/md/rdsk/d0) is being checked.
/dev/md/rdsk/d0: UNALLOCATED I=2176011 OWNER=root MODE=0
/dev/md/rdsk/d0: SIZE=0 MTIME=Jun 17 11:23 2002
/dev/md/rdsk/d0: NAME=/etc/lvm/md.cf

/dev/md/rdsk/d0: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/md/rdsk/d0). Exit the shell when
done to continue the boot process.

 
Hi,

I mirrored my solaris 8 root disk with Disksuite 4.2.1.
Then I turned on solaris ufs logging in /etc/vfstab.

Everthing seems to be fine after I rebooted.

The problem started when I changed hostname on this machine and did another
reboot. It ask me to do fsck... I can only do fsck with option -y then I lost
some files in /etc ...

Metastat shows metadevice needs maintaince. so I did a metasysnc to get rid of
that message. But the root disk is kind of corrupted.

What did I do wrong? How do you do this. I have three metadb on each disk.
Thanks
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:28 EDT