Link to home
Start Free TrialLog in
Avatar of santoshmotwani
santoshmotwaniFlag for Australia

asked on

/dev/sdd not found

Hi experts,

i have couple of USB drives connected to production server. One of them suddenly stopped with i/o error. i tried to umount it but it was busy, so i switched off power and unplugged it.

i connected another drive not i cant find /dev/sdd. i tried ./MAKEDEV sdd no result.

here is my dmesg & /var/log/messages.

/var/log/messages :

Sep 29 12:14:47 mail kernel: [49507435.660000] usb 2-8: USB disconnect, address 9
Sep 29 12:15:23 mail kernel: [49507471.940000] usb 2-1: new high speed USB device using ehci_hcd and address 10
Sep 29 12:15:23 mail kernel: [49507472.090000] scsi8 : SCSI emulation for USB Mass Storage devices
Sep 29 12:15:28 mail kernel: [49507477.110000]   Vendor: SAMSUNG   Model: HD501LJ           Rev:
Sep 29 12:15:28 mail kernel: [49507477.110000]   Type:   Direct-Access                      ANSI SCSI revision: 02
Sep 29 12:15:28 mail kernel: [49507477.120000] SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
Sep 29 12:15:28 mail kernel: [49507477.120000] SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
Sep 29 12:15:28 mail kernel: [49507477.120000]  sdd: sdd1
Sep 29 12:15:28 mail kernel: [49507477.130000] sd 8:0:0:0: Attached scsi disk sdd
Sep 29 12:15:28 mail kernel: [49507477.130000] sd 8:0:0:0: Attached scsi generic sg3 type 0


DMEsG:

[49507471.940000] usb 2-1: new high speed USB device using ehci_hcd and address 10
[49507472.090000] scsi8 : SCSI emulation for USB Mass Storage devices
[49507472.090000] usb-storage: device found at 10
[49507472.090000] usb-storage: waiting for device to settle before scanning
[49507477.110000]   Vendor: SAMSUNG   Model: HD501LJ           Rev:
[49507477.110000]   Type:   Direct-Access                      ANSI SCSI revision: 02
[49507477.120000] SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
[49507477.120000] sdd: assuming drive cache: write through
[49507477.120000] SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
[49507477.120000] sdd: assuming drive cache: write through
[49507477.120000]  sdd: sdd1
[49507477.130000] sd 8:0:0:0: Attached scsi disk sdd
[49507477.130000] sd 8:0:0:0: Attached scsi generic sg3 type 0
[49507477.130000] usb-storage: device scan complete


lsusb :

Bus 002 Device 002: ID 04fc:0c25 Sunplus Technology Co., Ltd
Bus 002 Device 003: ID 1058:1001 Western Digital Technologies, Inc.
Bus 002 Device 005: ID 1058:1100 Western Digital Technologies, Inc.
Bus 002 Device 004: ID 0d49:7410 Maxtor
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000


Please help
ASKER CERTIFIED SOLUTION
Avatar of David
David
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of santoshmotwani

ASKER

Hi ,

Is there any way to do it without restarting the server.

here is my /proc/partitions


   3     0  390711384 hda
   3     1      64228 hda1
   3     2  389648542 hda2
   3     3     996030 hda3
  22     0  390711384 hdc
  22     1      64228 hdc1
  22     2  389648542 hdc2
  22     3     996030 hdc3
   9     0      64128 md0
   9     1  389648448 md1
 253     0     996030 dm-0
 253     1     996030 dm-1
 253     2      64228 dm-2
 253     3  389648542 dm-3
 253     4      64228 dm-4
 253     5  389648542 dm-5
   8     0  976762584 sda
   8     1  976760001 sda1
   8    16  488386584 sdb
   8    17  488384001 sdb1
   8    32  488386584 sdc
   8    33  488384001 sdc1
   8    64  488386584 sde
   8    65  488384001 sde1
   8    48  488386584 sdd
   8    49  488384001 sdd1
A dumb question sorry :

i cant see that drive in /dev/.static/dev/sdd1

will it ok if i mount if from that location.

Thnx for your help


whats the difference between /dev/sdd1 & /dev/.static/dev/sdd1 ??
Avatar of dannykurniawan
dannykurniawan

see if you can unplug the mass storage driver, or usb driver... try lsmod first and see if the driver is used. then try to rmmod driver modules for mass storage and usb, then try to modprobe it again to see if the driver works again.
@ dannykurniawan

I have for 5 usb drives attached to it. Will it effect other drives if i following above instructions?

i can see that drive in /dev/.static/dev/sdd1 ( last comment said i cant sorry)

All the /dev/sd entries would go away, if you were successful doing a rmmod, as it looks like they are all USB-attached.   You are just going to have to reboot to clear up the locked device.

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It did helped but solution was something else.