From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Didier Godefroy Newsgroups: gmane.os.tru64.managers Subject: Lsm problem after a crash Date: Wed, 13 May 2009 14:03:31 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242216255 21637 80.91.229.12 (13 May 2009 12:04:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 May 2009 12:04:15 +0000 (UTC) To: Tru64 Unix managers Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed May 13 14:04:04 2009 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by lo.gmane.org with smtp (Exim 4.50) id 1M4DBr-000244-EX for gotm-tru64-unix-managers@gmane.org; Wed, 13 May 2009 14:04:03 +0200 Original-Received: (qmail 14253 invoked by uid 49509); 13 May 2009 12:03:52 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 14183 invoked by uid 49501); 13 May 2009 12:03:52 -0000 Original-Received: from 160.91.4.119 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.119):SA:0(-2.6/5.0):. Processed in 0.623582 secs); 13 May 2009 12:03:52 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute1.ornl.gov (160.91.4.119) by sws1.ornl.gov with SMTP; 13 May 2009 12:03:51 -0000 Original-Received: from emroute1.ornl.gov ([127.0.0.1]) by emroute1.ornl.gov (PMDF V6.4 #31561) with ESMTP id <0KJL00J9506FVS@emroute1.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Wed, 13 May 2009 08:03:51 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.emroute1.ornl.gov by emroute1.ornl.gov (PMDF V6.4 #31561) id <0KJL00L0106FNZ@emroute1.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Wed, 13 May 2009 08:03:51 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.ornl.gov by emroute1.ornl.gov (PMDF V6.4 #31561) id <0KJL00L02064NT@emroute1.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Wed, 13 May 2009 08:03:51 -0400 (EDT) Original-Received: from orbhost.net (orbhost.com [207.218.123.239]) by emroute1.ornl.gov (PMDF V6.4 #31561) with ESMTP id <0KJL00BV706328@emroute1.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Wed, 13 May 2009 08:03:40 -0400 (EDT) Original-Received: from [192.168.1.22] (25.94.85-79.rev.gaoland.net [79.85.94.25]) by orbhost.net (8.13.7/8.13.7) with ESMTP id n4DC3aAJ220441 for ; Wed, 13 May 2009 08:03:37 -0400 (EDT) X-Envelope-from: ldg@ulysium.net User-Agent: Microsoft-Entourage/12.17.0.090302 Thread-Topic: Lsm problem after a crash Thread-Index: AcnTwtUneHOsSV5E5EeQZaN9qZATsg== X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spam4.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,BOTNET_SOHO, RCVD_IN_BRBL_RELAY autolearn=no version=3.2.5 X-Spam-Relay-Country: US FR Xref: news.gmane.org gmane.os.tru64.managers:9389 Archived-At: Hello all, I'm experiencing a serious problem with my lsm setup after a crash. System is tru64 5.1b and I have 7 disks, one of them was a hot spare and the other 6 disks are a set of 3 with mirrors on all. I thought perhaps a drive failure caused the crash, it happened while I was deleting a large folder that contained a file that wouldn't get listed with ls but that was causing an error when doing a du The deletion of that folder (over 600mb) caused a kernel panic when reaching that bad file. After that kernel panic, the boot wouldn't succeed because the fsck would fail on that volume and caused a loop. I had one of the drives from that mirrored volume pulled out and that allowed the boot to succeed, which I think it most likely because removing that drive only broke the mirror, which brought it offline and prevented the fsck from working on it. Now after the boot succeeded, all the volumes started re-syncing and the broken mirror caused a relocation to the hot spare. All this would probably have worked, but before all was finished, a crash happened again and since that reboot that mirrored volume that was having its mirror relocated to the hot spare stayed offline in a disabled state. I waited for all the other re-syncing and relocations to be finished before attempting to bring back online that rebuilt volume, but couldn't. On the drives that contained that volume, there are actually 3 volumes, all mirrored, but the two small volumes are back to a normal mirrored and online state with the relocated plexes to the hot spare. Only that large volume stayed offline: v srvvol fsgen DISABLED 59864864 - ACTIVE - - pl srv-pl-02 srvvol DISABLED 59864863 - ACTIVE - - sd srv-sd-02 srv-pl-02 ENABLED 59864863 0 - - - pl srv-pl-01 srvvol DISABLED 59864864 - STALE - - sd spare-02 srv-pl-01 ENABLED 59864864 0 - - - Everything else is kosher. I'm wondering if the byte count may have something to do with this, the subdisk with the spare name has an extra byte compared to the other original one. Trying to bring back online that volume gave this error: volume start srvvol lsm:volume: ERROR: Volume srvvol has no complete, non-volatile ACTIVE plexes I tried disabling the spare plex, since it's marked as stale, and then finally disassociated it: volplex dis srv-pl-01 But after that plex was removed from that volume: v srvvol fsgen DISABLED 59864864 - ACTIVE - - pl srv-pl-02 srvvol DISABLED 59864863 - ACTIVE - - sd srv-sd-02 srv-pl-02 ENABLED 59864863 0 - - - I get the same error while trying to reactivate it. The plex srv-pl-02 should still have the data from the broken mirror, the plex srv-pl-01 is the one that's gone from removing the drive. So why are the volume and plex disabled and active but can't be brought back online? How can I fix this? I'm stuck. Thanks for any hint, -- Didier Godefroy mailto:dg@ulysium.net