LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Thread Tools
Old 11-05-2009, 01:36 PM   #1
mokku
Member
 
Registered: Feb 2007
Posts: 190
Thanked: 0
how do we find internal or external disk?


[Log in to get rid of this advertisement]
We run redhat and there are many disks show when we do fdisk -l. How do I find which one are internal and which one are external disk(SAN device)

Thanks in advance.
windows_xp_2003 mokku is offline     Reply With Quote
Old 11-05-2009, 04:27 PM   #2
thorkelljarl
Member
 
Registered: Jun 2008
Posts: 826
Thanked: 95
Command...

You could run the command "lshw" with root privileges, which will give you information about your hardware and tell you how it is seen by linux, the HDDs seen as hardware devices and as both logical devices and as partitions.

A USB HDD will be seen as a scsi disk.

Last edited by thorkelljarl; 11-06-2009 at 07:06 AM..
linuxsuse thorkelljarl is offline     Reply With Quote
Old 11-05-2009, 08:52 PM   #3
mokku
Member
 
Registered: Feb 2007
Posts: 190
Thanked: 0

Original Poster
lshw is not on our machine. How do we check the SAN disk? Is there any otehr command?
linuxcentos mokku is offline     Reply With Quote
Old 11-06-2009, 01:05 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 3,928
Thanked: 110
lshw is available from the rpmforge repo.

The mount command will give you a lot of information about what is mounted(assuming the mount points are descriptive).
linuxcentos lazlow is offline     Reply With Quote
Old 11-06-2009, 08:05 AM   #5
thorkelljarl
Member
 
Registered: Jun 2008
Posts: 826
Thanked: 95
The SAN...

Since "lshw" reads the information that a device returns after a query, any SAN device should return enough information to allow you to identify it.

"lshw" as an RPM should be here.

http://dag.wieers.com/rpm/packages/lshw/
linuxsuse thorkelljarl is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find internal ip for a site hosted on linux server. I have external ip of it. rohit.dhaval1 Linux - Newbie 5 07-07-2009 08:17 AM
How to tell which disk is external and which is internal pobrika Linux - Hardware 1 06-08-2009 07:58 PM
Internal SATA Drive and external SATA Disk Array. bruceharbin Linux - Hardware 1 05-25-2009 01:33 AM
fedora core 6 cannot find my external hard disk mustafa parlaktuna Linux - Hardware 5 11-22-2006 09:48 AM
linking to an internal ip via external ip rodb Linux - Networking 1 02-03-2004 05:02 AM


All times are GMT -5. The time now is 10:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration