Veritas striped-mirror (Striped Pro) question

Veritas striped-mirror (Striped Pro) question

Post by Michael J. Ayer » Wed, 13 Feb 2002 09:00:18



Ok,

I am trying to create a striped-mirror here on an A5200 array with 22 16.9g
drives in it.  I have never used a striped-mirror before so I want to make
sure I get it right the first time (hence this email).  I used the first two
disks on each controller (one as the root disk the other as the root mirror)
and the next 9 disks on each controller I want in a raid 1+0 config (the
last disk on each controller being a hotspare).  I want this to be one large
partition to store a database on (152gb).  I will be using standard DRL
(writes are not always sequential so I want to avoid any IO hosing such as
that you can get with drlseq.  I would like to mirror it like this:

c0t17--c0t18--c0t19...c0t25--c0t26 - controller one (c0)
    |           |           |           |           |
   m         m         m         m         mirrors to
    |           |           |           |           |
c2t01--c2t02--c2t03...c2t08--c2t09 - controller two (c2)

Would the following command be correct to create it with DRL enabled and
mirror it in the fashion i stated above?

vxassist -o ordered -g vsnt01 make vsnt 152g layout=striped-mirror
logtype=drl nmirror=2 ncol=9 c0t17 c0t18...c0t26 c2t01 c2t02...c2t09

(where vsnt01 is the diskgroup name and vsnt is the partition i want to lay
out)

also, do you guys have any preferences on the stripewidth or will the
default do fine for an array this size?  Any other recommendations would be
appreciated.  Thanks.

Michael J. Ayers

-----=  Posted via Newsfeeds.Com, Uncensored Usenet News  =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
 Check out our new Unlimited Server. No Download or Time Limits!
-----==  Over 80,000 Newsgroups - 19 Different Servers!  ==-----

 
 
 

Veritas striped-mirror (Striped Pro) question

Post by Keith Sev » Thu, 14 Feb 2002 12:20:45


Michael,

The command I would use in your situation would be,
vxassist -g vsnt01 make vsnt 152g layout=stripe-mirror mirror=ctlr

Looks like all you are missing is to specify the mirror.  I have never
had to deal with stripe width before.

--Keith

 
 
 

Veritas striped-mirror (Striped Pro) question

Post by Ron! » Fri, 15 Feb 2002 06:30:13



Quote:> Michael,

> The command I would use in your situation would be,
> vxassist -g vsnt01 make vsnt 152g layout=stripe-mirror mirror=ctlr

> Looks like all you are missing is to specify the mirror.  I have never
> had to deal with stripe width before.

    i agree with keith on striping across controllers... if you have the
controllers
    and disks, it's the optimal setup...

    as far as stripe width goes, there's always veri'expensive'tas default
of 64k, but
    i have found that the best way to tune your stripe size is to adjust it
in increments
    until you find the best performance... this will be somewhat dependent
on your
    underlying block size of your files system, and the block size your
application
    wants to work with...

    unfortunately there's no steadfast rule, and it does take some
tweaking... usually
    what i do is setup my volumes, the simply do a:

        time mkfile 1g /volume/test

    record the numbers, and relayout... if your using database apps, match
the
    block sizes, then run your tests...

Ron!

 
 
 

Veritas striped-mirror (Striped Pro) question

Post by Ole Michaelse » Sat, 16 Feb 2002 06:02:56



>     what i do is setup my volumes, the simply do a:
>         time mkfile 1g /volume/test
>     record the numbers, and relayout... if your using database apps, match

I get real 42.8, user 0.5, sys 30.0 on a

v  syslogvol    -            ENABLED  ACTIVE   425955500 fsgen    -        ROUND
pl syslogvol01  syslogvol    ENABLED  ACTIVE   425955500 CONCAT   -        RW
sd datadisk01-02 syslogvol01 datadisk01 425955500 2500  LOG       c2t0d0   ENA
sd datadisk01-01 syslogvol01 datadisk01 0      425955500 0        c2t0d0   ENA
pl syslogvol02  syslogvol    ENABLED  ACTIVE   425955500 CONCAT   -        RW
sd datadisk02-02 syslogvol02 datadisk02 425955500 2500  LOG       c2t2d0   ENA
sd datadisk02-01 syslogvol02 datadisk02 0      425955500 0        c2t2d0   ENA

I'm interested to hear what others get...

-- Ole

 
 
 

1. Veritas confusion about Striped Pro volumes

I am getting ready to upgrade a V880 with an additional backplane so I
can stripe the volumes across two controllers.  I have been testing
out some volume creations on a similar system, and since Stripe-Pro is
new terretory for me I am testing it out in the GUI, then once I get a
feel for how the volumes look (and what the log shows me that vxassist
is actually doing) hopefully I can drop that cludgy GUI and get my CLI
up to speed.

My goal is to use 4 disks from each back plane to stripe and mirror
across.  I quickly found out that choosing the option for Veritas to
choose the disks is a bad idea, as apparently Veritas is not smart
enough to spread the load across two controllers.  I created a volume
called 'testvol' and here is what vxprint shows me:

vxprint -ht testvol
Disk group: rootdg

V  NAME         RVG          KSTATE   STATE    LENGTH   READPOL  
PREFPLEX UTYPE
PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT  
NCOL/WID MODE
SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF
DEVICE   MODE
SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF
AM/NM    MODE
DC NAME         PARENTVOL    LOGVOL
SP NAME         SNAPVOL      DCO

v  testvol      -            ENABLED  ACTIVE   1024000  SELECT  
testvol-04 fsgen
pl testvol-04   testvol      ENABLED  ACTIVE   1024000  STRIPE  
4/128    RW
sv testvol-S01  testvol-04   testvol-L01 1     256000   0/0       3/3
    ENA
sv testvol-S02  testvol-04   testvol-L02 1     256000   1/0       3/3
    ENA
sv testvol-S03  testvol-04   testvol-L03 1     256000   2/0       3/3
    ENA
sv testvol-S04  testvol-04   testvol-L04 1     256000   3/0       3/3
    ENA

I cant make heads or tails out of this, does it even look like I have
a 4 column stripe across both controllers?  The only option I could
get to work in the GUI creat volume interface is "Mirror accross
target" and "Stripe across target".  Every other option I tried failed
with no errors, just a dialog that said "Failed to create xxxxxxs
volume"

2. How to I output to the serial port in Linux?

3. Solaris - stripe at O/S or stripe at EMC?

4. tcsh for ULTRIX

5. Converting mirrored LV to mirrored/striped

6. mke2fs problem: unable to find a block for the inode table

7. Veritas Question - Can't enlarge striped volume!

8. Protecting against unauthorised FTP

9. LVM Question: Mirrored Stripes?

10. SVM performance question for multiple mirrored stripes

11. Mirror / Concatenated stripe question

12. How do I remove a striped volume in Veritas 2.5?

13. Veritas stripe size and volume layout for A5100