SUMMARY: SUN Storedge D1000 Disk Upgrade

From: Alan G Beardsley <>
Date: Thu Jan 22 2004 - 10:55:53 EST
Thanks to all that replied:   Matthew Stier,   Simon McCartney,    Ronny

While I have not yet had an opportunity to do the upgrade, the following
two methods outlined below should work OK.
The following two methods for upgrading 18 GB disks to 36 GB disks  in a
SUN Storedge D1000 RAID system using Disksuite are included here:

Method 1)    Assuming you have a mirror (d0) comprise of two components
(d1) and (d2), and that you have backed up the data for disaster recovery

1) Unmount the affect filesystem

2) Metadetach one half of the mirror. [ metadetach d0 d2;]

3) Recursively metaclear the primary metadevice. [metaclear -r d0; # Note:
Metaclears d0 and d1]

4) Remove and replace the drives comprising the cleared mirror. (Replace
the drives which had comprised d1)

5) Use format to partition the new drives.  (At minimum partition one drive
using format, and then use 'prtvtoc' and 'fmthard', to clone the

6) Metainit the new mirror. [metainit d1; metainit d0;]

7) Newfs the new mirror. [newfs /dev/md/rdsk/d0;]

8) Mount the new mirror. [mount /dev/md/dsk/d0 /mnt;]

9) Change directory to the mount point [cd /mnt;]

10) Use ufsdump/ufsrestore to copy the data. [ufsdump 0f - /dev/md/rdsk/d2
| ufsrestore rf - ; # Remove the 'restoresymboltable' when done. ]

11) Once the data is copied, you repeat steps 3, 4 5, and 6 with
metapartition d2. [metaclear d2; <replace and format drives>; metainit d2;]

12) As long as you are using the same partitioning on all drives,
metadevices d1 and d2 should have the same number of blocks, and metadevice
d2 can be attached metadevice d0. [metattach d0 d2;]

Method 2)   You can do as suggested, assuming the following:

d10: Mirror
    Submirror 0: d20
      State: Okay
    Submirror 1: d30
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 412965 blocks

d20: Submirror of d10
    State: Okay
    Size: 412965 blocks
    Stripe 0:
        Device              Start Block  Dbase State        Hot Spare
        c0t1d0s0                   0     No    Okay

d30: Submirror of d10
    State: Okay
    Size: 412965 blocks
    Stripe 0:
        Device              Start Block  Dbase State        Hot Spare
        c0t0d0s0                   0     No    Okay

We'll do d20 first.

metadetach d10 d20
metaclear d20
[remove disks]
[insert new disks]
devfsadm           [This is Solaris8, I understand this can be done with
                         drvconfig and disks, it rescans the SCSI bus]
[verify the news disks can be seen, fdisk]
metainit d20 1 x disk1 disk2 disk3         [where x is number of disk,
                                                             etc is s2 on
each disk etc]
metattach d10 d20

Use metatool to wait for sync to complete

repeat for other half of mirror

Then use "growfs /mnt/pt /dev/md/rdsk/d10" to grow the filesystem.

I've done all of this live under S8, with no problems.

You may have to use "metadb -d" to remove any meta databases held on disks
you wish to remove, use "metadb" to verify the location of your meta
sunmanagers mailing list
Received on Thu Jan 22 10:55:44 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:25 EST