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

AIX /dev is confusing what is the difference between

 /dev/hd6 vs /dev/hdisk6?
and is  /dev/hd6 always used for swap?
LVL 11
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


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



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
it-rexAuthor Commented:
which command will show me

 hd1 (home), hd2 (usr), hd3 (tmp), hd4 (/), hd5 (boot)
lsvg -l rootvg
it-rexAuthor Commented:
Great thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.