LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-08-2008, 03:07 PM   #1
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
new /dev/sd* device gets created at startup


We have a server running CentOS 4.6 with an internal raid array, the hard drives of that array are /dev/sda and /dev/sdb. We also have a pci fiber channel card which hooks up to a SAN. The san partition is /dev/sdc

Here is the output from fdisk:
Code:
fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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       30401   244091610   83  Linux

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         254     2040223+  82  Linux swap

Disk /dev/sdc: 1610.6 GB, 1610612736000 bytes
255 heads, 63 sectors/track, 195812 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      195812  1572859858+  83  Linux
My issue is I keep getting disk I/O errors for disk /dev/sdd
Here are a few lines from dmesg:
Code:
SCSI device sdd: 3145728000 512-byte hdwr sectors (1610613 MB)
sdd: asking for cache data failed
sdd: assuming drive cache: write through
SCSI device sdd: 3145728000 512-byte hdwr sectors (1610613 MB)
sdd: asking for cache data failed
sdd: assuming drive cache: write through
 sdd:<6>Device sdd not ready.
end_request: I/O error, dev sdd, sector 0
Buffer I/O error on device sdd, logical block 0
My /etc/fstab does not list a /dev/sdd... but if I do an ls on /dev there is a single /dev/sdd device. If I rm /dev/sdd it'll re-appear after a reboot. If a try to fdisk /dev/sdd I get the following message:
Code:
fdisk /dev/sdd 

Unable to read /dev/sdd
I have no idea what's going on. Somewhere there's gotta be a line that says /dev/sdd is a valid partition but I have no idea where to look. Any help/ideas would be much appreciated.

Thanks!
 
Old 09-08-2008, 03:57 PM   #2
CRC123
Member
 
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Rep: Reputation: 32
Any tape devices, cdrom's, etc connected through scsi or sata? lots of times cdrom or dvd show up as hd.. or sd.. etc.
 
Old 09-08-2008, 04:11 PM   #3
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Original Poster
Rep: Reputation: 30
The cdrom is connected via IDE and is assigned /dev/hda. Here's my /etc/fstab:
Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
LABEL=SWAP-sdb1         swap                    swap    defaults        0 0
/dev/sdc1               /exports/mounts/archive ext3    defaults        1 1
/dev/hda                /media/cdrom            auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
 
Old 09-09-2008, 09:25 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
anything in the dmesg log after booting that would indicate what is being detected as sdd ?

cat /var/log/dmesg | grep sdd
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how /dev/usb is created seeism Fedora 1 07-02-2008 10:49 AM
using flash drive changes device /dev/sr0 to /dev/sr1 for mapping to /dev/pktcdvd/0? lugoteehalt Linux - Software 3 10-24-2007 10:27 AM
/dev/tty0, /dev/tty1, /dev/tty10...and so on...which should be used for a device ??? b0nd Slackware 2 04-02-2006 08:14 AM
how are /dev entries created? quatsch Mandriva 3 03-10-2004 09:41 AM
how are /dev files created? jkobrien Linux - Hardware 3 10-17-2003 06:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration