Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-2287066.1
Update Date:2018-05-08
Keywords:

Solution Type  Technical Instruction Sure

Solution  2287066.1 :   Using a 146GB FC-AL disk to replace a 72GB FC-AL disk which is part of a mirrored volume.  


Related Items
  • Sun Fire 280R Server
  •  
  • Sun Netra 20 Server
  •  
  • Sun Fire V480 Server
  •  
  • Sun Fire V890 Server
  •  
  • Sun Enterprise 3500 Server
  •  
  • Sun Fire V880z Visualization Server
  •  
  • Sun Fire V880 Server
  •  
  • Sun Fire V490 Server
  •  
Related Categories
  • PLA-Support>Sun Systems>SPARC>Workgroup Servers>SN-SPARC: SF-Vx80
  •  


Availability of replacement 72GB FC-AL drives may lead to replacement of a failed 72GB FC-AL drive with a 146GB FC-AL drive.  If the failed 72GB drive is part off a mirrored root volume, the replacement 146GB drive will need to be re-labeled as a 72GB drive.

In this Document
Goal
Solution
References


Applies to:

Sun Fire 280R Server - Version All Versions to All Versions [Release All Releases]
Sun Netra 20 Server - Version All Versions to All Versions [Release All Releases]
Sun Fire V480 Server - Version All Versions to All Versions [Release All Releases]
Sun Fire V490 Server - Version All Versions to All Versions [Release All Releases]
Sun Fire V880z Visualization Server - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Goal

Replacement of a submirror of a ZFS or SVM mirrored root drive with a  larger disk.

Solution

Part of the process of replacing one disk belonging to a mirrored root volume is to copy the SMI label or VTOC from the active sub-mirror to the replacement disk drive with a command sequence such as

prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t1d0s2

 

In the case where the replacement drive is larger than the drive being replaced, this can fail with an error such as

Partition 0 not aligned on cylinder boundary: " 0 2 00 16780224 118173888 134954111"

 

In order to copy the label from the active sub-mirror to the replacement disk drive it is necessary to first make the replacement disk look as though it has the same capacity as the disk it is replacing.  For the case of a 146GB drive that will be replacing a 72GB drive, you will need to take the intermediate step of changing the disk type to 72GB.  This can be done with the type and label subcommands of the format command.

root@f280r-sca11-c [/]
# format -d c0t1d0
Searching for disks...done
selecting c0t1d0
[disk formatted]

FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit


format> current
Current Disk = c0t1d0
<SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000000879f2603,0

format> inquiry
Vendor: HITACHI
Product: HUS1014FASUN146G
Revision: 2A08


format> verify

Primary label contents:

Volume name = < >
ascii name = <SUN146G cyl 14087 alt 2 hd 24 sec 848>
pcyl = 14089
ncyl = 14087
acyl = 2
nhead = 24
nsect = 848
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 12 129.19MB (13/0/0) 264576
1 swap wu 13 - 25 129.19MB (13/0/0) 264576
2 backup wu 0 - 14086 136.71GB (14087/0/0) 286698624
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 26 - 14086 136.46GB (14061/0/0) 286169472
7 unassigned wm 0 0 (0/0/0) 0

format> type

AVAILABLE DRIVE TYPES:
0. Auto configure
1. Quantum ProDrive 80S
2. Quantum ProDrive 105S
3. CDC Wren IV 94171-344
4. SUN0104
5. SUN0207
6. SUN0327
7. SUN0340
8. SUN0424
9. SUN0535
10. SUN0669
11. SUN1.0G
12. SUN1.05
13. SUN1.3G
14. SUN2.1G
15. SUN2.9G
16. Zip 100
17. Zip 250
18. Peerless 10GB
19. SUN72G
20. SUN146G
21. other
Specify disk type (enter its number)[20]: 19
selecting c0t1d0
[disk formatted]


format> label
Ready to label disk, continue? y

format> current
Current Disk = c0t1d0
<SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000000879f2603,0

format> verify

Primary label contents:

Volume name = < >
ascii name = <SUN72G cyl 14087 alt 2 hd 24 sec 424>
pcyl = 14089
ncyl = 14087
acyl = 2
nhead = 24
nsect = 424
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 14086 68.35GB (14087/0/0) 143349312
1 unassigned wu 0 0 (0/0/0) 0
2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
3 unassigned wu 0 0 (0/0/0) 0
4 unassigned wu 0 0 (0/0/0) 0
5 unassigned wu 0 0 (0/0/0) 0
6 unassigned wu 0 0 (0/0/0) 0
7 unassigned wu 0 0 (0/0/0) 0

format> inquiry
Vendor: HITACHI
Product: HUS1014FASUN146G
Revision: 2A08


format> quit

root@f280r-sca11-c [/]
#

 

Note that while the product field in the inquiry data still reports a 146GB drive, the VTOC or SMI label is now that of a 72GB drive.

 

Now the label from the active sub-mirror can be copied to the replacement drive.

root@f280r-sca11-c [/]root@f280r-sca11-c [/]
# prtvtoc /dev/rdsk/c1t1d0s2 | fmthard -s - /dev/rdsk/c1t0d0s2
fmthard: New volume table of contents now in place.

 

 

 

 

 

References

<NOTE:2328288.1> - How to Replace a Disk in a ZFS rpool for a Sparc Solaris System
<NOTE:1009440.1> - Replacing boot disk with bigger capacity in cluster environment with Veritas Volume Manager
<NOTE:2252620.1> - Sparc Servers with Fiber channel disk drives: Replacing a smaller older disk with a newer larger capacity disk
<NOTE:1911174.1> - A 73 GB Drive may be replaced with a 146 GB Drive on some products
<NOTE:1007367.1> - Removing and Replacing the Sun Fire[TM] 280R , Sun Fire[TM] V480 ,Sun Fire[TM] V490 ,Sun Fire[TM] V880 ,Sun Fire[TM] V880z or Sun Fire[TM] V890 Hot-Pluggable Internal Disk Drives.
<NOTE:1010753.1> - Solaris Volume Manager (SVM) How to Replace Internal System FC-AL Disks in 280R, V480, V490, V880, V890, and E3500 Servers
<NOTE:1386408.1> - Solaris: How to Copy the Partition Table From One Disk to Another With prtvtoc and fmthard Command also for Mirrored Disks and Solaris Volume Manager (SVM)

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback