LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-31-2012, 02:01 AM   #1
udaya_fm
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: Redhat
Posts: 8

Rep: Reputation: Disabled
Question Checking LUNS details in redhat server.


Hi,

Could any one please let me know how to check the LUN details which was assigned from connected storage device by storage team. What are the details we have to give to storage team for requesting new LUN?

-Uday
 
Old 01-31-2012, 08:10 AM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
@udaya_fm: With respect, cut the red tape and call your storage guy on the phone. How in the world can we speak to your bureaucracy's procedures? (Read: you are asking the wrong people.)
 
Old 02-01-2012, 12:05 AM   #3
udaya_fm
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: Redhat
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi Anomie,

I am asking general procedure to request for new LUN. What are the details for ex: FC details we have to provide and how to find those details(commands)? Could you please help me regarding this?

Thanks
uday
 
Old 02-01-2012, 12:18 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
I still don't understand what you are asking. If this is the first time you've requested a LUN from your storage group, then write them with something similar to:

"Hi, I am requesting a new LUN for server label FOO in rack # N69. The LUN needs to be 500GB, and should be presented to host foo.local. For zoning, my HBA WWNs are 0xaaaaaaaaaaaaaaaa and 0xbbbbbbbbbbbbbbbb. Please contact me if you need any more information."

Then, after you hear back, document the type information they want from you, so that you can make an intelligent LUN request next time.

BTW, to find HBA WWNs, use:
Code:
# systool -c fc_host -v
(You want port_name, not node_name.)
 
Old 02-01-2012, 01:29 PM   #5
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248
Blog Entries: 3

Rep: Reputation: 17
Hi

your will provided WWN Number to the storage team then they will check that WWN number at their end & identify which WWN ID is free from the new lun which u required or if YOU want to extend any lun then they will extended that lun at their end
after that you have to work on that one. it's depend whether it is used as LVM or With out LVM.

so first you will give the WWN Number
As previously "anomie" mention the "systool -c fc_host -v"

port_name = ""(this is the number which u have to give to the storage team
port_state = "" (Port online or offline )
port_type = ""(Type of port )
speed = "" (about speed

Last edited by pantdk; 02-01-2012 at 01:30 PM.
 
Old 02-08-2012, 03:56 AM   #6
udaya_fm
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: Redhat
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi anomie,pantdk,

Thanks for your time and reply. How to find whether they (storage team) have allotted the new requested LUN to specified server? Please explain.

-S.Udayakumar
 
Old 02-08-2012, 11:47 AM   #7
yngmike
LQ Newbie
 
Registered: Sep 2007
Posts: 10

Rep: Reputation: 2
This is probably what you are looking for. This doc explains how to determine which LUN ID's are mapped to which block device detected on the system.
http://www.askwillis.com/?p=40
-Willis
 
Old 02-14-2012, 07:45 AM   #8
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248
Blog Entries: 3

Rep: Reputation: 17
first scan

Quote:
# echo "- - -" >/sys/class/scsi_host/host#/scan (new lun scan)

#cat /proc/scsi/scsi
or get these information from below command
C – Channel on the HBA
T – SCSI target id
L – LUN id
# systool -c fc_transport -v ( it provided HBA number,channel on HBA,SCSI Target id
# systool -c fc_host -v (it provided HBA's wwn id)

sg_map -x (it provided Host, Bus, Target, Lun)


http://www.torontoaix.com/linux-how-...tips/wwn-linux

example of netapp san storage how to assign lun & how to scan at linux end

http://www.unixinfo.nl/


full Details of the Lun id,label,path,uuid
Quote:
[root@dk ~]# cd /dev/disk/by-path/ (example of openfile which is used as scsi disk)
[root@dk by-path]# multipath -ll
mpathb (14f504e46494c45006c71646451642d7244504f2d78396a39) dm-2 OPNFILER,VIRTUAL-DISK
size=5.1G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 4:0:0:1 sdd 8:48 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 3:0:0:1 sdg 8:96 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 5:0:0:1 sde 8:64 active ready running
mpatha (14f504e46494c45006462314b72682d476f35732d346c6241) dm-1 OPNFILER,VIRTUAL-DISK
size=4.9G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 5:0:0:0 sdc 8:32 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 4:0:0:2 sdf 8:80 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 3:0:0:2 sdh 8:112 active ready running
[root@dk by-path]# ls
ip-172.16.11.100:3260-iscsi-iqn.2006-01.com.openfiler:tsn.5ce8f6c57b87-lun-1 pci-0000:00:10.0-scsi-0:0:0:0
ip-172.16.11.100:3260-iscsi-iqn.2006-01.com.openfiler:tsn.5ce8f6c57b87-lun-2 pci-0000:00:10.0-scsi-0:0:0:0-part1
ip-172.16.11.100:3260-iscsi-iqn.2006-01.com.openfiler:tsn.afce138e6d16-lun-0 pci-0000:00:10.0-scsi-0:0:0:0-part2
ip-172.16.11.100:3260-iscsi-iqn.2006-01.com.openfiler:tsn.afce138e6d16-lun-1 pci-0000:00:10.0-scsi-0:0:0:0-part3
ip-192.168.45.100:3260-iscsi-iqn.2006-01.com.openfiler:tsn.5ce8f6c57b87-lun-1 pci-0000:00:10.0-scsi-0:0:1:0
ip-192.168.45.100:3260-iscsi-iqn.2006-01.com.openfiler:tsn.5ce8f6c57b87-lun-2 pci-0000:00:10.0-scsi-0:0:1:0-part1
pci-0000:00:07.1-scsi-1:0:0:0
[root@dk by-path]#
This is a full details which you can use
Quote:
[root@dk ~]# cd /dev/disk/by-
by-id/ by-label/ by-path/ by-uuid/

Last edited by pantdk; 02-15-2012 at 08:24 AM.
 
1 members found this post helpful.
Old 02-16-2012, 06:24 AM   #9
udaya_fm
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: Redhat
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi Pantdk,

Thanks a lot for your info. It is very helpful.

-S.Udayakumar
 
Old 02-16-2012, 03:42 PM   #10
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248
Blog Entries: 3

Rep: Reputation: 17
if it's sufficient,then mark as solve
 
Old 02-18-2012, 10:02 PM   #11
jnreddy
Member
 
Registered: May 2008
Location: INDIA
Distribution: RHEL
Posts: 171

Rep: Reputation: 15
Smile Native multipathing with openfiler

its very helpful

Last edited by jnreddy; 02-18-2012 at 10:03 PM.
 
  


Reply



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
please help! How do we make our Linux RedHat server recognize the new LUNs (ASM)? kmagitz Linux - Newbie 3 08-25-2010 06:17 AM
My Redhat Server Details Rudy Linux - Server 1 01-07-2010 02:38 PM
checking package details kapilbajpai88 Linux - Newbie 1 01-09-2009 04:37 PM
Fdisk Failure On New Luns From Eva3000 Redhat lvdi744 Red Hat 0 11-23-2005 04:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:51 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration