From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078721911849.tru64-unix-managers.marc@archive.invalid> From: Marcin Palacz Date: Tue, 15 Sep 1998 17:44:26 +0000 To: tru64-unix-managers Subject: SUMMARY: DU 4.0B crashes and moving system to another disk X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078721911849 The response to my three mails on crashes and recovery of our DU 4.0B alpha was prompt and very helpful. Thanks again to all of you. And below is a summary of the story. On Friday noon it crashed for the first time. Then on Sunday again and on Monday it could never survive more than two hours. There was no crash data on the disk - the system disk was suddenly becoming unaccessible, some information was printed to the console, but not to the disk (which was unaccessible). After a crash it was still possible to boot the machine - power off, a short wait, power on. Moving / , first swap partition and /usr to another disk helped, the old disk is not anymore in use. Here are the steps which, retrospectively, I think should be done (my path was in fact much more complicated): (We use AdvFS on all partitions, the broken disk is rz0, the replacement one is rz1.) Power off. Wait. Power on. Boot. disklabel -z rz1 disklabel -w -r -t advfs rz1 RZ29B export EDITOR=emacs (bash shell) disklabel -e rz1 (change sizes of the a, b(swap) and g partitions, set fstypes: AdvFS for a and g, swap for b) mkfdmn -t RZ29B /dev/rz1a newroot_domain mkfset newroot_domain root mkfdmn -t RZ29B /dev/rz1g newusr_domain mkfset newusr_domain usr mkdir /mnt/root /mnt/usr init s mount -a mount newroot_domain#root /mnt/root mount newusr_domain#root /mnt/usr vdump -0f - / |vrestore -xf - -D /mnt/root vdump -0f - /usr |vrestore -xf -D /mnt/usr cd /mnt/root/etc/fdmns rm -r root_domain rm -r usr_domain mv newroot_domain root_domain mv newusr_domain usr_domain Modify /mnt/root/etc/fstab cd /mnt/root/etc; ln -sf /dev/rz1b swapdefault cd /mnt/root/sbin; ln -sf /dev/rz1b swapdefault halt >> boot dka1 The system should be up now. It takes about 30 hours if you do it for the first time (including backups and various file moving operations). Marcin -- Marcin Palacz, palacz@slcj.uw.edu.pl, http://www.slcj.uw.edu.pl/~palacz Heavy Ion Laboratory, Warsaw University, ul. Pasteura 5A, Warsaw, Poland tel. 48-22-6582021 ext. 206, fax 48-22-6592714, home tel. 48-22-6176975