Operating System - Linux
1752726 Members
5848 Online
108789 Solutions
New Discussion

HOW TO ADD DISK FROM EVA8100 TO REDHAT 5

 
Michael Mtweve
Occasional Advisor

HOW TO ADD DISK FROM EVA8100 TO REDHAT 5

I am trying to add disk storage from eva8100 to Redhat 5.7 server through fc channel, without success.

 

The fiber channel is detected in the redhat and the presentation of the vdisk from the EVA has been successful. However the disk is not being detected as a device which I can creat the Lugical unit in the red hat. 

This has happeded even to scsi disk which is seen in the display of below:

 

 

[root@svlhq30 /]# lsscsi
[0:0:0:0] cd/dvd hp DVD D DS8D3SH HHE7 /dev/sr0
[3:0:0:0] storage HP HSV210 6200 -
[3:0:1:0] storage HP HSV210 6200 -
[6:0:0:0] storage HP P2000 G3 iSCSI T230 -

 

Please is there any one who can help me how  to go about creating the logical units in red hat.

 

regards;

 

Michael

 

2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: HOW TO ADD DISK FROM EVA8100 TO REDHAT 5

See if your system has a command called "rescan-scsi-bus.sh".  This can be used to scan the scsi bus and add device files as appropriate when new LUNs / disks are presented / attached to a system.

 

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/rescan-scsi-bus.html

Michael Mtweve
Occasional Advisor

Re: HOW TO ADD DISK FROM EVA8100 TO REDHAT 5

Hello Patrick;

Thanks for response.  I have scanned the system and the devices are added however the new LUNs/Disks are attached to the system without system naming like /dev/sdx.  How can I make  these attached devices be presented in the the system as /dev/sdxx so that I can create LVM?.

 

[root@svlhq30 ~]# rescan-scsi-bus.sh
Host adapter 0 (ata_piix) found.
Host adapter 1 (ata_piix) found.
Host adapter 2 (lpfc) found.
Host adapter 3 (lpfc) found.
Host adapter 4 (bnx2i) found.
Host adapter 5 (bnx2i) found.
Host adapter 6 (iscsi_tcp) found.
Scanning SCSI subsystem for new devices
Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: hp Model: DVD D DS8D3SH Rev: HHE7
Type: CD-ROM ANSI SCSI revision: 05
Scanning host 1 channels 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning host 2 for all SCSI target IDs, all LUNs
Scanning host 3 for all SCSI target IDs, all LUNs
Scanning for device 3 0 0 0 ...
OLD: Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: HSV210 Rev: 6200
Type: RAID ANSI SCSI revision: 05
Scanning for device 3 0 1 0 ...
OLD: Host: scsi3 Channel: 00 Id: 01 Lun: 00
Vendor: HP Model: HSV210 Rev: 6200
Type: RAID ANSI SCSI revision: 05
Scanning for device 3 0 2 0 ...
OLD: Host: scsi3 Channel: 00 Id: 02 Lun: 00
Vendor: HP Model: HSV210 Rev: 6200
Type: RAID ANSI SCSI revision: 05
Scanning for device 3 0 3 0 ...
OLD: Host: scsi3 Channel: 00 Id: 03 Lun: 00
Vendor: HP Model: HSV210 Rev: 6200
Type: RAID ANSI SCSI revision: 05
Scanning host 4 for all SCSI target IDs, all LUNs
Scanning host 5 for all SCSI target IDs, all LUNs
Scanning host 6 for all SCSI target IDs, all LUNs
Scanning for device 6 0 0 0 ...
OLD: Host: scsi6 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: P2000 G3 iSCSI Rev: T230
Type: RAID ANSI SCSI revision: 05
0 new device(s) found.
0 device(s) removed.
[root@svlhq30 ~]# fdisk -l

Disk /dev/cciss/c0d0: 299.9 GB, 299966445568 bytes
255 heads, 63 sectors/track, 36468 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 255 2048256 83 Linux
/dev/cciss/c0d0p2 256 19377 153597465 8e Linux LVM
/dev/cciss/c0d0p3 19378 27536 65537167+ 82 Linux swap / Solaris

 

 


[root@svlhq30 ~]# lsscsi
[0:0:0:0] cd/dvd hp DVD D DS8D3SH HHE7 /dev/sr0
[3:0:0:0] storage HP HSV210 6200 -
[3:0:1:0] storage HP HSV210 6200 -
[3:0:2:0] storage HP HSV210 6200 -
[3:0:3:0] storage HP HSV210 6200 -
[6:0:0:0] storage HP P2000 G3 iSCSI T230 -

 

 


[root@svlhq30 ~]# ls -1 /sys/class/fc_host/
host2
host3
[root@svlhq30 ~]#
[root@svlhq30 ~]#
[root@svlhq30 ~]# less /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: hp Model: DVD D DS8D3SH Rev: HHE7
Type: CD-ROM ANSI SCSI revision: 05
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: HSV210 Rev: 6200
Type: RAID ANSI SCSI revision: 05
Host: scsi3 Channel: 00 Id: 01 Lun: 00
Vendor: HP Model: HSV210 Rev: 6200
Type: RAID ANSI SCSI revision: 05
Host: scsi3 Channel: 00 Id: 02 Lun: 00
Vendor: HP Model: HSV210 Rev: 6200
Type: RAID ANSI SCSI revision: 05
Host: scsi3 Channel: 00 Id: 03 Lun: 00
Vendor: HP Model: HSV210 Rev: 6200
Type: RAID ANSI SCSI revision: 05
Host: scsi6 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: P2000 G3 iSCSI Rev: T230
Type: RAID ANSI SCSI revision: 05