AIX striped LV - lslv stripe width has wrong value

Thread Tools Search this Thread
Operating Systems AIX AIX striped LV - lslv stripe width has wrong value
# 1  
Old 12-14-2009
AIX striped LV - lslv stripe width has wrong value

Hello all.

I have a volume group with 8 PV's, and a logical volume striped across these 8 volumes.

However, an lslv is showing:

STRIPE SIZE:        64k

There's really only eight disks, so how can the stripe width be 9?

ODM also showed this:

# odmget CuAt | grep -p data01lv | grep -p '"9"'
        name = "data01lv"
        attribute = "stripe_width"
        value = "9"
        type = "R"
        generic = "DU"
        rep = "r"
        nls_index = 1100

        name = "data01lv"
        attribute = "upperbound"
        value = "9"
        type = "R"
        generic = "DU"
        rep = "r"
        nls_index = 646

So I updated the ODM to change the 9 to 8, but the lslv still shows 9.

I've extended the VG with eight new disks, but obviously when I try to change the LV upperbound limit, get the error:

# chlv -u 16 data01lv
0516-1441 chlv: Striped logical volume upperbound can only be an even multiple of the striping width.
0516-704 chlv: Unable to change logical volume data01lv.

Any suggestions about how I can fix this would be greatly appreciated. I suppose one option would be to add ten disks and change the upperbound to 18, but that's missing the point somewhat!

oslevel -s

Many thanks.
# 2  
Old 12-15-2009
Did not had that problem yet.
When changing it from 9 to 8 in the ODM, did you do that by smit/chlv/odmchange? After the change, did you try to do a savebase and then reboot maybe?
Else to make sure I'd backup the VG, recreate the VG/LV and restore it, if no one comes up with a hack, of course.
# 3  
Old 12-15-2009
try lspv is there really 8 disks?
# 4  
Old 12-15-2009
Hi zaxxon,

I used odmget/odmchange to update it.

I was about to run savebase as you suggested, but noticed this:

# lsvg -M data01vg
0516-304 : Unable to find device id 00c9f44e00004c0000000103d13ca2e0.1 in the Device
        Configuration Database.

It's the same for every VG (even rootvg!).

In the ODM I see:

        name = "data01lv"
        attribute = "lvserial_id"
        value = "s"
        type = "R"
        generic = "D"
        rep = "n"
        nls_index = 648

what I suspect should be more like:

        name = "data01lv"
        attribute = "lvserial_id"
        value = "00c9f44e00004c0000000103d13ca2e0.1"
        type = "R"
        generic = "D"
        rep = "n"
        nls_index = 648

(and it's the same for every LV)

I don't know what happened here, or when. A restore of ODM from an old backup fixed this.

With the ODM looking OK again, I ran savebase, and now need to schedule a reboot.

Failing that I'll back it up, create it anew.

Thanks for the help.

Hi wwwzviadi,
Yes, there's definately 8 disks. Everything shows this (lspv, lsvg -p, lslv -l, etc.)

Playing around, it appears what might have happened (a long time ago!), goes something like:
# mkvg -fSy scottvg hdisk71 hdisk72 hdisk73 hdisk74
# mklv -t jfs2 -y scottlv -S 64K scottvg 1536 hdisk71 hdisk72 hdisk72 hdisk73 hdisk74
# lslv scottlv
LOGICAL VOLUME:     scottlv                VOLUME GROUP:   scottvg
LV IDENTIFIER:      00c9f44e00004c000000012593214e8c.1 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       closed/syncd
TYPE:               jfs2                   WRITE VERIFY:   off
MAX LPs:            1540                   PP SIZE:        16 megabyte(s)
COPIES:             1                      SCHED POLICY:   striped
LPs:                1540                   PPs:            1540
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       maximum                RELOCATABLE:    no
INTRA-POLICY:       middle                 UPPER BOUND:    5
MOUNT POINT:        N/A                    LABEL:          None
EACH LP COPY ON A SEPARATE PV ?: yes (superstrict)
Serialize IO ?:     NO
STRIPE SIZE:        64k

Didn't know it was possible!

# 5  
Old 12-15-2009
Let us know if the restore did it. Good luck!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Hardware


Hello Experts, I have few doubts on RAID 5 with LUNs carved as STRIPE and CONCAT RAID 5 = STRIPE + Parity mirroring I would like to know if the LUNs carved are CONCATE from RAID 5 disk array. Are the I/Os are spread accross the disks within the RAID 5 Array? And if I do carve STRIPED... (1 Reply)
Discussion started by: sybadm
1 Replies

2. Solaris

solaris volume manager- stripe?

Hello Admins.. I am going through solaris volume manager guide for RAID-0 concatenation and stripes, I do not understand the concept of stripe from following example of concatenation. There is an eample for concatenation: # metainit d25 1 1 c0t1d0s2 d25: Concat/Stripe is setup the... (5 Replies)
Discussion started by: snchaudhari2
5 Replies

3. AIX

Unix root directory owner wrong AIX 5.3

The a chown was done and instead of using ./ a / was used and root ownership files got changed. I need to change the ownership of the files/directory back - backups are not working and I am concerned a reboot will not be successful. Can anyone provide the ownership of these files/directories... (6 Replies)
Discussion started by: spike1
6 Replies

4. AIX

Striped FS , need to add new disks

Hi, I have a filesystem that is created on a VG with 12 disks. The FS is striped on these disks. Now I have to add 10 more disks to this volume group to help increase the space of the same FS that is striped. How should I add these disks to the Vg and i need these disks to be added such the FS... (1 Reply)
Discussion started by: aixromeo
1 Replies

5. Emergency UNIX and Linux Support

AIX : Create LV with poor man stripe

Hi all I have just had SAN allocate 4*30 GB of disks and had created a new scalable vg and assigned the disks to it: I used smitty to create vg and the command is: x -y'vgdata1' hdisk82 hdisk83 hdisk84 hdisk85 root@aadcxs08 / : lsvg vgdata1 VOLUME GROUP: vgdata1 VG... (4 Replies)
Discussion started by: hedkandi
4 Replies

6. Linux

Raid 0 stripe size

I have a PERC 5/i card. Im using with it 3 15k rpm HDD's (model: SEAGATE Savvio 15K ST936751SS). Im going to install debian on this array.. and im looking for performance... So what would be the stripe size that i should set this raid 0 into to give me the best performance? Thanks (22 Replies)
Discussion started by: supermiguel
22 Replies

7. AIX

AIX OS upgrade gone wrong

I have an AIX LPAR that is one half of a Oracle RAC cluster running over a GPFS filesystem. The OS version in the LPAR was 5300-05-01 I ran an upgrade to 5300-07-05 (Apply only, Commit=NO and preserve old files). The preview passed with no failures detected. The actual upgrade failed... (5 Replies)
Discussion started by: morgan_g
5 Replies

8. Solaris

How to add disk into Striped Volume VxVM

VxVM: How to add one more disk into v08 the stripe should change from 7/128 to 8/128 v v08 - ENABLED ACTIVE 8954292224 SELECT v08-01 fsgen pl v08-01 v08 ENABLED ACTIVE 8954292480 STRIPE 7/128 RW sd bkpdg35-01 v08-01 bkpdg35 17216 ... (0 Replies)
Discussion started by: geoffry
0 Replies

9. Programming

Finding out if a file has been striped or not

Is there a way in c to find out if a binary program contains debug information? I have tried to compare the striped and unstriped versions of two programs, but i have had a hard time understand them. (2 Replies)
Discussion started by: shienarier
2 Replies

10. UNIX for Advanced & Expert Users

AIX p570 lspv, lslv etc... not working

Hi we are running a VIO server on a AIX p570 we cannot run and of the command the query the ODM has anyone seen this problem or has a solution the command just hangs. (1 Reply)
Discussion started by: truma1
1 Replies
Login or Register to Ask a Question

Featured Tech Videos