Re: How to rename HDISKxx?

From: Bill Thompson (bill.thompson@GOODYEAR.COM)
Date: Tue Jun 18 2002 - 12:16:46 EDT


No, it is not necessary export any volume groups. Just make sure they are
varied off.

Bill Thompson
Sr UNIX Systems Administrator
The Goodyear Tire & Rubber Co.

Contains Confidential and/or Proprietary Information
May Not Be Copied or Disseminated Without Express Consent of The Goodyear
Tire & Rubber Company.

AIX-L Archives: http://marc.theaimsgroup.com/?l=aix-;&r=1&w=2

----- Original Message -----
From: "Ford, Phillip" <phillip.ford@SPCORP.COM>
Newsgroups: bit.listserv.aix-l
To: <aix-l@Princeton.EDU>
Sent: Tuesday, June 18, 2002 11:26 AM
Subject: Re: How to rename HDISKxx?

> Just a question. Do you need to export and re-import your VGs during
this
> procedure? I have always done this but I do not know if it is necessary.
>
>
> --
> Phillip Ford
> Senior Software Specialist
> Corporate Computer Center
> Schering-Plough Corp.
> (901) 320-4462
> (901) 320-4856 FAX
> phillip.ford@spcorp.com
>
>
>
> -----Original Message-----
> From: Bill Thompson [mailto:bill.thompson@GOODYEAR.COM]
> Sent: Tuesday, June 18, 2002 10:12 AM
> To: aix-l@Princeton.EDU
> Subject: Re: How to rename HDISKxx?
>
>
>
> First of all, AIX does not care about the hdisk names. This is just a
> convenience to you. I'd leave it hdisk17 and get on with life, but if you
> really want to change the name, here's one way (without having to
> manipulate the ODM directly - very dangerous)
>
> Assuming rootvg is on hdisk0 and no paging space is on any of the SSA
> drives...
>
> Shut down everything except AIX. Unmount all filesystems except those in
> rootvg.There must be no activity on any of the disks except for hdisk0.
>
> Remove the disk information from the ODM:
>
> for PV in $(lsdev -C | egrep '^hdisk|^pdisk' | awk '{print $1'); do
> rmdev -dl $PV
> done
>
>
> Re-discover the disks (repopulate the ODM):
>
> cfgmgr -v
>
>
> rmdev will remove the disk information for all the pdisks and hdisks
except
> for hdisk0 (you'll get an error message regarding hdisk0 because it's
busy
> - ignore this). cfgmgr will now find the new internal disk before it
> discovers the SSA disks and name it hdisk1.
>
> Once cfgmgr is done you can bring up all your applications.
>
> Bill Thompson
> Sr UNIX Systems Administrator
> The Goodyear Tire & Rubber Co.
>
> Contains Confidential and/or Proprietary Information
> May Not Be Copied or Disseminated Without Express Consent of The Goodyear
> Tire & Rubber Company.
>
> AIX-L Archives: http://marc.theaimsgroup.com/?l=aix-;&r=1&w=2
>
>
> ----- Original Message -----
> From: "TIM MUELLER" <MUELLT@JFS.HAMILTON-CO.ORG>
> Newsgroups: bit.listserv.aix-l
> To: <aix-l@Princeton.EDU>
> Sent: Tuesday, June 18, 2002 10:18 AM
> Subject: How to rename HDISKxx?
>
> > I have a J50 with one internal SCSI drive, hdisk0, and 16 SSA drives,
> hdisk1-hdisk16. I added a second internal SCSI drive, which,
> understandably, became hdisk17. I would prefer the second SCSI drive to
be
> hdisk1 rather than hdisk17. Short of physically pulling the SSA drives &
> running cfgmgr, is there any way to rename these drives? TIA.
> >
>
>
> ***************************************************************
> This message and any attachments is solely for the intended recipient.
If
> you are not the intended recipient, disclosure, copying, use, or
> distribution of the information included in this message is prohibited --
> please immediately and permanently delete this message.



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