UPDATE:metadisk and moving partition from rawfs to ufs

From: Andy Ford (andy.ford@telindus.co.uk)
Date: Wed Nov 03 2004 - 04:33:02 EST


Moving on from my previous post (metadisk and moving partition from
rawfs to ufs) I have found an issue where we upgraded two mirrored disks
from 18GB to 36GB some time ago.

What I didn't notice (kindly pointed out by Darren Dunham) was that the
Mirror has a different size to the Submirrors. i.e.

metastat d7...

d7: Mirror
    Submirror 0: d17
      State: Okay
    Submirror 1: d27
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 11134456 blocks

d17: Submirror of d7
    State: Okay
    Size: 46137600 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c1t0d0s7 0 No Okay

d27: Submirror of d7
    State: Okay
    Size: 46137600 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c1t1d0s7 0 No Okay

Anyone know ho I can fix this problem. This is definitely the issue I am
having with running out of disk space on this slice.

The odd thing is, df -k reports the slice as ~22GB but the d7 mirror
reports it as ~5.5GB

Any suggestions would be welcomed with open arms

Thanks

Andy

-------- Forwarded Message --------
From: Andy Ford <andy.ford@telindus.co.uk>
To: sunmanagers <sunmanagers@sunmanagers.org>
Subject: metadisk and moving partition from rawfs to ufs
Date: Tue, 02 Nov 2004 10:07:41 +0000
Hi everyone

I have recently moved a rawfs partition to a ufs partition to satisfy
upgrading of an application (InfoVista).
I have two disks that are mirrored where slice 7 is used for the
InfoVista databases. Slice 7 (/dev/md/dsk/d7) is now mounted
on /InfoVista.

The partitions are 22GB in size but I seem to be having problems writing
large amounts of data to them.

I have written a small perl file that writes a counter to a file
in /InfoVista/file but it doesn't get past line 9038.

I have a couple of questions

 1. Is it possible to physically damage the disk while using md
 2. How else can I prove that I have problems with this slice

Thanks

Andy

--
perl -e "print qq^bIG VeRN ! ^^qq^#'#Yv#=<D+ ^"
This e-mail is private and may be confidential and is for the intended
recipient only.  If misdirected, please notify us by telephone and confirm
that it has been deleted from your system and any copies destroyed.  If you
are not the intended recipient you are strictly prohibited from using,
printing, copying, distributing or disseminating this e-mail or any
information contained in it.  We use reasonable endeavours to virus scan all
e-mails leaving the Company but no warranty is given that this e-mail and any
attachments are virus free.  You should undertake your own virus checking.
The right to monitor e-mail communications through our network is reserved by
us.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
-- 
perl -e "print qq^bIG VeRN ! ^^qq^#'#Yv#=<D+ ^"
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:39 EDT