Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-18-2007, 08:30 AM   #1
LQ Newbie
Registered: Jun 2006
Posts: 26

Rep: Reputation: 15
Question Luns

HI Folks,

I have a small query on LUN (SAN)

can anyone tell me how can we check what are the LUNS allaocated for a LINUX box

also can we check the LUNS drives from the command

fdisk -l

please help me on this info.

Old 01-18-2007, 09:00 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
You shouldn't have any problems seeing the LUNs from using the fdisk command. The SAN's I've dealt with, I'd actually use fdisk to find the LUN's, parition and format, etc..
Old 01-18-2007, 11:14 AM   #3
LQ Newbie
Registered: Jun 2006
Posts: 26

Original Poster
Rep: Reputation: 15
okss gr8 then.

but i dont c any specific output realated to LUN, cud you help me

giving a sample output or how the output will look like and how can we identify its LUN which is used for storage.

Old 02-07-2007, 05:55 PM   #4
LQ Newbie
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
LUNS in rehat

cat /proc/scsi/scsi [/COLOR][/B]file to see the luns in SAN

They are Dynamically added by following command

echo "scsi add-single-device A B C D">/proc/scsi/scsi
A is the host bus adapter (HBA) number
B is the channel id on the HBA
C is the SCSI ID of the new device
D is the LUN of the new device


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
multiple luns assigning on FastT600 jtafilagi Linux - Hardware 4 02-11-2005 08:48 AM
Multiple LUNS on Mandrake 10 wihiker Linux - Hardware 0 02-10-2005 05:56 AM
Advanced Server 2.1 max LUNs danrainman Red Hat 0 01-14-2004 11:57 AM
Can't see multiple LUNS with RH7.2 stunji Linux - Hardware 2 10-20-2003 08:46 AM
How to configure Linux to support multiple LUNs? troyzeng Linux - Hardware 1 09-03-2003 11:58 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:20 AM.

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