change a failed disk on lsm

From: Malek Shabou (Malek.Shabou@nic.fr)
Date: Mon Jul 28 2003 - 12:16:04 EDT


 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 [<disk>,list,q,?] list
                                                                                                                                    
Disk group: rootdg
                                                                                                                                    
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
                                                                                                                                    
dm spare01 - - - - REMOVED
                                                                                                                                    
                                                                                                                                    
Select a removed or failed disk [<disk>,list,q,?] spare01
                                                                                                                                    
Select disk device to initialize [<address>,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 [<address>,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 ###


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:28 EDT