AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  What is the "logical disk" in AIX system?

    Posted Wed January 24, 2007 03:15 PM

    Originally posted by: SystemAdmin


    Sorry for my REALLY stupid question. After reading few IBM redbook docs, I still can not find the definition of the "logical disk". I am sure that it is not "logical disk = hdisk on board" except..... They all seem using the term from nowhere. How do I find the "number of logical disk" in my AIX 5.3L (p550) box?


  • 2.  Re: What is the "logical disk" in AIX system?

    Posted Wed January 24, 2007 03:25 PM

    Originally posted by: orphy


    I have not encountered this term myself (maybe I haven't been too red lately).

    My guess is that they might be referring to the hdisks that are presented to
    LPARs from their VIO server(s).

    A simple "lsdev -Ccdisk" on an LPAR should tell you if what you got are virtual
    disks or not.
    Orphy


  • 3.  Re: What is the "logical disk" in AIX system?

    Posted Wed January 24, 2007 05:11 PM

    Originally posted by: SystemAdmin


    I first read this term in the doc-
    Oracle Database: Administraion´s Reference for 10g R1 (B15658-04). Then I chased down in few IBM docs-
    IBM TotalStorage DS6000 Series: Performance Monitoring and Tuning (SG24-7145-00)
    IBM Eserver pSeries Sizing and Capacity Planning: A Practical Guide (SG24-7071-00).
    The Oracle refers the term to tune the aio0 for I/O performance - "If you are using JFS/JFS2, then set the initial value (maxservers) to 10 times the number of logical disks divided by the number of CPUs."


  • 4.  Re: What is the "logical disk" in AIX system?

    Posted Wed January 24, 2007 08:29 PM

    Originally posted by: orphy


    This is a term from Oracle then, not one from IBM.

    Oracle basically wants you to set fix up enough async I/O procs to get some
    performance gain. Depending on your storage (DS6000?), you may be able to
    find out what disks your Oracle filesystems are on and follow their
    recommendation to tune aio.

    Try

    lsvg -p <name of oracle vg>
    prtconf|grep Processors # will give you the # CPUs
    Orphy


  • 5.  Re: What is the "logical disk" in AIX system?

    Posted Wed January 24, 2007 05:11 PM

    Originally posted by: SystemAdmin


    I first read this term in the doc-
    Oracle Database: Administraion´s Reference for 10g R1 (B15658-04). Then I chased down in few IBM docs-
    IBM TotalStorage DS6000 Series: Performance Monitoring and Tuning (SG24-7145-00)
    IBM Eserver pSeries Sizing and Capacity Planning: A Practical Guide (SG24-7071-00).
    The Oracle refers the term to tune the aio0 for I/O performance - "If you are using JFS/JFS2, then set the initial value (maxservers) to 10 times the number of logical disks divided by the number of CPUs."


  • 6.  Re: What is the "logical disk" in AIX system?

    Posted Thu January 25, 2007 09:51 AM

    Originally posted by: SystemAdmin


    > Sorry for my REALLY stupid question.

    The only stupid question, is the one not asked.

    I believe the concept you are missing is that
    which distinguishes between "logical", "physical",
    and "virtual".

    "physical" is the attribute of that which has
    meaningful existance beyond its information.
    The box of platters, drives, etc. that you
    manually insert in a bay may be a "physical" disk.

    "logical" is the attribute of that which can
    be addressed as a functionally-defined entity. Each
    partition on a "physical" disk may be mounted
    as a "logical" disk, functionally indistiguishable
    from any other "logical" disk.

    "virtual" is the attribute of that which has
    "logical" existance, but no meaningful "physical"
    existance. A file can be mounted as a "logical"
    disk with the loopback driver. Since the file
    has no meaningful "physical" existance (Its
    existance depends on interpretation of
    information.), the mounted file is a "virtual"
    disk.

    To unix, "everything is a file". A file that can
    be used as <something> is a "logical" <something>.
    A file that has a one-to-one existance relation with
    a tangible <something> is a "physical" <something>.
    A file that is a "logical" <something> but that has
    no existance without processing is a "virtual"
    <something>. Terminals, disks, and printers, are
    common examples of <something>s.

    The precise categorization of <something> as
    "physical", "virtual", or "logical" depends
    on your intended use, so in theory, a "logical"
    <something> can be all/many/part of "virtual"
    <something-else> and all/many/part of "physical"
    <something-else-again>. In practice, good
    administration policies minimize maintenance
    costs by aligning the "virtual" boundaries
    between <something>s with the "physical" bounadaries
    between <something-else>s, and the "logical"
    boundaries between <something-else-again>s.
    Consequently, there is seldom entanglement
    (which would require attention to extra <something>s
    when one <something> must be maintained).

    Hopefully helpful,