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: Problem with lost configuration in LSM Date: Mon, 13 Dec 2010 23:35:07 +0100 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: dough.gmane.org 1292279752 1019 80.91.229.12 (13 Dec 2010 22:35:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Dec 2010 22:35:52 +0000 (UTC) To: Tru64 Unix managers Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Dec 13 23:35:48 2010 Return-path: Envelope-to: gotm-tru64-unix-managers@lo.gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1PSGzi-0005FH-Pl for gotm-tru64-unix-managers@lo.gmane.org; Mon, 13 Dec 2010 23:35:47 +0100 Original-Received: (qmail 570 invoked by uid 49509); 13 Dec 2010 22:35:32 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 559 invoked by uid 49501); 13 Dec 2010 22:35:32 -0000 Original-Received: from 160.91.86.17 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.86.17):SA:0(-2.6/5.0):. Processed in 0.767845 secs); 13 Dec 2010 22:35:32 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute2.ornl.gov (160.91.86.17) by sws1.ornl.gov with SMTP; 13 Dec 2010 22:35:31 -0000 Original-Received: from emroute2.ornl.gov ([127.0.0.1]) by emroute2.ornl.gov (PMDF V6.5-x5 #31823) with ESMTP id <0LDE006L91F6V7@emroute2.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Mon, 13 Dec 2010 17:35:31 -0500 (EST) Original-Received: from CONVERSION-DAEMON.emroute2.ornl.gov by emroute2.ornl.gov (PMDF V6.5-x5 #31823) id <0LDE00C011F62G@emroute2.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Mon, 13 Dec 2010 17:35:30 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute2.ornl.gov by emroute2.ornl.gov (PMDF V6.5-x5 #31823) id <0LDE00B021EWZS@emroute2.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Mon, 13 Dec 2010 17:35:30 -0500 (EST) Original-Received: from orbhost.net (orbhost.com [207.218.123.239]) by emroute2.ornl.gov (PMDF V6.5-x5 #31823) with ESMTP id <0LDE00KT01EVVS@emroute2.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Mon, 13 Dec 2010 17:35:20 -0500 (EST) Original-Received: from [192.168.0.10] (cro10-3-88-186-79-57.fbx.proxad.net [88.186.79.57]) by orbhost.net (8.13.7/8.13.7) with ESMTP id oBDMZEUG310960 for ; Mon, 13 Dec 2010 17:35:18 -0500 (EST) X-Envelope-from: ldg@ulysium.net User-Agent: Microsoft-Entourage/12.28.0.101117 Thread-Topic: Problem with lost configuration in LSM Thread-Index: AcubFf4bVMCi0r6m0EG4cR9JCddoIA== X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on email.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_05,BOTNET_SOHO autolearn=ham version=3.3.1 X-Spam-Timing: total 6902 ms - signal_user_changed: 8 (0.1%), parse: 6 (0.1%), extract_message_metadata: 20 (0.3%), get_uri_detail_list: 25 (0.4%), tests_pri_-1000: 20 (0.3%), tests_pri_-950: 4 (0.1%), tests_pri_-900: 4 (0.1%), tests_pri_-400: 102 (1.5%), check_bayes: 89 (1.3%), tests_pri_0: 6385 (92.5%), check_dkim_signature: 3 (0.0%), check_dkim_adsp: 178 (2.6%), check_spf: 2112 (30.6%), poll_dns_idle: 2096 (30.4%), check_razor2: 242 (3.5%), check_dcc: 344 (5.0%), check_pyzor: 277 (4.0%), tests_pri_500: 22 (0.3%), tests_pri_1000: 19 (0.3%), total_awl: 14 (0.2%), check_awl: 4 (0.1%), update_awl: 3 (0.0%), learn: 254 (3.7%), rewrite_mail: 0.00 (0.0%) X-Spam-Relay-Country: US FR Xref: news.gmane.org gmane.os.tru64.managers:9469 Archived-At: Hello all who's left on this list, I haven't had any troubles with my systems for years now so I haven't been active on this list, but now I have a problem that's becoming urgent. What happened is that I had a failed disk that I replaced and I was only able to reestablish part of the mirroring that was there before. The machine is an alpha 1200 and I have drives in all 7 bays, with the scsi bus split and two controllers, so I have 4 drives on one controller and 3 on the other. I have my disks named as dsk0..dsk6 with dsk0, dsk1, dsk2 and dsk6 on the first scsi controller on the 4 top bays, and then dsk3, dsk4 and dsk5 on the other controller. The dsk0 is the boot disk, with root, swap, usr and var in dsk0a, dsk0b, dsk0d and dsk0f respectively. That disk was encapsulated and it is mirrored on dsk3. I was thinking I had several configuration copies, and I pretty sure I did, but now after replacing the dsk3 that had failed, after trying to reestablish all the mirroring, something must've happened and there are no longer any configuration copies found. To replace the failed disk, I swapped it physically and used hwmgr to scan the new disk and then I swapped the name dsk3 with the newly created dsk10 with dsfmgr so I would have that new drive in the same location and with the same name as the previous one. So far, this worked fine. Then I reestablished the mirroring on the root volume using voldiskadm with option 4 first to remove the failed disk and then re-add it with the option 5 which worked fine. I did the same thing with the swap volume and that also went fine. However when I tried doing this with the usr and var volumes, I was getting some errors such as those: lsm:volplex: ERROR: Volume usrvol, plex usr-pl-02, block 0: Plex write: Error: Write failure lsm:volplex: ERROR: sd usr-sd-02 in plex usr-pl-02 failed during attach lsm:volplex: ERROR: I/O error on plex usr-pl-02, not attached to volume usrvol lsm:volplex: ERROR: DRL write to volume usrvol failed: No such device or address lsm:volplex: ERROR: Write of active log to volume usrvol failed: No such device or address lsm:volplex: ERROR: I/O error on plex usrvol-01, not attached to volume usrvol lsm:volplex: ERROR: Volume varvol, plex var-pl-02, block 0: Plex write: Error: Write failure lsm:volplex: ERROR: sd var-sd-02 in plex var-pl-02 failed during attach lsm:volplex: ERROR: I/O error on plex var-pl-02, not attached to volume varvol lsm:volplex: ERROR: DRL write to volume varvol failed: No such device or address lsm:volplex: ERROR: Write of active log to volume varvol failed: No such device or address lsm:volplex: ERROR: I/O error on plex varvol-01, not attached to volume varvol I think it's mostly because of the configuration copies and the fpa logging. I had to reverse to the previous state on both and then finally I was able to get the usr volume back to normal as well, but was left with that var volume that still wouldn't want to come back to mirroring. At some point I was no longer able to get any disk or other info from the commands like voldisk... Volprint... etc... And I thought the vold daemon had hung or something like that, so I tried issuing a "vold -k", which didn't change anything. I tried stopping the vold using voldctl to be able to restart it manually but it starts and has no configuration copies to find. Trying again to use voldisk, I get this: voldisk list lsm:voldisk: ERROR: Cannot get records from vold: Record not in disk group So vold is running, responding, but has no configuration copies to find. I only have one disk group, rootdg and besides the mirror on dsk0/dsk3 for the root/swap/usr/var boot disk, I have dsk1/dsk4 and dsk2/dsk5 as mirrors for other data volumes and some space reserved on each pairs for an extra swap volume (3 swap volumes total). For now everything still works on the machine but with an lsm configuration that's broken I could get in serious trouble if something else happened now. I was thinking I should try to add more configuration copies, but since nothing works right now I think it wouldn't work. And I'm not certain of the exact commands to use to manually add configuration copies and specify where to put them. Are there lsm gurus left on this list who could give me a hint? How can I get out of this bad situation? Thanks all, -- Didier Godefroy mailto:dg@ulysium.net