From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dustin Marquess Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Replacing a failing disk in an AS800 Date: Tue, 11 Mar 2008 22:10:40 -0600 Message-ID: <1aa643d80803112110qf7f2264h3944f1bbfe5f91ca@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205295079 23696 80.91.229.12 (12 Mar 2008 04:11:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2008 04:11:19 +0000 (UTC) To: tru64-unix-managers@ornl.gov Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Mar 12 05:11:45 2008 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 1JZIJZ-0000aW-W2 for gotm-tru64-unix-managers@gmane.org; Wed, 12 Mar 2008 05:11:42 +0100 Original-Received: (qmail 3162 invoked by uid 49509); 12 Mar 2008 04:10:55 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 3151 invoked by uid 49501); 12 Mar 2008 04:10:54 -0000 Original-Received: from 160.91.4.110 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.110):SA:0(-2.6/5.0):. Processed in 1.7962 secs); 12 Mar 2008 04:10:54 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute3.ornl.gov (160.91.4.110) by sws1.ornl.gov with SMTP; 12 Mar 2008 04:10:52 -0000 Original-Received: from emroute3.ornl.gov ([127.0.0.1]) by emroute3.ornl.gov (PMDF V6.3-x14 #31501) with ESMTP id <0JXL00MD7NM4Z7@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Mar 2008 00:10:52 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.3-x14 #31501) id <0JXL00301NM4CI@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Mar 2008 00:10:52 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.3-x14 #31501) id <0JXL00302NLVCE@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Mar 2008 00:10:52 -0400 (EDT) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by emroute3.ornl.gov (PMDF V6.3-x14 #31501) with ESMTP id <0JXL0031UNLU81@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Mar 2008 00:10:43 -0400 (EDT) Original-Received: by fg-out-1718.google.com with SMTP id e21so3696036fga.14 for ; Tue, 11 Mar 2008 21:10:42 -0700 (PDT) Original-Received: by 10.82.150.20 with SMTP id x20mr18514942bud.16.1205295040042; Tue, 11 Mar 2008 21:10:40 -0700 (PDT) Original-Received: by 10.82.164.12 with HTTP; Tue, 11 Mar 2008 21:10:40 -0700 (PDT) X-Envelope-from: dmarquess@gmail.com Content-disposition: inline DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=fODu863nM467Oq8TWRVODSdMaoJ4kwWWIqFnJs2kDR0=; b=pjhpVZ3AhHDQcTJ5AHZ5753gko2Xm0IH2A5EM0HEEgM+6l0VZuVKKl2+Ui4JQcngD0z3z/SkRfFzSmdXnk+aCJUZZmu5nU5dR+UIvBNLmcgknkwuGShd1hwyLKLZX46XPH4kroBjlYN6XVNkZEH8F5yYa0JMbslyb2jDkm99yS8= X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on spam4.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.4 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=oU3Pz1gqOdk1rw0yX+InT2RGlQzkmb5klLLIZ3eF7I78L1dQV4LzW8MyJhM/KEgpN322ZAcYizwj2XZH2DFgLjqXbWyKhbmNfCQnZiT4Xfku5NT6W5x0Hsq1ETOZeqruY/tlBdK8G62mGvIAtdRe8CytakR95TjXfgbLlKJa3P0= Xref: news.gmane.org gmane.os.tru64.managers:9287 Archived-At: All, Sorry about the long delay in the summary. I had to source the disk and schedule a time to do the work. After playing with the system a little, it appears that I'm going to have to add the new drive to the system (using an SCA adapator since the bays are full) and use volevac (per John Brusche) to make the system happy. Below are the replies I received. I want to say thank you to everybody who replied. -Dustin ============== Jeffrey Hummel ============== I never tried that. I always used RAID 1 with LSM so I was able to use the commands to build a replacement and migrate it. If you use dd, you will need to specify the c partition. Beyond that, the only problems I can think of are: 1. When booting from the cd, it will try to read the device database on your disk 2. There is a boot driver that dd will not touch and might not be the same as the other disks. I don't know if this will be a problem because I'm not sure how the stripe is touched when the system is booted. I can't wait to hear what you hear from the rest of the community. =========== John Lanier =========== Since this is a striped volume, this will require: a. Removing the stripe (RAID0; no redundancy) b. Recreating the stripe c. Restoring the /var data from backup I don't have the exact steps, but they should be detailed here: http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/ARH9BDTE/TITLE.HTM ... Section 4.3.4 "Creating LSM Volumes with a Single Striped Plex" ... Since this is the "/var" filesystem, this can be done while either booted from CD or in single-user mode. ============ John Brusche ============ Please consider using /usr/sbin/volevac [-g diskgroup] medianame [new_medianame...] Breaking a LSM stripe without involving LSM is a very bad idea. Insert disk equal or larger size. Boot into single user from normal bootdef_dev >>> b -fl s Tru64 discovers new disk -->> dskxx # mountroot # mount /usr # disklabel -rw dskxx # /usr/sbin/voldiskadd dskxx # /usr/sbin/volevac -g rootdg oldmedia newmedia Above is from memory, so check manpages... ============= Richard Loken ============= Personally, I would not use dd to copy a drive under most circumstances but rather dump and restore because I think the drive will be cleaner that way: there will be less disk fragmentation, few sparse directory files, etc. You would have to disklabel the device and build the partitions like the old one, mark it as bootable if that is appropriate but not of those steps take very long. Your procedure is identical to what I would do.