Duplicates in bootlist

Hello,

I'm moving some disks from the rootvg on AIX 5.3.

# replacepv hdiskOLD hdiskNEW

I have for example hdisk12 and hdisk13 with hd5 (boot) LV and want to move hdisk13 So 1st I'm excluding it from the bootlist:

# bootlist -om normal hdisk12

then

# replacepv hdisk13 hdisk20

Now I'm trying to add the new disk to the bootlist, but I'm getting this:

# bootlist -om normal hdisk13 hdisk20
hdisk13 blv=hd5
hdisk13 blv=hd5
hdisk13 blv=hd5
hdisk13 blv=hd5
hdisk13 blv=hd5

Why I can't see hdisk20 and why hdisk13 is shown 5 times :wall:

Thanks

You need to create boot image for fixed disks:

bosboot -a

Also, I think the new pv (hdisk20) isnt part of rootvg yet. Can u do:

lsvg -p rootvg

as a starter,

replacepv is to replace a FAILED mirrored disk, it definitely is not to move content of a working root disk to another working disk.

This is what we have extendvg / reducevg and migratepv for ...
To rebuild your boot disks,

bosboot -ad /dev/hdisk13 
bosboot -ad /dev/hdisk20 
bootlist -m normal hdisk13 hdisk20 
bootlist -m normal -o

In certain cases you need to run savebase for this to work.
regards
zxmaus

I'm doing replacepv, not replacevg.

And yes, it's a part of the rootvg.

I rebuilded the boot record with bosboot prior to running bootlist and still when I run it in STDOUT I see only the first disk.

Also tried with savebase.. same thing.

When run:

# bootlist -m normal hdisk13

I have:

hdisk13 blv=hd5
hdisk13 blv=hd5
hdisk13 blv=hd5
hdisk13 blv=hd5
hdisk13 blv=hd5

When run:

# bootlist -m normal hdisk20

I have:

hdisk20 blv=hd5
hdisk20 blv=hd5
hdisk20 blv=hd5
hdisk20 blv=hd5
hdisk20 blv=hd5

But when I run:

# bootlist -m normal hdisk13 hdisk20

I have:

hdisk13 blv=hd5
hdisk13 blv=hd5
hdisk13 blv=hd5
hdisk13 blv=hd5
hdisk13 blv=hd5

Only the 1st disk is shown (and why 5 tipes??)

Hmmmm, interesting.

I suspect this is a disk with multipath access and the bootlist is showing the first five paths to the disk with no space left as the bootlist is only 5 devices long.

What type of disk or storage is it?
What type of system is it?
What is the firmware level of the system?
What is the AIX 5.3 TL and SP?
What type of disk driver is in use?

I'm sure I've seen this type of problem before but cannot remember the cause without some sort of trigger for my poor old memory...

You're right, multipath access is in place.
I have 2 fscsi adapters to connect to SAN.

So if I have 5 paths to my 1st boot disk then what? How to say "use path 1, 2, 3 for diskX and path 1, 2 for diskY"?

Prior AIX 7 the only way to get rid of paths and devices you don't want to have in the bootlist, is that you have to delete those paths you don't want, set the bootlist and use cfgmgr afterwards to get your paths back. I don't know of another way to get this done.
Setting your bootlist with AIX 7 you can give path=<n> with the device you want to have. The path(id) can be seen with lspath where AIX 7 offers a -t switch to list those pathids directly.
You see 5 entries because the bootlist can only contain up to a maximum of 5 boot devices.

Noted.
Thanks, zaxxon