From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daniel Clar Newsgroups: gmane.os.tru64.managers Subject: Problem with a backup disk : the story is not finished Date: Mon, 16 Jun 2003 12:08:03 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <05e601c333ef$2cec7480$4e78e4a0@supelec.fr> References: <005a01c33108$940b3e10$4e78e4a0@supelec.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1055758089 18086 80.91.224.249 (16 Jun 2003 10:08:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2003 10:08:09 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jun 16 12:08:06 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19Rqs4-0004Zz-00 for ; Mon, 16 Jun 2003 12:05:52 +0200 Original-Received: (qmail 19561 invoked by uid 5); 16 Jun 2003 10:08:28 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 19552 invoked by uid 49493); 16 Jun 2003 10:08:28 -0000 Original-Received: from Daniel.Clar@supelec.fr by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-4.9/5.0):. Processed in 0.475867 secs); 16 Jun 2003 10:08:28 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 16 Jun 2003 10:08:28 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HGK00HSUK61BJ@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 16 Jun 2003 06:08:27 -0400 (EDT) Original-Received: from supelec.supelec.fr (supelec.supelec.fr [160.228.120.192]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HGK00M5TK5YRC@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 16 Jun 2003 06:08:23 -0400 (EDT) Original-Received: from cridchp (localhost [127.0.0.1]) by supelec.supelec.fr (8.11.6p2/jtpda-5.3.1) with ESMTP id h5GA8KC479507 ; Mon, 16 Jun 2003 12:08:20 +0200 (MEST) In-reply-to: <005a01c33108$940b3e10$4e78e4a0@supelec.fr> Original-To: 'Daniel Clar' , tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:4550 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4550 Hello Managers, Of course all the links are correct in the /etc/fdmns because the /usr = file system is mounted without any problem and the correct disk flashes. I've tried several things this week-end : 1) Reinstall a system from scratch on a disk. It's Ok. 2) Use this disk as backup of the current system. When it boots same = message with=20 > msfs_mount: The mount device does not match the linked device. > Check linked device in /etc/fdmns/domain > msfs_mount: Setting root device name to root_device RW 3) Print AdvFS Administration manual for 5.1b and follow whats is = described on page 6-31 to 6-33 (by the way there is a - missing in 7e for = vrestore). It works quite fine. Reboot the system on the newdisk and the failure is still there. 4) From a running system, mount the backup disk sauvroot-domain#root on = the mnt. It works fine.=20 5) do /sbin/advfs/fixfdmn on this backup disk : no problem 6) Reboot the backup disk and the problem is still there. 7) in single user mode , try the /sbin/mountroot command which is called = by bcheckrc. This is the one who gives the error messages. So it's quite difficult to know where the information is kept on a = former disk. One more thing in sysconfig -q io there are 2 lines with root_dev = and root_hardware_id. But theses 2 parameters should be dynamically set, I think. Regards Daniel >=20 > The original posting was : >=20 > > > > Hello managers, > > > > >From time to time I'm doing a backup of my system disk (dsk0 with / = and > > /usr) on another disk (dsk5). > > > > This morning the dsk0 disk has crashed and it was impossible to = reboot. > > > > So I've used the dks5 disk in modifying the name of the swap device = in > > /etc/sysconfigtab in modifying the link in the /etc/fdmns for the = root > and > > the usr domain to dsk5a and dsk5g instead of dsk0a and dsk0g, I've = moved > > the > > dsk5 disk to the place where was the dsk0 disk and rebooted. > > > > It seems to work but in fact the root domain is not mounted (there = is a > > root-device mounted) with a message which looks like : > > > > The mounted device is not the one corresponding to the linked = device. > Look > > at /etc/fdmns/domain to correct this. > > > > Some idea on this message and how to fix it ? > > > > Thanks > > > > Daniel > > > > Daniel Clar > > Computer Operations Manager > > Supelec > > France > > > > > Thanks to those who gave me some tracks as to put back dsk5 at its > original > place but nothing has changed. >=20 > I've got a new disk, put it in original place where dsk0 was and the = name > is > now dsk6. > On this disk I've regenerated a system as described in Advfs > Administration > Manual in copying the 2 filesystems from dsk5, modified the swap space > designation, modified the links for root_domain and usr_domain. > I've tried in single user mode and the problem is still there : >=20 > exec: /sbin/mount_advfs -F 0x14000 root_domain#root / > msfs_mount: The mount device does not match the linked device. > Check linked device in /etc/fdmns/domain > msfs_mount: Setting root device name to root_device RW > root_domain#root on / type advfs (rw) >=20 > There is absolutely no problem with the usr_domain filesystem : >=20 > root_device on / type advfs (rw) > /proc on /proc type procfs (rw) > usr_domain#usr on /usr type advfs (rw) > ...... >=20 > Does it mean that in the root file system there is something somewhere > where > it's written that it has been created on dsk0 and now it's impossible = to > change ? >=20 > Thank you for your help >=20 > Regards >=20 > Daniel >=20 >=20