LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Luns (https://www.linuxquestions.org/questions/linux-server-73/luns-520499/)

shads2k5 01-18-2007 08:30 AM

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.

thanks,
shads

trickykid 01-18-2007 09:00 AM

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..

shads2k5 01-18-2007 11:14 AM

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.

thanks,
shads

psnmk 02-07-2007 05:55 PM

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


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