lixuewei / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

EXT3 formatted USB Drive shows up as empty #1194

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Plug the usb drive into the router & download files via Transmission.
2. A sudden power cut (Maybe not sure)
3. Has happened 2 times.

What is the expected output? What do you see instead?
Expected output: View the files in the usb drive.
What I see instead: The USB dive shows space 'used'.
But upon opening the drive its empty. 
I have a progran that allows me to read and write ext3 formatted drives in 
windows 7, It works fine.

What version of the product are you using? On what operating system?

RT-N14U Build version 3.0.3.7-079.
Windows 7.

Please describe the problem as detailed as it's possible.
If you have connection problem, then syslog file is required. (please do
attach it as a file)
Note that if there will be a poor problem description the issue status will
be changed to 'Invalid'!

SYSLOG: 

Mar 22 07:55:17 kernel: usb 1-1: USB disconnect, device number 2
Mar 22 08:55:05 kernel: usb 1-1: new high speed USB device number 3 using 
rt3xxx-ehci
Mar 22 08:55:06 kernel: usb 1-1: New USB device found, idVendor=090c, 
idProduct=1000
Mar 22 08:55:06 kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
Mar 22 08:55:06 kernel: usb 1-1: SerialNumber: 12022299000090
Mar 22 08:55:06 kernel: scsi1 : usb-storage 1-1:1.0
Mar 22 08:55:09 kernel: scsi 1:0:0:0: Direct-Access                             
       PQ: 0 ANSI: 4
Mar 22 08:55:09 kernel: sd 1:0:0:0: [sda] 62259200 512-byte logical blocks: 
(31.8 GB/29.6 GiB)
Mar 22 08:55:09 kernel: sd 1:0:0:0: Attached scsi generic sg0 type 0
Mar 22 08:55:09 kernel: sd 1:0:0:0: [sda] Write Protect is off
Mar 22 08:55:09 kernel: sd 1:0:0:0: [sda] Mode Sense: 43 00 00 00
Mar 22 08:55:09 usb_modeswitch: no rule for device 090c:1000
Mar 22 08:55:09 kernel: sd 1:0:0:0: [sda] No Caching mode page found
Mar 22 08:55:09 kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
Mar 22 08:55:09 kernel: sd 1:0:0:0: [sda] No Caching mode page found
Mar 22 08:55:09 kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
Mar 22 08:55:09 kernel:  sda: sda1
Mar 22 08:55:09 kernel: sd 1:0:0:0: [sda] No Caching mode page found
Mar 22 08:55:09 kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
Mar 22 08:55:09 kernel: sd 1:0:0:0: [sda] Attached SCSI removable disk
Mar 22 08:55:09 kernel: EXT4-fs (sda1): mounting ext3 file system using the 
ext4 subsystem
Mar 22 08:55:09 kernel: EXT4-fs (sda1): invalid journal inode
Mar 22 08:55:09 automount: Unable to mount device /dev/sda1 (ext3) to 
/media/AiDisk_a1!

Original issue reported on code.google.com by mskcool...@gmail.com on 22 Mar 2014 at 3:26

GoogleCodeExporter commented 9 years ago
You must check filesystem on your hdd.

Also, if you use paragon's software for formatting your hdd, the router may not 
see it. You must use Linux (or router) for formatting the hdd to EXT filesystem.

Original comment by Dr.Sydorenko.O on 23 Mar 2014 at 5:10

GoogleCodeExporter commented 9 years ago
The router was able to see the filesystem properly before using the same 
filesystem.
Right now I can write to the USB drive with no problems.
Only the data that was there before is nowhere to be seen.

Attaching 2 Pictures describing the problem in more detail.
1. How it looks in my explorer
http://postimg.org/image/xj2261bed/

2.Inside the USB drive
http://postimg.org/image/bzbdev65f/

I just used Transmission on the USB drive a day back and it was working 
properly.

Original comment by mskcool...@gmail.com on 23 Mar 2014 at 5:44

GoogleCodeExporter commented 9 years ago
I think I solved it.
Ran an fsck using the router, it fixed the journal error.

Thank you for all the help :)
You can close this now.

Original comment by mskcool...@gmail.com on 23 Mar 2014 at 8:56

GoogleCodeExporter commented 9 years ago

Original comment by Dr.Sydorenko.O on 24 Mar 2014 at 11:50