Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Fiber channel disks are not working in CentOS 5.5.

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-05-2011
Member
 
Join Date: Sep 2010
Posts: 55
Fiber channel disks are not working in CentOS 5.5.
  

Hello everyone, I am doing one experiment on my system and I am facing some problem within it. I am trying to set up a new CentOS 5.5 server with an LSI 7402XP fiber channel HBAcard connected with 28 SATA drives. I have connected disks and there is no RAID and LVM. After connecting I have rebooted the system, it is showing me /dev/sdc/ and on entering it shows /sys/class/scsi_disk. When I am selecting the anyone option it shows me status as running. Whenever I am trying to or write drives directly the dd gets failed . so guys cab anyone help me this matter. I am waiting for your replies.

Reply With Quote
  #2  
Old 06-05-2011
Member
 
Join Date: Nov 2009
Posts: 787
Re: Fiber channel disks are not working in CentOS 5.5.

Hey I have gone through to your problem, and I think this is the problem of kernel. Just go through to below log and change as per requirement:
Code:
[root@localhost dev]# /sbin/mkfs /dev/sdc
mke2fs 1.39 (29-May-2006)
/dev/sdc is entire device, not just one partition!
Proceed anyway? (y,n) y
mkfs.ext2: Device size reported to be zero.  Invalid partition specified, or
        partition table wasn't reread after running fdisk, due to
        a modified partition being busy and in use.  You may need to reboot
        to re-read your partition table.

[root@localhost dev]# dd if=/dev/sdc of=/tmp/foo
0+0 records in
0+0 records out
0 bytes (0 B) copied, 4.8e-05 seconds, 0.0 kB/s

[root@localhost dev]# yes | dd of=/dev/sdc
dd: writing to `/dev/sdc': No space left on device
1+0 records in
0+0 records out
0 bytes (0 B) copied, 0.00091 seconds, 0.0 kB/s
Reply With Quote
  #3  
Old 06-05-2011
Member
 
Join Date: Apr 2009
Posts: 990
Re: Fiber channel disks are not working in CentOS 5.5.

Hey everyone, I am also having some log to check out. When I was having the same error I set up this log and I solved my problem, so you will also be able to solve your problem. logs are as below:


Code:
mptbase: ioc1: Initiating bringup
ioc1: LSIFC949E: Capabilities={Initiator,Target,LAN}
PCI: Setting latency timer of device 0000:0b:00.1 to 64
scsi7 : ioc1: LSIFC949E, FwRev=01031b00h, Ports=1, MaxQ=1023, IRQ=98
mptfc: ioc1: FC Link Established, Speed = 4 Gbps
  Vendor: SATAHGST  Model: 721010KLCLAR1000  Rev: A94A
  Type:   Direct-Access                      ANSI SCSI revision: 04
sdc : unsupported sector size 520.
SCSI device sdc: 0 512-byte hdwr sectors (0 MB)
sdc: Write Protect is off
sdc: Mode Sense: cb 00 00 08
SCSI device sdc: drive cache: write through
sd 7:0:0:0: Attached scsi disk sdc
  Vendor: SATAHGST  Model: 721010KLCLAR1000  Rev: A94A
  Type:   Direct-Access                      ANSI SCSI revision: 04
Reply With Quote
  #4  
Old 06-05-2011
Member
 
Join Date: Nov 2009
Posts: 861
Re: Fiber channel disks are not working in CentOS 5.5.

Hello, I have checked and tried to apply the same setup on my system, in starting I was getting the same error and I checked all the logs. After applying above logs I have solved my error and found below logs which will be help to you all:


Code:
May 3 12:05:39 localhost kernel: Fusion MPT misc device (ioctl) driver 3.04.13rh
May 3 12:05:39 localhost kernel: mptctl: Registered with Fusion MPT base driver
May 3 12:05:39 localhost automount[5315]: lookup_read_master: lookup(nisplus): couldn't locate nis+ table auto.master
May 3 12:05:39 localhost kernel: mptctl: /dev/mptctl @ (major,minor=10,220)
Reply With Quote
  #5  
Old 06-05-2011
Member
 
Join Date: Nov 2009
Posts: 1,416
Re: Fiber channel disks are not working in CentOS 5.5.

I have gone through to the above posted log and I came to know that if you want to that log on your console then you need to follow this path /var/log/messages and change it wherever necessary. All the best! See tye below entries:

Code:
May 4 11:23:05localhost kernel: device-mapper: uevent: version 1.0.3
May 4 11:23:05 localhost kernel: device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: dm-devel@redhat.com
May 4 11:23:05 localhost kernel: Fusion MPT base driver 3.04.13rh
May 4 11:23:05 localhost kernel: Copyright (c) 1999-2008 LSI Corporation
May 4 11:23:05 localhost kernel: Fusion MPT FC Host driver 3.04.13rh
May 4 11:23:05 localhost kernel: GSI 20 sharing vector 0x5A and IRQ 20
May 4 11:23:05 localhost kernel: ACPI: PCI Interrupt 0000:0b:00.0[A] -> GSI 18 (level, low) -> IRQ 90
May 4 11:23:05 localhost kernel: mptbase: ioc0: Initiating bringup
May 4 11:23:05 localhost kernel: ioc0: LSIFC949E: Capabilities={Initiator,Target,LAN}
May 4 11:23:05 localhost kernel: scsi6 : ioc0: LSIFC949E, FwRev=01031b00h, Ports=1, MaxQ=1023, IRQ=90
May 4 11:23:05 localhost kernel: GSI 21 sharing vector 0x62 and IRQ 21
May 4 11:23:05 localhost kernel: ACPI: PCI Interrupt 0000:0b:00.1[b] -> GSI 19 (level, low) -> IRQ 98
May 4 11:23:05 localhost kernel: mptbase: ioc1: Initiating bringup
May 4 11:23:05 localhost kernel: ioc1: LSIFC949E: Capabilities={Initiator,Target,LAN}
May 4 11:23:05 localhost kernel: scsi7 : ioc1: LSIFC949E, FwRev=01031b00h, Ports=1, MaxQ=1023, IRQ=98
Reply With Quote
  #6  
Old 07-05-2011
Member
 
Join Date: Sep 2010
Posts: 55
Re: Fiber channel disks are not working in CentOS 5.5.

Hello I just wanted to say thanks to all who have helped me for this matter. I have tried all the methods and trick on my system but finally above posted content worked for me. I installed kernel independent mpt fusion driver from official website of Linux. After that I tried installing open Solaris on my system and it worked for me, it made the folder /dev/dsk. And finally I got success in it, thanks a lot guys without you it was not possible for me to do such big operation. Enjoy the Technology.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Fiber channel disks are not working in CentOS 5.5."
Thread Thread Starter Forum Replies Last Post
Why downkey is not working in CentOS? raguliit Operating Systems 3 17-05-2012 10:13 PM
What is 4-Gigabit Fiber Channel throughput? AbiCgail Hardware Peripherals 8 06-10-2011 03:01 AM
Atheros AR5007 not working with CentOS 5.5 Ooopinder Networking & Security 6 06-05-2011 10:05 AM
Thinkpad T500 2081 CTO Recovery Disks not working Sirens Portable Devices 6 20-06-2010 05:31 AM


All times are GMT +5.5. The time now is 07:07 PM.