OpenWrt Forum Archive

Topic: Mount drive: the device path will change once every half an hour,why?

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I tried replacing the hard drive box and other hard disk, but does not solve the problem.

openwrt discriminated the path of hard device was '/dev/sda',After about half an hour the path becomes '/dev/sdb',After about

half an hour the path becomes '/dev/sdc' again.

My hard disk: ext4, 250gb (independent power supply)

openwrt:    Barrier Breaker 14.07
                  Released: Thu, 02 Oct 2014

===============================================================
My English is poor, please forgive me, thank you.

What do logread / dmesg say?

tmo26 wrote:

What do logread / dmesg say?



[11535.850000] usb 1-1: USB disconnect, device number 2
[11535.860000] usblp0: removed
[11604.270000] usb 1-1: new full-speed USB device number 3 using ehci-platform
[11604.450000] usblp 1-1:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005
[15706.840000] usb 1-1: USB disconnect, device number 3
[15706.840000] usblp0: removed
[15744.910000] usb 1-1: new high-speed USB device number 4 using ehci-platform
[15745.070000] hub 1-1:1.0: USB hub found
[15745.070000] hub 1-1:1.0: 4 ports detected
[15754.800000] usb 1-1.4: new high-speed USB device number 5 using ehci-platform
[15754.940000] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[15754.940000] scsi0 : usb-storage 1-1.4:1.0
[15757.460000] scsi 0:0:0:0: Direct-Access     ATA      ST9250827AS      A    PQ: 0 ANSI: 6
[15757.480000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[15757.480000] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[15757.490000] sd 0:0:0:0: [sda] Write Protect is off
[15757.500000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[15757.500000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[15757.660000]  sda: unknown partition table
[15757.670000] sd 0:0:0:0: [sda] Attached SCSI disk
[16152.330000] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts:
[16471.640000] usb 1-1.4: USB disconnect, device number 5
[16471.900000] usb 1-1.4: new high-speed USB device number 6 using ehci-platform
[16472.050000] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[16472.050000] scsi1 : usb-storage 1-1.4:1.0
[16474.580000] scsi 1:0:0:0: Direct-Access     ATA      ST9250827AS      A    PQ: 0 ANSI: 6
[16474.600000] sd 1:0:0:0: Attached scsi generic sg0 type 0
[16474.600000] sd 1:0:0:0: [sdb] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[16474.610000] sd 1:0:0:0: [sdb] Write Protect is off
[16474.620000] sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
[16474.620000] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[16474.770000]  sdb: unknown partition table
[16474.780000] sd 1:0:0:0: [sdb] Attached SCSI disk
[16694.060000] EXT4-fs warning (device sda): __ext4_read_dirblock:908: error reading directory block (ino 2, block 0)
[16698.040000] Buffer I/O error on device sda, logical block 30441472
[16698.040000] lost page write due to I/O error on sda
[16698.050000] JBD2: Error -5 detected when updating journal superblock for sda-8.

The discussion might have continued from here.