vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| This is a pretty basic question, but I couldn't find an answer for it elsewhere. How do I list out all the disk devices attached to a system under AIX 5.2? I come from an HPUX background and the command there is `ioscan -fnC disk` - is there a corresponding command for AIX? |
| |||
| "Eigenvector" <m44_master@yahoo.com> wrote in message news:<HyB9e.44$Xo6.915@news.uswest.net>... > This is a pretty basic question, but I couldn't find an answer for it > elsewhere. > > How do I list out all the disk devices attached to a system under AIX 5.2? > I come from an HPUX background and the command there is `ioscan -fnC disk` - > is there a corresponding command for AIX? To show standard hdisk drives: lsdev -Cc disk To show phsyical disks in SSA RAID systems: lsdev -Cc pdisk To match any SSA hdisk to its pdisk (or vice-versa): ssaxlate -l [diskname] |
| |||
| "Eigenvector" <m44_master@yahoo.com> wrote in message news:HyB9e.44$Xo6.915@news.uswest.net... > This is a pretty basic question, but I couldn't find an answer for it > elsewhere. > > How do I list out all the disk devices attached to a system under AIX 5.2? > I come from an HPUX background and the command there is `ioscan -fnC disk` - > is there a corresponding command for AIX? > Thank you all, I'm slowly building my "language skills" in AIX and this helps me out a ton. |
| |||
| Eigenvector wrote: > "Eigenvector" <m44_master@yahoo.com> wrote in message > news:HyB9e.44$Xo6.915@news.uswest.net... > > This is a pretty basic question, but I couldn't find an answer for it > > elsewhere. > > > > How do I list out all the disk devices attached to a system under AIX 5.2? > > I come from an HPUX background and the command there is `ioscan -fnC > disk` - > > is there a corresponding command for AIX? > > > Thank you all, I'm slowly building my "language skills" in AIX and this > helps me out a ton. If you are already familier with another flavor of UNIX (tm) you may find the rosetta stone of UNIX helpful. It will translate (almost) any flavor commands to another. http://bhami.com/rosetta.html HTH! |
| ||||
| "Eigenvector" <m44_master@yahoo.com> wrote in message news:HyB9e.44$Xo6.915@news.uswest.net... > This is a pretty basic question, but I couldn't find an answer for it > elsewhere. > > How do I list out all the disk devices attached to a system under AIX 5.2? > I come from an HPUX background and the command there is `ioscan -fnC disk` - > is there a corresponding command for AIX? > lspv lsdev -Cc disk lsattr -El hdisk0 lsvg -p rootvg lscfg -vp | more Read up on the above commands to get started in AIX disk admin. A good way to learn the commands is to use smit and view the command that it would run for each function that you would like to perform. Jeffrey |