Re: Question about hiding disks from smit

From: Juan Camilo Yanquen (jcyanquen_at_SISA-SA.COM)
Date: 08/26/05

  • Next message: Jeff Barratt-McCartney: "filemon question"
    Date:         Fri, 26 Aug 2005 15:38:20 -0500
    To: aix-l@Princeton.EDU
    
    

    Dealing with PVID maybe useful.

    chdev -l hdiskX -a pv=clear

    then rename to something like eeeeeeeeeeeeeee

    http://unix.derkeiler.com/Newsgroups/comp.unix.aix/2004-06/0132.html

    ---- Original Message ----
    From: Ford, Phillip
    Date: Fri 8/26/05 14:41
    To: aix-l@Princeton.EDU
    Subject: Re: Question about hiding disks from smit

    No problem. I have not either and that is why I am worried. I can just see
    myself at 2:00 am one morning and the DBA is saying they are running out of
    space - I go in and grab the first free disk and give it to a volume group
    and crash Oracle. How do you spell recovery. I do not like the situation.

    These disks were part of a volume group before so they may have pv
    information on them. When I do a lspv it says that the disk is not assigned
    to a volume group. The DBAs have not loaded the Oracle yet so I do not know
    what happens when Oracle start using it. May be there is no problem but my
    guess is the system will not know that oracle is using it and will think it
    is a free disk. Thanks anyway.

    --
    Phillip
    320-4462
    -----Original Message-----
    From: Bob Booth - CITES [mailto:booth@UIUC.EDU] 
    Sent: Friday, August 26, 2005 1:50 PM
    To: aix-l@Princeton.EDU
    Subject: Re: Question about hiding disks from smit
    On Fri, Aug 26, 2005 at 01:16:52PM -0400, Ford, Phillip wrote:
    > I have the same problem with TSM.  But you missed understood me.  I am 
    > not talking about logical volumes.  At least with these the drives 
    > (hdiskxx) do not show up in the smit create volume group or extend 
    > volume group.  I am talking about drives.  We now give drives to 
    > Oracle not logical volumes. Under this when I go to smit create 
    > logical volume I will see disks that are not used and disks that I 
    > have given to Oracle.  So now even when I do it I have to look and get 
    > a total list of all drives given to Oracle and not pick one of these 
    > drives to create a new volume group from (or extend a current volume 
    > group).  I would rather see a list of actual unused drives and some 
    > how get smit to not list the ones I have give to Oracle.
    Yes, I totally mis-understood you.  I'm terribly sorry, and this is a
    delemia, since you can't 'name' hdisks.
    Do you see any garbage in the PVID section when you do a lspv for instance,
    or do they say 'none'.  If they say 'none' that means that Oracle is not
    messing with the first few bytes of the disk, and you may be able to use the
    PVID area as 'marker'
    If you have any spare disks, try making a PV out of one of them, then give
    it to Oracle.  See if Oracle rejects it, or wipes out the old PVID back to
    zeros.
    This is kinda bad on Oracle's part, as I can see this as 'all kinds of
    trouble' on any platform.  Jeeze, you would assume that they would block the
    disk from normal OS access somehow.
    Sorry for the confusion, I guess I am not used to products being that 
    aggresive with disk management.
    bob
    *********************************************************************
    This message and any attachments are 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.
    

  • Next message: Jeff Barratt-McCartney: "filemon question"

    Relevant Pages