


You can choose an uninitialized disk, in which case the disk willīe initialized, or you can choose a disk that you have already You will be prompted forĪ disk name to replace and a disk device to use as a replacement. That you removed with the “Remove a disk for replacement” menu Use this menu operation to specify a replacement disk for a disk Inform VxVM of the changes done and bring the disk back to Online using the volume # vxdctl # vxdiskadm Reconfigure the device using # cfgadm -c configure # devfsadm -Cĥ. Insert the disk and configure the disk in solaris as below. Unconfigure the disk using cfgadm and remove the disk # cfgadm -c unconfigure c3::dsk/c3t0d0Ĥ. Removal of disk hug-dg04 completed successfully. Select “Replace a failed or removed disk” from the main menuĬontinue with operation? (default: y) y The disk, allowing replacement of the disk. The disk name will be kept, along with any volumes using The requested operation is to remove disk hug-dg04 from disk group Vxvm:vxdisk: ERROR: Device c3t0d0s2: get_contents failed: The following volumes will lose mirrors as a result of this Initialized disks that are not part of a disk group, you will be This changes the stateįor the disk name to a “removed” disk. Use this menu operation to remove a physical disk from a disk

Menu: VolumeManager/Disk/RemoveForReplace Inform VxVM you want to remove the # vxdiskadmġ2 Mark a disk as a spare for a disk groupġ5 Exclude a disk from hot-relocation useġ6 Make a disk available for hot-relocation useġ7 Prevent multipathing/Suppress devices from VxVM’s viewġ8 Allow multipathing/Unsuppress devices from VxVM’s viewġ9 List currently suppressed/non-multipathed devicesĢ1 Get the newly connected/zoned disks in VxVM view I took the session output and added some descriptions to be more informative.įeb 22 15:02:01 hug1 scsi: WARNING: (sd31):įeb 22 15:02:01 hug1 disk not responding to selectionįeb 22 15:02:39 hug1 scsi: WARNING: (sd31):įeb 22 15:02:39 hug1 disk not responding to selectionĢ. What is the functionality of the file /etc/vx/reconfig.d/state.I used this procedure to replace failed disk in VxVM on Sun Firs v240(Solaris 9) and VxVM 4. This is my actual requirement so was asking all the above above and below questions.
#Failed root disk using veritas volume manager install
OS=Solaris 10 3/05 (Initial Release), SFHA=4.1 (VxVM,VxFS,VCS), Env=Sparc,ġ) Upgrade OS from 10 3/05 to 10 1/13 Update 11Ģ) Upgrade SFHA from 4.1 to 5.1SP1RP4 (OR) maybe 6.0.ġ) Break root mirror and perform Sanitary reboot using both disks (rootdisk and rootmirror)Ģ) Install on the rootdisk the Liveupgrade Patches & Packages ( Outlined in Oracle Doc ID 1004881.1)ģ) On rootdisk, issue lucreate command to create a new boot environment on rootmirror (now dis-associated from rootdg) and Upgrade to Solaris 10 1/13 Update 11 with LiveUpgrade using ISO Image.Ĥ) Once upgraded to Sol 10 Update 11, Upgrade SFHA from 4.1 -> 4.1MP2 -> 5.1SP1 -> 5.1SP1RP4 (OR) 6.0 Thank you everybody for your response as always. Nvramrc=devalias vx-rootdg01 vx-rootdg02 the root volume plex has been disassociated can we still use both the above listed device aliases to boot OS from ok prompt ?

What is the significance of having 2 subdisks for the plex rootvol-01 ? If the Plex rootvol-01 is a mirrored copy of another plex rootvol-02 then the size and number of subdisks in each plex should be the same or not ? Plex rootvol-02 has only 1 subdisk rootdg02-01, whereas Plex rootvol-01 has 2 subdisks rootdg01-B0 and rootdg01-02. How do we accomplish the same in the above VxVM configuration ? Suppose in SVM, d0 is a mirror and d10 and d20 are its submirrors, we issue metadetach d0 d20 command to detach the submirror. I do not want to delete the plexes or the mirror copy. Now i'd like to break the mirror and keep the mirror copy for backout purpose as i will be upgrading on the actual root disk. Sd rootdg02-01 rootvol-02 ENABLED 60821952 0 -įilesystem size used avail capacity Mounted onįrom above configuration we see root file system is configured on volume rootvol which is a mirror. Pl rootvol-02 rootvol ENABLED 60821952 - ACTIVE. Sd rootdg01-B0 rootvol-01 ENABLED 1 0 - Block0 Pl rootvol-01 rootvol ENABLED 60821952 - ACTIVE. V rootvol root ENABLED 60821952 - ACTIVE. TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
