Results 1 to 6 of 6

Thread: Fiber channel disks are not working in CentOS 5.5.

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

  2. #2
    Join Date
    Nov 2009
    Posts
    792

    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

  3. #3
    Join Date
    Apr 2009
    Posts
    994

    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

  4. #4
    Join Date
    Nov 2009
    Posts
    865

    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)

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

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

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,719,105,847.37803 seconds with 17 queries