Find the answer to your Linux question:
Results 1 to 8 of 8
I add a new SCSI disk to my server(Which runs Redhat Linux 9), and "cat /proc/scsi/scsi" shows the correct information, but "fdisk -l" cannot list the new disk....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2007
    Posts
    4

    Question Cannot mount a new SCSI disk


    I add a new SCSI disk to my server(Which runs Redhat Linux 9), and "cat /proc/scsi/scsi" shows the correct information, but "fdisk -l" cannot list the new disk.

  2. #2
    Linux User infoshirish's Avatar
    Join Date
    May 2007
    Location
    Pune, India
    Posts
    397
    Quote Originally Posted by hotman_x View Post
    I add a new SCSI disk to my server(Which runs Redhat Linux 9), and "cat /proc/scsi/scsi" shows the correct information, but "fdisk -l" cannot list the new disk.
    Hii hotman_x,
    Welcome to Linux Forums. Sometimes linux wont detect attached harddisks. Though just check your attach harddisk has been detected by your distro

    Code:
    #dmesg |grep scsi
    If it shows output its ok, nxt step now you need to create device nodes for the new disk.
    The MAKEDEV command is used to create new device nodes.

    Code:
    #cd /dev
    #MAKEDEV sdX /* Here X means your a, b or c depending how many number of Scsi Hdd you have though for i.e if attched Hdd is secondary Scsi you should put b */
    Reboot your machine fdisk -l should show your attached HDD.
    Regards,

    who |grep -i blonde |
    date; cd~; unzip; touch;
    strip; finger; mount; gasp;
    yes; uptime; umount;
    sleep

    Newbie clicks
    http://www.linuxforums.org/forum/lin...ead-first.html

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by infoshirish
    The MAKEDEV command is used to create new device nodes.
    Wow ! I didn't know about Makedev command. Thanx a lot infoshirish. I am reading its manual right now.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    Aug 2007
    Posts
    4
    There exists a disk file /dev/sdb, but it have not attached to any true disk. Can I still use "makedev /dev/sdb"?

    I cannot access my server now. I'll try it later.
    Thank you, infoshirish.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post the output of fdisk -l and cat /proc/scsi/scsi here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Aug 2007
    Posts
    4
    Quote Originally Posted by devils_casper View Post
    Post the output of fdisk -l and cat /proc/scsi/scsi here.
    I'll post the output as quickly as possible. But I can't access my server now.

  7. #7
    Just Joined!
    Join Date
    Aug 2007
    Posts
    4
    I'm sorry the MAKEDEV did not work.

    Here the output:

    [root@test root]# cat /proc/scsi/scsi
    Attached devices:
    Host: scsi1 Channel: 00 Id: 00 Lun: 00
    Vendor: IBM-ESXS Model: DTN073C3UCDY10FN Rev: S29C
    Type: Direct-Access ANSI SCSI revision: 03
    Host: scsi1 Channel: 00 Id: 02 Lun: 00
    Vendor: IBM Model: DDYS-T36950M Rev: S96H
    Type: Direct-Access ANSI SCSI revision: 03
    Host: scsi1 Channel: 00 Id: 03 Lun: 00
    Vendor: IBM-ESXS Model: ST336607LC FN Rev: B25H
    Type: Direct-Access ANSI SCSI revision: 03
    Host: scsi1 Channel: 00 Id: 08 Lun: 00
    Vendor: IBM Model: 32P0032a S320 1 Rev: 1
    Type: Processor ANSI SCSI revision: 02
    [root@test root]# fdisk -l

    Disk /dev/sda: 73.4 GB, 73407488000 bytes
    255 heads, 63 sectors/track, 8924 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 13 104391 83 Linux
    /dev/sda2 14 8670 69537352+ 83 Linux
    /dev/sda3 8671 8924 2040255 82 Linux swap

    Disk /dev/sdc: 36.4 GB, 36401479680 bytes
    254 heads, 63 sectors/track, 4442 cylinders
    Units = cylinders of 16002 * 512 = 8193024 bytes

    Device Boot Start End Blocks Id System
    /dev/sdc1 1 4442 35540410+ 83 Linux

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Execute this
    Code:
    dmesg | grep scsi
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •