Breaking a mirrored disk on Solaris 2.6

Breaking a mirrored disk on Solaris 2.6

Post by Len Johnso » Tue, 21 Mar 2000 04:00:00



We have a 450 with a mounted and, I'm told, mirrored set of disks.

$ df -k | grep oracle
/dev/md/dsk/d6       47635001 22976160 24182491    49%    /oracle
$ ls -l /dev/md/dsk/d6
lrwxrwxrwx   1 root     root          36 Dec 29 16:06 d6 ->

How do I find out storage details about the mirrored drives, and how do
I break the mirror? Since it's development, we don't need the mirror,
but we do need the space.

-- Len

 
 
 

Breaking a mirrored disk on Solaris 2.6

Post by Dennis Clark » Tue, 21 Mar 2000 04:00:00



> We have a 450 with a mounted and, I'm told, mirrored set of disks.

> $ df -k | grep oracle
> /dev/md/dsk/d6       47635001 22976160 24182491    49%    /oracle
> $ ls -l /dev/md/dsk/d6
> lrwxrwxrwx   1 root     root          36 Dec 29 16:06 d6 ->

> How do I find out storage details about the mirrored drives, and how do
> I break the mirror? Since it's development, we don't need the mirror,
> but we do need the space.

> -- Len

/usr/opt/SUNWmd/sbin/metastat d6

will tell you the details of the mirror.  To remove one of the submirrors in a
permanent fashion just use ...

/usr/opt/SUNWmd/sbin/metadetach d6 d26

where d26 is the second submirror of d6.

 
 
 

Breaking a mirrored disk on Solaris 2.6

Post by John T. Douglas » Tue, 21 Mar 2000 04:00:00



> We have a 450 with a mounted and, I'm told, mirrored set of disks.

> $ df -k | grep oracle
> /dev/md/dsk/d6       47635001 22976160 24182491    49%    /oracle
> $ ls -l /dev/md/dsk/d6
> lrwxrwxrwx   1 root     root          36 Dec 29 16:06 d6 ->

> How do I find out storage details about the mirrored drives, and how do
> I break the mirror? Since it's development, we don't need the mirror,
> but we do need the space.

> -- Len

Looks like you are probably using Sun's ODS for the mirroring.   If
that is the case then you should go to http://docs.sun.com and read
the DiskSuite manuals available there.

/usr/opt/SUNWmd/sbin/metastat will give you information regarding the
actual mirrored devices.

/usr/opt/SUNWmd/sbin/metadetach is used to break the mirrors.

Man pages for these shoud be in /usr/opt/SUNWmd/man

-- John

--
John T. Douglass                        Phone: 208 533 7992

        "One World, One Web, One Program" - Microsoft Promotional Ad
        "Ein Volk, Ein Reich, Ein Fuhrer" - Adolf Hitler

 
 
 

1. can't read Solaris 2.6 x86 hard disk on Solaris 2.6 Ultra-1 ?!?

I was going to use this hard drive to move large files from my
Ultra to my Pentium PC for CD-R backup, but upon "boot -r" on
the Ultra I saw an error about "invalid geometry" on sd3, the
drive I had formatted on my PC to be ufs.  And now of course
I can't even "prtvtoc" this disk ("Unable to read Disk geometry"),
so mounting it is seemingly out of the question.

What's the problem?  Was I naive to assume the a ufs on a Solaris
system would be the same regardless of CPU type?  I really don't
want to use Ethernet to transmit potentially gigabytes of data
on a regular basis :-(...

Please reply via email (and post here, of course), as I don't
get a chance to keep up with the newsgroup as regularly as I
would wish.  Thanks.

--
--
Mark J. Kaufman             Sun Microsystems, San Diego

2. Unix Installation

3. Is it possible to mirror disks without physically removing disk the incompletely mirrored disk

4. HELP - ipchains information

5. Installing 2.6, how do I create a mirrored boot disk?

6. TRANSMISSION SPEED WITH FTP

7. SCSI HD and Solaris 2.6 install wqith mirroring

8. Dual Boot on a RS6000

9. RAID 1- Mirroring in Solaris 2.6

10. rootdisk upgrade on mirrored Solaris 2.6 System

11. Sendmail is awfully slow on a mirrored Solaris 2.6 system

12. looking for "mirror" on Solaris 2.6

13. RAID 1 mirroring on Solaris 2.6/Sparc