Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 613
  • Last Modified:

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?
0
it-rex
Asked:
it-rex
  • 2
  • 2
1 Solution
 
woolmilkporcCommented:
Hi,

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

wmp

0
 
it-rexAuthor Commented:
which command will show me

 hd1 (home), hd2 (usr), hd3 (tmp), hd4 (/), hd5 (boot)
0
 
woolmilkporcCommented:
lsvg -l rootvg
0
 
it-rexAuthor Commented:
Great thanks
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now