Disk failure

Klorese, Roger B.A. rogerk@veritas.com
Fri, 20 Mar 1998 11:12:01 -0800


We are also working on an "unrelocate" capability for (not immediately)
future releases.

>-----Original Message-----
>From:	Doug Hughes [SMTP:Doug.Hughes@Eng.Auburn.EDU]
>Sent:	Friday, March 20, 1998 10:08 AM
>To:	ssa-managers@eng.auburn.edu
>Subject:	Re: Disk failure 
>
>>
>>Hello
>>
>>After a disk failure, the hot-relocation splitted a subdisk of a stripped
>>and
>>mirrored volume into two subdisks with different sizes on two different
>>physical
>>disks.
>>
>>  Original-Layout                         Layout after Failure
>>+----------------------------------+    +----------------------------------+
>>| +-------------+  +-------------+ |    | +-------------+  +-------------+ |
>>| |+-----------+|  |+-----------+| |    | |+------+----+|  |+-----------+| |
>>| || A-01      ||  || C-01      || |    | || F-09 |G-10||  || C-01      || |
>>| |+-----------+|  |+-----------+| |    | |+------+----+|  |+-----------+| |
>>| || B-01      ||  || D-01      || |    | || B-01      ||  || D-01      || |
>>| |+-----------+|  |+-----------+| |    | |+-----------+|  |+-----------+| |
>>| |  vol01-01   |  |  vol01-02   | |    | |  vol01-01   |  |  vol01-02   | |
>>| +-------------+  +-------------+ |    | +-------------+  +-------------+ |
>>|                                  |    |                                  |
>>|                                  |    |                                  |
>>|               vol01              |    |               vol01              |
>>+----------------------------------+    +----------------------------------+
>>
>>
>>
>>+-------------------------------------------------------------+
>>                  |
>>   |
>> Physical-Disk A  |            Physical-Disk F                Physical-Disk
>>G   |
>>+--------------+  |           +---------+----+
>>+--------------+   |
>>| A-01         | -+-------->  | F-09    |    |               |
>>|   |
>>|--------------|              |---------+----|
>>|---------+----|   |
>>|              |              |              |               |
>>|G-10| <-+
>>|--------------|              |--------------|
>>|---------+----|
>>|              |              |              |               |
>>|
>>|--------------|              |--------------|
>>|--------------|
>>|              |              |              |               |
>>|
>>+--------------+              +--------------+
>>+--------------+
>> failed disk                  
>>
>>How can I move the two subdisks F-09 and G-10 back to the original subdisk
>>A-01
>>after replacing the failed disk? I like to have the original layout.
>>
>>How can I do it with the commandline command.
>>How can I do it with the graphical interface "vxva".
>>
>
>What you need to do is first: get your current vxprint output
>vxprint -g <diskgroup> -Gsdt 
>
>now, look for F-09 and G-10 in this output
>get the size from F-09 and G-10 (let's call them fsize and gsize)
>
>vxmake -g <diskgroup> sd A-01 dm_name=A dm_offset=0 len=fsize
>vxmake -g <diskgroup> sd A-02 dm_name=A dm_offset=fsize len=gsize
>vxsd -g <diskgroup> -o rm mv F-09 A-01
>vxsd -g <diskgroup> -o rm mv G-10 A-02
>vxsd -g <diskgroup> join A-01 A-02 A-01
>
>In fact, we had a disk failure in an SSA just last night and I had
>to do something very similar to this.
>You can do this on a live file system too. It works just fine. Don't
>worry about data integrity, it'll be fine.
>
>
>As for vxva, You should be able to just drag and drop the subdisks onto
>the A VMdisk and then do a join operation in the GUI. You may have to do
>a lot of scrollbarring up and down to do this, or you could construct
>your own 'view' in the GUI, but that's outside the scope of this example. ;)
>
>
>--
>____________________________________________________________________________
>Doug Hughes					Engineering Network Services
>System/Net Admin  				Auburn University
>			doug@eng.auburn.edu
>
>