Operating System - Linux
1756674 Members
2778 Online
108852 Solutions
New Discussion юеВ

Re: listing disks, devices, etc.

 
Ken Hunter
Advisor

listing disks, devices, etc.

This has to be among the simplest of questions - but in HPUX 10.20 - I can do a 'ioscan -f' for example, and list all the disks with scsi id's, other devices, etc.
Okay - well how is this done in RedHat Linux 6.2? I have to believe there is a magic command that does this and probably more.

thanks in advance,

Ken :)
Lead, Follow, or Get out of the Way! - USMC
3 REPLIES 3
Mike Brown_3
Frequent Advisor

Re: listing disks, devices, etc.

HP-UX is, without doubt, the leader in this area - I've never found a decent competitor to "ioscan".
I think you'll find "linuxconf" is your best option which not only allows you to list components in your box, but also allows you to reconfigure them.

HTH,
Mike.
There's no substitute for experience
linuxfan
Honored Contributor

Re: listing disks, devices, etc.

Hi Ken,

If you are only looking for the devices then do
cat /proc/devices, you can look into /proc directory, you would find most of the information there (io,interrupts,modules, etc)
Here is another link which might help you for commands on different *nix's
http://unix-guide.addr.com/unixguide.shtml

-Hope that helps
I am RU
They think they know but don't. At least I know I don't know - Socrates
Terry Rodery
Occasional Advisor

Re: listing disks, devices, etc.

Hey,

Check dmesg for scsi information or install the cdrecord package and do cdrecord -scanbus and I believe that can give you some addtional information regarding scsi devices.