From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Iain Barker Newsgroups: gmane.os.tru64.managers Subject: Advfs mount error on broken LSM mirror : E_CANT_FIND_LOG_END Date: Tue, 13 May 2003 08:30:54 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1052829899 12421 80.91.224.249 (13 May 2003 12:44:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 13 May 2003 12:44:59 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue May 13 14:44:56 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 19FZ6w-00033k-00 for ; Tue, 13 May 2003 14:42:26 +0200 Original-Received: (qmail 21400 invoked by uid 5); 13 May 2003 12:43:52 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21391 invoked by uid 49493); 13 May 2003 12:43:51 -0000 Original-Received: from ibarker@aastra.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.50317 secs); 13 May 2003 12:43:51 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 13 May 2003 12:43:51 -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 <0HET00388SP2I2@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 13 May 2003 08:43:50 -0400 (EDT) Original-Received: from mail.aastra.com (mail.aastra.com [216.94.98.95]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HET004CMSOVM5@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 13 May 2003 08:43:44 -0400 (EDT) Original-Received: by mail.aastra.com with Internet Mail Service (5.5.2653.19) id <2V7FR9V8>; Tue, 13 May 2003 08:30:41 -0400 Content-return: allowed Original-To: tru64-unix-managers@ornl.gov X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:4212 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4212 This one seems to be a common problem on the list, and even though I find a lot of people having the problem, nobody ever summarised a solution. System as LSM encapsulated root disk, which includes two advfs domains: root and usr LSM drive is mirrored between two physical disks and the system shutdown cleanly (i.e. both mirror drives are complete, neither is stale at shutdown). When the system is brought back up (a few months later) one of the mirrored drives has failed, and is not probed by SRM/kernel, hence only half of the LSM mirrorred volume is present. That should be enough to mount? The mirror isn't there but the LSM volume still exists and all the data is there on the one good copy of the mirror. But ADVFS fails to mount on the LSM volume and complains that it cannot find the logfile for the /usr filesystem. Interestingly the / root filesystem is set up identically and works without any problem with only one half of the mirror present. Any ideas for a solution to this? The only rather drastic solution I can think of is to use salvage to pull any partial files off /usr to a new disk. But that isn't likely to result in a 100% stable system. Because nothing actually happened to the 'good' disk, I feel there must be some way to fix the problem within LSM/Advfs, but don't have enough knowledge of those products. A little help? thanks. Iain starting LSM Checking local filesystems /sbin/ufs_fsck -p Mounting / (root) user_cfg_pt: reconfigured Mounting local filesystems exec: /sbin/mount_advfs -F 81920 root_domain#root / root_domain#root on / type advfs (rw) /proc on /proc type procfs (rw) exec: /sbin/mount_advfs -F 16384 usr_domain#usr /usr advfs_logger: pg #510 is bad; truncating log advfs_logger: pg #509 is bad; truncating log advfs_logger: pg #508 is bad; truncating log advfs_logger: pg #507 is bad; truncating log advfs_logger: pg #506 is bad; truncating log advfs_logger: pg #505 is bad; truncating log advfs_logger: pg #504 is bad; truncating log advfs_logger: pg #503 is bad; truncating log advfs_logger: pg #502 is bad; truncating log advfs_logger: can't find log end bs_bfdmn_activate: can't open domain ftx log, tag = 0xfffffff7.0x0: E_CANT_FIND_LOG_END (-1077) usr_domain#usr on /usr: I/O error Unhelpfully, 'man advfs_err' says for this log: E_CANT_FIND_LOG_END There is an error in finding the end of the log Previous list postings of this same error (can find no summaries) here: http://www.ornl.gov/cts/archives/mailing-lists/tru64-unix-managers/1996/04/m sg00201.html http://www.ornl.gov/cts/archives/mailing-lists/tru64-unix-managers/1998/03/m sg00285.html http://aa11.cjb.net/tru64_unix_managers/2001/05/0413.html http://aa11.cjb.net/tru64_unix_managers/2000/03/0370.html