Modify ODM

From: Drew (apt@DCS-SUCCESS.COM)
Date: Wed Jul 17 2002 - 14:41:25 EDT


Hi everyone.
OK That's it. I want to modify the ODM! I have an extra 43p for personal use
only and I want to go in and change the order of my disks. Can someone give
me the quick rundown. Just a couple of basic commands to get me going
I have only Hdisk0 and Hdisk1. I want to change the name of Hdisk1 to
Shoebiedo, but leave Hdisk0 alone.

Thanks,

Drew

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of Bruce
Harvey
Sent: Wednesday, July 17, 2002 10:46 AM
To: aix-l@Princeton.EDU
Subject: Re: 'lspv' - disk order list

Leaving the order as is presents you with information you may not have had
... the system was forced to add a new disk drive after the other two,
listing it out of order. This gives some "history" to the configuration
and, as such, might provide some troubleshooting information to the strong
problem-spy!

If you have programs or scripts that do this listing, simply add "| sort -n"
to the output command.

And if this is the major item you have to worry about, I want YOUR job!!!!
;-)

Seriously, as stated below, the ODM mods are not involved nor difficult ...
but if one thing gets out of place, you're hosed. Definitely backup rootvg
and all other vgs and get your cds handy if you're going to make the mods.

---------------------------------------
Bruce T. Harvey, Special Projects
bruceh@routescape.com, www.routescape.com
Insight Distribution Systems/COAXIS, Inc.

-----Original Message-----
From: justin.bleistein@SUNGARD.COM [mailto:justin.bleistein@SUNGARD.COM]
Sent: Wednesday, July 17, 2002 9:40 AM
To: aix-l@Princeton.EDU
Subject: Re: [aix-l] 'lspv' - disk order list

You can always modify the ODM, but this is only if your really concerned
about the order to make it look pretty. Changing the disks id's in the odm
is non harmful if it's done right. You can name them "harddisk#" if you
want. Just go to the device table in the AIX odm and swap the entries for:
"hdisk11" and "hdisk11". Or just "rmdev" as the gentlemen below suggested
before the next time you reboot. If you decide to modify the ODM please
back it up so you can return to this state if you type or something. Backup
everything in: "/etc/objrepos" that is where the database is.

--Justin Richard Bleistein

                      Chuck Lam
                      <chuck_lam@YAHOO. To: aix-l@Princeton.EDU
                      COM> cc:
                      Sent by: IBM AIX Subject: Re: 'lspv' - disk
order list
                      Discussion List
                      <aix-l@Princeton.
                      EDU>

Thank you, but they all now contain live data, even
hdisk11 itself...hmmm

--- Adams Kevin J <kevin.adams@PHS.COM> wrote:
> Chuck,
>
> An rmdev -dl of hdisk10,hdisk11,hdisk12, and then a
> cfgmgr should take care
> of it.
>
> You can't be using the disks to do this though,
> i.e., you must unmount
> filesystems, varyoffvg and so on.
>
> Kevin Adams
>
> -----Original Message-----
> From: Chuck Lam [mailto:chuck_lam@YAHOO.COM]
> Sent: Tuesday, July 16, 2002 3:19 PM
> To: aix-l@Princeton.EDU
> Subject: [aix-l] 'lspv' - disk order list
>
>
> Hi,
>
> My system is RS/6000 running AIX 4.3.3
>
> Last week, I had to replace one of disk drives
> (hdisk11). Now when I do 'lspv', hdisk11 is now
> showing up at the bottom of the list. There is no
> problem, but I wonder if there is anyway I can
> re-arrange the order, so hdisk11 can be between
> hdisk10 and hdisk12 again as before.
>
> Thank you.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:04 EDT