AIX /dev structure and /dev/hd6 vs /dev/hdisk6

Posted on 2011-10-05
Last Modified: 2012-05-12
AIX /dev is confusing what is the difference between

 /dev/hd6 vs /dev/hdisk6?
and is  /dev/hd6 always used for swap?
Question by:it-rex
    LVL 68

    Accepted Solution


    yes, that's very misleading in AIX!

    hd6 is not a disk, but a logical volume.

    And yes, AIX uses this logical volume for paging (swap) by default.

    There might be some mysterious historical reasons calling a logical volume "hd...",
    maybe the AIX guys once thought that there were times to come where
    each logical volume can have its own harddisk ...

    As you might have noticed there are more LVs with such names, like hd1 (home), hd2 (usr), hd3 (tmp), hd4 (/), hd5 (boot) and so on.
    Don't bother, all these are just logical volumes and nothing else.

    See the actual hdisks making up the rootvg with

    lsvg -p rootvg


    LVL 11

    Author Comment

    which command will show me

     hd1 (home), hd2 (usr), hd3 (tmp), hd4 (/), hd5 (boot)
    LVL 68

    Expert Comment

    lsvg -l rootvg
    LVL 11

    Author Closing Comment

    Great thanks

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
    Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Video by: Phil
    This video goes over how to configure and start a jail in FreeBSD.  This video is meant to supplement the article included with this course.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now