Operating System - Linux
1832262 Members
2881 Online
110041 Solutions
New Discussion

StrageWorks array and Linux RHEL AS 3.0

 
luis de carlos
Occasional Advisor

StrageWorks array and Linux RHEL AS 3.0

Hi,
I am pretty green with the management of StorageWorks VA 7110 disks on Linux so forgive if my question is pretty basic.
I have a mixed environment W2K and Linux and have installed and succesfully configured LUN's for the w2k server which happens to run the Commandview SDM version 1.09.
I can see the array and SDM works fine.
I also want to allocate disks to my linux servers.
I have installed fibreutils with no issues and can see LUN 0 on the array, but nothing else.

My questions are :
1) Do I need to have commandview also installed in the Linux servers?
(I tried to install SDM 1.09 on the Linux box but got an error as the package wants kernel above 2.4.21 and I have 2.4.18 and cannot upgrade at the moment) .

If the answer to 1 is "not necessary" my second question is :
How do I allocate the LUN's?
Thank you for your assistance
5 REPLIES 5
Matthew_50
Valued Contributor

Re: StrageWorks array and Linux RHEL AS 3.0

disks connected via fibre channel are seen
as normal SCSI disks in Linux. This is valid
for LUNS also.

To see all LUNS in a scan the kernel must
have multiple LUN support enabled:
CONFIG_SCSI_MULTI-LUN=y in kernel. In
addition you may need to specify the kernel
parameter max_scsi_luns.

check `dmesg` output, to see if any new LUNs
apear.
luis de carlos
Occasional Advisor

Re: StrageWorks array and Linux RHEL AS 3.0

Hi Mattew,
Thanks so much for your assistance, however, I am filling in while we wait to get a proper Linux SA resource and my Linux knowledge is near to nil, as all my SA experience is with Solaris and tru64. This said, I have done a bit of homework, but cannot locate the .config so I cannot say what are the current kernel parameters nor do I know how to query or set them, but I guess I should find this in the doco, not bother you with it.
My hunch is that the system sees the array as
The dmesg reports the array and its lun 0 which is attached see below :

scsi singledevice 3 0 0 0
blk: queue e0000040471d5d30, I/O limit 17592186044415Mb (mask 0xffffffffffffffff)
Vendor: HP Model: A6189B Rev: A120
Type: Direct-Access ANSI SCSI revision: 03
blk: queue e0000040471d6730, I/O limit 17592186044415Mb (mask 0xffffffffffffffff)
scsi(3:0:0:0): Enabled tagged queuing, queue depth 16.
Attached scsi disk sdc at scsi3, channel 0, id 0, lun 0
SCSI device sdc: 1 512-byte hdwr sectors (0 MB)
sdc: I/O error: dev 08:20, sector 0
I/O error: dev 08:20, sector 0
I/O error: dev 08:20, sector 0
I/O error: dev 08:20, sector 0
I/O error: dev 08:20, sector 0
unable to read partition table
scsi singledevice 3 0 0 1
blk: queue e0000040471d6730, I/O limit 17592186044415Mb (mask 0xffffffffffffffff)
scsi singledevice 3 0 0 2
blk: queue e0000040471d6730, I/O limit 17592186044415Mb (mask 0xffffffffffffffff)
scsi singledevice 3 0 0 3
etc .... till lun 32 then does the same for controller 1 ...

My problem is that I created a lun (#3) in the array, which is not formatted, and whereas in windows I was able to format the lun (#2) , I do not know how to do this in Linux .
I also realize this is the wrong forum!... definitely not my day!.

If you can help thanks again
Luis


Gopi Sekar
Honored Contributor

Re: StrageWorks array and Linux RHEL AS 3.0


Don´t know much about LUN, but let me help you in locating config file.

the config file for the running kernel is located in /boot/ directory, the file name is config-

but to compile it to your desired need, you have to install kernel-source rpm, it will install kernel source files in /usr/src/linux-2.4 from where you can configure and compile the kernel to suit your need

Hope this helps,
Go
Never Never Never Giveup
xyko_1
Esteemed Contributor

Re: StrageWorks array and Linux RHEL AS 3.0

Hi Luis,

to configure the kernel with support to multi luns is what you have to do, but ....
you may try to run the script above and see if the extra luns are seen.
http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh

Regards,
Xyko
luis de carlos
Occasional Advisor

Re: StrageWorks array and Linux RHEL AS 3.0

Hi ,
Thanks to all, but I think I am out of my depth.
I forgot to say that this is a IA64 install and to recompile kernel etc it is a different procedure than standard Linux. So I'm touching base with some contacts at HP see what can be done ...
Luis