From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Malek Shabou Newsgroups: gmane.os.tru64.managers Subject: change a failed disk on lsm Date: Mon, 28 Jul 2003 18:16:04 +0200 Organization: AFNIC Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20030728181604.1c59003f.Malek.Shabou@nic.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1059409273 10650 80.91.224.249 (28 Jul 2003 16:21:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2003 16:21:13 +0000 (UTC) Cc: malek.shabou@nic.fr Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jul 28 18:21:11 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19hAfV-0002Co-00 for ; Mon, 28 Jul 2003 18:16:13 +0200 Original-Received: (qmail 27622 invoked by uid 5); 28 Jul 2003 16:16:10 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 27612 invoked by uid 49493); 28 Jul 2003 16:16:10 -0000 Original-Received: from Malek.Shabou@nic.fr by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(1.3/5.0):. Processed in 0.513299 secs); 28 Jul 2003 16:16:10 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 28 Jul 2003 16:16:09 -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 <0HIQ00IGWT6VS5@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 28 Jul 2003 12:16:09 -0400 (EDT) Original-Received: from maya20.nic.fr (maya20.nic.fr [192.134.4.152]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HIQ00MHPT6TM5@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 28 Jul 2003 12:16:06 -0400 (EDT) Original-Received: from fairuz.nic.fr (fairuz.nic.fr [192.134.4.92]) by maya20.nic.fr (8.12.4/8.12.4) with ESMTP id h6SGG4u91504843; Mon, 28 Jul 2003 18:16:04 +0200 (CEST) Original-Received: from fairuz.nic.fr (localhost.localdomain [127.0.0.1]) by fairuz.nic.fr (Postfix) with SMTP id C944BA8002; Mon, 28 Jul 2003 18:16:04 +0200 (CEST) Original-To: tru64-unix-managers@ornl.gov X-Mailer: Sylpheed version 0.9.3claws (GTK+ 1.2.10; i686-pc-linux-gnu) Xref: main.gmane.org gmane.os.tru64.managers:4954 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4954 Hi, i have a DS20E with one mirror (2 disk: dsk0, dsk1) and a spare (dsk2) i spare disk has failed, i hav changed it with a new one (dsk3) and when i try to make the change on lsm (voldiskadm) i have this error: ######### Replace a failed or removed disk Menu: VolumeManager/Disk/ReplaceDisk Use this menu operation to specify a replacement disk for a disk that you removed with the "Remove a disk for replacement" menu operation, or that failed during use. You will be prompted for a disk name to replace and a disk device to use as a replacement. You can choose an uninitialized disk, in which case the disk will be initialized, or you can choose a disk that you have already initialized using the Add or initialize a disk menu operation. Select a removed or failed disk [,list,q,?] list Disk group: rootdg DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE dm spare01 - - - - REMOVED Select a removed or failed disk [,list,q,?] spare01 Select disk device to initialize [
,list,q,?] list DEVICE DISK GROUP STATUS dsk0a root01 rootdg online dsk0b swap01 rootdg online dsk0d var01 rootdg online dsk0e local01 rootdg online dsk0g usr01 rootdg online dsk0h dsk0h rootdg online dsk1a root02 rootdg online dsk1b swap02 rootdg online dsk1d dsk1d-AdvFS rootdg online dsk1e dsk1e-AdvFS rootdg online dsk1g dsk1g-AdvFS rootdg online dsk1h dsk1h rootdg online dsk2 - - error dsk3 - - error Select disk device to initialize [
,list,q,?] dsk3 The following disk device has a valid disk label, but does not appear to have been initialized for the Logical Storage Manager. If there is data on the disk that should NOT be destroyed you should encapsulate the existing disk partitions as volumes instead of adding the disk as a new disk. dsk3 Initialize this device? [y,n,q,?] (default: y) y The requested operation is to initialize disk device dsk3 and to then use that device to replace the removed or failed disk spare01 in disk group rootdg. Continue with operation? [y,n,q,?] (default: y) y lsm:lsmdiskinit: ERROR: No special device file for dsk3 found Initialization of disk device dsk3 failed. Error: #### any idea ? PS: disklabel -e dsk3 works fine Regards, -- Malek Shabou E-mail: nic@nic.fr AFNIC Tel: +33 1 39 30 83 00 Immeuble international, 2 rue Stephenson Fax: +33 1 39 30 83 01 Saint-Quentin-En-Yvelines 78180 Montigny-Le-Bretonneux ### Utiliser http://www.nic.fr/zonecheck/ pour verifier vos domaines ###