Duplicates in bootlist


 
Thread Tools Search this Thread
Operating Systems AIX Duplicates in bootlist
# 1  
Old 09-20-2011
CPU & Memory Duplicates in bootlist

Hello,

I'm moving some disks from the rootvg on AIX 5.3.
Code:
# 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:
Code:
# bootlist -om normal hdisk12

then

Code:
# replacepv hdisk13 hdisk20

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

Code:
# 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 Smilie

Thanks

Moderator's Comments:
Mod Comment Please use [code] and [/code] tags when posting code, data or logs etc. to preserve formatting and enhance readability, thanks (check PM).

Last edited by zaxxon; 09-23-2011 at 07:51 AM.. Reason: code tags, check PM
# 2  
Old 09-20-2011
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

Last edited by bsddaemon; 09-20-2011 at 01:00 PM..
# 3  
Old 09-20-2011
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,

Code:
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

Last edited by zxmaus; 09-22-2011 at 10:54 PM.. Reason: corrected typo
# 4  
Old 09-22-2011
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:
Code:
# bootlist -m normal hdisk13

I have:
Code:
hdisk13 blv=hd5
hdisk13 blv=hd5
hdisk13 blv=hd5
hdisk13 blv=hd5
hdisk13 blv=hd5

When run:
Code:
# bootlist -m normal hdisk20

I have:
Code:
hdisk20 blv=hd5
hdisk20 blv=hd5
hdisk20 blv=hd5
hdisk20 blv=hd5
hdisk20 blv=hd5

But when I run:
Code:
# bootlist -m normal hdisk13 hdisk20

I have:
Code:
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??)

Last edited by zaxxon; 09-23-2011 at 07:57 AM.. Reason: code tags
# 5  
Old 09-22-2011
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...
# 6  
Old 09-23-2011
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"?
# 7  
Old 09-23-2011
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Remove duplicated bootlist entries

Hello. I have a server with 2 boot disk but in the bootlist there are 5 paths of one disk but no path of the other. How can I remove paths from one disk to insert paths from the other disk? Thanks in advance. server074:root:/# bootlist -om normal hdisk0 blv=hd5 pathid=0 hdisk0... (7 Replies)
Discussion started by: Gabriander
7 Replies

2. Shell Programming and Scripting

Do Not Output Duplicates

Mac OS 10.9 Let me preface this by saying this is not for marketing or spamming purposes. I have a script that scans all the email messages in a directory (~/Library/Mail/Mailboxes) and outputs a single column list of email addresses. This will run multiple times a day and append the output... (3 Replies)
Discussion started by: sudo
3 Replies

3. Shell Programming and Scripting

Remove duplicates

I have a file with the following format: fields seperated by "|" title1|something class|long...content1|keys title2|somhing class|log...content1|kes title1|sothing class|lon...content1|kes title3|shing cls|log...content1|ks I want to remove all duplicates with the same "title field"(the... (3 Replies)
Discussion started by: dtdt
3 Replies

4. Shell Programming and Scripting

Help in removing duplicates

I have an input file abc.txt with info like: abcd rateuse inklite robet rateuse abcd I need to remove duplicates from the file (eg: abcd,rateuse) from the file and need to place the contents in same file abc.txt if needed can be placed in another file. can anyone help me in this :( (4 Replies)
Discussion started by: rkrish
4 Replies

5. Emergency UNIX and Linux Support

Removing all the duplicates

i want to remove all the duplictaes in a file.I dont want even a single entry. For the input data: 12345|12|34 12345|13|23 3456|12|90 15670|12|13 12345|10|14 3456|12|13 i need the below data in one file 15670|12|13 and the below data in another file (9 Replies)
Discussion started by: pandeesh
9 Replies

6. UNIX for Dummies Questions & Answers

Duplicates

Hi, How to eliminate the duplicate values in unix? I have a excel file which contains duplicate values. Need to use this in a script. Thanks in advance. (3 Replies)
Discussion started by: venkatesht
3 Replies

7. Shell Programming and Scripting

Non Duplicates

I have input file like below. I00789524 0213 5212 D00789524 0213 5212 I00778787 2154 5412 The first two records are same(Duplicates) except I & D in the first character. I want non duplicates(ie. 3rd line) to be output. How can we get this . Can you help. Is there any single AWK or SED... (3 Replies)
Discussion started by: awk_beginner
3 Replies

8. HP-UX

getting duplicates

how to get duplicates in a file containing data in columns using command or scripting? (4 Replies)
Discussion started by: megh
4 Replies

9. AIX

Can't alter bootlist

Made a sysback tape backup on our 595 running 4.1.5 but when trying to do a restore discovered that rmt0 not in bootlist(s). Tried to alter both the normal and service bootlists but system wont respond to F7(commit). Erased the service boolist then tried alter again, same result. Now have... (2 Replies)
Discussion started by: mooshkie
2 Replies

10. AIX

Weird bootlist output

just setup a new system today - 9117 570, using HMC for console but not partitioned. I installed this system twice. the first time it started off as 5300-00, then updated to ML03. before the update, I believe I mirrored the rootvg, and then altered the bootlist, at that point, the display was... (4 Replies)
Discussion started by: davew1099
4 Replies
Login or Register to Ask a Question