FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Sat Jan 16, 2021 04:36



Post new topic Reply to topic  [ 3 posts ] 
Removable drive unclean after USB-rescan 
Author Message

Joined: Sat May 30, 2009 00:08
Posts: 4
Post Removable drive unclean after USB-rescan
I have tried to find a hint on the forum, but as USB gets filtered by the search I have not been able to find a pointer.

The situation: saving data from a failing drive by copying it to a removable disc. The removable disc is connected to the desktop via USB; the desktop runs a kubuntu 8.04 live disc.
While copying, Dolphin gives this popup: could not write to file /mnt/meuk/......

The removable drive that I mounted:
Code:
mount /dev/sdb1 /mnt/meuk

turned out to have moved to /dev/sdc1:
Code:
fdisk -l
....
/dev/sdc1 ....... HPFS/NTFS


So, umount and remount as:
Code:
mount /dev/sdc1 /mnt/meuk


After a short while, there was another popup telling me the device was not available. This time, /dev/sdc1 became /dev/sdb1 again.

On umounting/remounting, I got
Code:
$MFTMirr does not match $MFT (record 0); NTFS is inconsistent and so on.


For a moment I thought I'd better sync'd before umounting and remounting, but figured the device had vanished anyway, so would not sync either.

/var/log/messages and dmesg both show the device disappearing and reappearing; dmesg shows quite a few disc errors as well: the actual reason for me to copy the files.

I think I got two questions now:
- would the mount have survived had I used UUID's?
- am I screwed until I find a Windows PC where I have enough rights to perform a chkdsk?

Minor questions: what are the keywords I should have used to find a hint or answer without posting?

attachments: none; can't find a way to attach plain text files :-(
copy/paste of tails of var/log/messages and dmesg also does not seem to work (forum error: your message contains too few characters?)


Sat May 30, 2009 00:53
Profile

Joined: Sat May 30, 2009 00:08
Posts: 4
Post Re: Removable drive unclean after USB-rescan
copy/paste of tails of var/log/messages and dmesg

Code:
me@localhost:~$ cat varlogmess                         
May 29 21:11:58 ubuntu kernel: [81217.539980] usb 3-7: configuration #1 chosen from 1 choice
May 29 21:11:58 ubuntu kernel: [81217.546951] scsi5 : SCSI emulation for USB Mass Storage devices
May 29 21:12:03 ubuntu kernel: [81222.548308] scsi 5:0:0:0: Direct-Access     Generic  External         1.04 PQ: 0 ANSI: 4
May 29 21:12:03 ubuntu kernel: [81222.549547] sd 5:0:0:0: [sdb] 490234752 512-byte hardware sectors (251000 MB)           
May 29 21:12:03 ubuntu kernel: [81222.550557] sd 5:0:0:0: [sdb] Write Protect is off                                     
May 29 21:12:03 ubuntu kernel: [81222.551542] sd 5:0:0:0: [sdb] 490234752 512-byte hardware sectors (251000 MB)           
May 29 21:12:03 ubuntu kernel: [81222.552285] sd 5:0:0:0: [sdb] Write Protect is off                                     
May 29 21:12:03 ubuntu kernel: [81222.552295]  sdb: sdb1 sdb2 sdb3 sdb4                                                   
May 29 21:12:03 ubuntu kernel: [81222.595494] sd 5:0:0:0: [sdb] Attached SCSI disk                                       
May 29 21:12:03 ubuntu kernel: [81222.595535] sd 5:0:0:0: Attached scsi generic sg2 type 0                               
May 29 21:34:32 ubuntu kernel: [82570.206583] usb 3-7: USB disconnect, address 4                                         
May 29 21:34:32 ubuntu kernel: [82570.207578] sd 5:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
May 29 21:34:32 ubuntu kernel: [82570.207582] end_request: I/O error, dev sdb, sector 153806079                               
May 29 21:34:32 ubuntu kernel: [82570.207590] lost page write due to I/O error on sdb1                                         
May 29 21:34:32 ubuntu kernel: [82570.207597] lost page write due to I/O error on sdb1                                         
May 29 21:34:32 ubuntu kernel: [82570.207602] lost page write due to I/O error on sdb1                                         
May 29 21:34:32 ubuntu kernel: [82570.207606] lost page write due to I/O error on sdb1                                         
May 29 21:34:32 ubuntu kernel: [82570.207611] lost page write due to I/O error on sdb1                                         
May 29 21:34:32 ubuntu kernel: [82570.207615] lost page write due to I/O error on sdb1                                         
May 29 21:34:32 ubuntu kernel: [82570.207620] lost page write due to I/O error on sdb1                                         
May 29 21:34:32 ubuntu kernel: [82570.207624] lost page write due to I/O error on sdb1                                         
May 29 21:34:32 ubuntu kernel: [82570.207629] lost page write due to I/O error on sdb1                                         
May 29 21:34:32 ubuntu kernel: [82570.207633] lost page write due to I/O error on sdb1                                         
May 29 21:34:32 ubuntu kernel: [82570.209440] sd 5:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
May 29 21:34:32 ubuntu kernel: [82570.209445] end_request: I/O error, dev sdb, sector 153806319                               
May 29 21:34:37 ubuntu kernel: [82575.039520] usb 3-7: new high speed USB device using ehci_hcd and address 5                 
May 29 21:34:37 ubuntu kernel: [82575.172457] usb 3-7: configuration #1 chosen from 1 choice                                   
May 29 21:34:37 ubuntu kernel: [82575.177738] scsi6 : SCSI emulation for USB Mass Storage devices                             
May 29 21:34:42 ubuntu kernel: [82580.168809] scsi 6:0:0:0: Direct-Access     Generic  External         1.04 PQ: 0 ANSI: 4     
May 29 21:34:42 ubuntu kernel: [82580.170053] sd 6:0:0:0: [sdc] 490234752 512-byte hardware sectors (251000 MB)               
May 29 21:34:42 ubuntu kernel: [82580.171061] sd 6:0:0:0: [sdc] Write Protect is off                                           
May 29 21:34:42 ubuntu kernel: [82580.172044] sd 6:0:0:0: [sdc] 490234752 512-byte hardware sectors (251000 MB)               
May 29 21:34:42 ubuntu kernel: [82580.172791] sd 6:0:0:0: [sdc] Write Protect is off
May 29 21:34:42 ubuntu kernel: [82580.172800]  sdc: sdc1 sdc2 sdc3 sdc4
May 29 21:34:42 ubuntu kernel: [82580.229459] sd 6:0:0:0: [sdc] Attached SCSI disk
May 29 21:34:42 ubuntu kernel: [82580.229504] sd 6:0:0:0: Attached scsi generic sg2 type 0
May 29 21:34:43 ubuntu kernel: [82581.270903] printk: 12532 messages suppressed.
May 29 21:34:55 ubuntu kernel: [82592.717907] printk: 4 messages suppressed.
May 29 21:35:17 ubuntu kernel: [82615.228808] printk: 2 messages suppressed.
May 29 21:35:23 ubuntu kernel: [82620.533370] printk: 2 messages suppressed.
May 29 21:35:35 ubuntu kernel: [82632.659835] printk: 4 messages suppressed.
May 29 21:35:38 ubuntu kernel: [82635.735727] printk: 2 messages suppressed.
May 29 21:35:42 ubuntu kernel: [82640.130736] printk: 45 messages suppressed.
May 29 21:35:55 ubuntu kernel: [82652.630783] printk: 10 messages suppressed.
May 29 21:37:01 ubuntu kernel: [82718.631416] kjournald starting.  Commit interval 5 seconds
May 29 21:37:01 ubuntu kernel: [82718.632009] EXT3 FS on sdc4, internal journal
May 29 21:37:01 ubuntu kernel: [82718.632014] EXT3-fs: mounted filesystem with ordered data mode.
May 29 21:37:05 ubuntu kernel: [82722.529045] printk: 2 messages suppressed.
May 29 21:39:53 ubuntu kernel: [82890.161491] printk: 2 messages suppressed.
May 29 21:40:02 ubuntu kernel: [82899.573329] printk: 2 messages suppressed.
May 29 21:40:03 ubuntu kernel: [82900.348938] printk: 1 messages suppressed.
May 29 21:40:15 ubuntu kernel: [82912.252973] printk: 3 messages suppressed.
May 29 21:44:32 ubuntu kernel: [83169.323978] usb 3-7: USB disconnect, address 5
May 29 21:44:32 ubuntu kernel: [83169.326519] sd 6:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
May 29 21:44:32 ubuntu kernel: [83169.326525] end_request: I/O error, dev sdc, sector 109953103
May 29 21:44:32 ubuntu kernel: [83169.326528] printk: 1 messages suppressed.
May 29 21:44:32 ubuntu kernel: [83169.326533] lost page write due to I/O error on sdc1
May 29 21:44:32 ubuntu kernel: [83169.326540] lost page write due to I/O error on sdc1
May 29 21:44:32 ubuntu kernel: [83169.326544] lost page write due to I/O error on sdc1
May 29 21:44:32 ubuntu kernel: [83169.326548] lost page write due to I/O error on sdc1
May 29 21:44:32 ubuntu kernel: [83169.326552] lost page write due to I/O error on sdc1
May 29 21:44:32 ubuntu kernel: [83169.326556] lost page write due to I/O error on sdc1
May 29 21:44:32 ubuntu kernel: [83169.326560] lost page write due to I/O error on sdc1
May 29 21:44:32 ubuntu kernel: [83169.326564] lost page write due to I/O error on sdc1
May 29 21:44:32 ubuntu kernel: [83169.326568] lost page write due to I/O error on sdc1
May 29 21:44:32 ubuntu kernel: [83169.326572] lost page write due to I/O error on sdc1
May 29 21:44:32 ubuntu kernel: [83169.329945] sd 6:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
May 29 21:44:32 ubuntu kernel: [83169.329949] end_request: I/O error, dev sdc, sector 109953343
May 29 21:44:35 ubuntu kernel: [83171.586896] WARNING: at /build/buildd/linux-2.6.24/fs/buffer.c:1169 mark_buffer_dirty()
May 29 21:44:35 ubuntu kernel: [83171.586900] Pid: 12618, comm: umount Not tainted 2.6.24-2-generic #1
May 29 21:44:35 ubuntu kernel: [83171.586901]
May 29 21:44:35 ubuntu kernel: [83171.586902] Call Trace:
May 29 21:44:35 ubuntu kernel: [83171.586930]  [ext3:mark_buffer_dirty+0x70/0x160] mark_buffer_dirty+0x70/0x90
May 29 21:44:35 ubuntu kernel: [83171.586941]  [jbd:journal_update_superblock+0x82/0xf0] :jbd:journal_update_superblock+0x82/0xf0
May 29 21:44:35 ubuntu kernel: [83171.586951]  [ext3:journal_destroy+0x174/0x1e0] :jbd:journal_destroy+0x174/0x1e0
May 29 21:44:35 ubuntu kernel: [83171.586955]  [<ffffffff802522f0>] autoremove_wake_function+0x0/0x30
May 29 21:44:35 ubuntu kernel: [83171.586974]  [ext3:ext3_put_super+0x29/0x210] :ext3:ext3_put_super+0x29/0x210
May 29 21:44:35 ubuntu kernel: [83171.586980]  [unionfs:generic_shutdown_super+0x62/0xa40] generic_shutdown_super+0x62/0x110
May 29 21:44:35 ubuntu kernel: [83171.586984]  [fuse:kill_block_super+0xd/0x20] kill_block_super+0xd/0x20
May 29 21:44:35 ubuntu kernel: [83171.586987]  [deactivate_super+0x6f/0x90] deactivate_super+0x6f/0x90
May 29 21:44:35 ubuntu kernel: [83171.586991]  [sys_umount+0x6b/0x2e0] sys_umount+0x6b/0x2e0
May 29 21:44:35 ubuntu kernel: [83171.586998]  [sys_newstat+0x27/0x50] sys_newstat+0x27/0x50
May 29 21:44:35 ubuntu kernel: [83171.587004]  [__up_write+0x22/0x130] __up_write+0x22/0x130
May 29 21:44:35 ubuntu kernel: [83171.587014]  [system_call+0x7e/0x83] system_call+0x7e/0x83
May 29 21:44:35 ubuntu kernel: [83171.587024]
May 29 21:44:37 ubuntu kernel: [83174.159731] usb 3-7: new high speed USB device using ehci_hcd and address 6
May 29 21:44:37 ubuntu kernel: [83174.292664] usb 3-7: configuration #1 chosen from 1 choice
May 29 21:44:37 ubuntu kernel: [83174.297533] scsi7 : SCSI emulation for USB Mass Storage devices
May 29 21:44:38 ubuntu kernel: [83175.162829] printk: 13069 messages suppressed.
May 29 21:44:42 ubuntu kernel: [83179.289014] scsi 7:0:0:0: Direct-Access     Generic  External         1.04 PQ: 0 ANSI: 4
May 29 21:44:42 ubuntu kernel: [83179.290255] sd 7:0:0:0: [sdb] 490234752 512-byte hardware sectors (251000 MB)
May 29 21:44:42 ubuntu kernel: [83179.291264] sd 7:0:0:0: [sdb] Write Protect is off
May 29 21:44:42 ubuntu kernel: [83179.292249] sd 7:0:0:0: [sdb] 490234752 512-byte hardware sectors (251000 MB)
May 29 21:44:42 ubuntu kernel: [83179.292994] sd 7:0:0:0: [sdb] Write Protect is off
May 29 21:44:42 ubuntu kernel: [83179.293003]  sdb: sdb1 sdb2 sdb3 sdb4
May 29 21:44:42 ubuntu kernel: [83179.344369] sd 7:0:0:0: [sdb] Attached SCSI disk
May 29 21:44:42 ubuntu kernel: [83179.344411] sd 7:0:0:0: Attached scsi generic sg2 type 0
May 29 21:44:43 ubuntu kernel: [83180.121785] printk: 5 messages suppressed.
May 29 21:44:55 ubuntu kernel: [83191.846149] printk: 11 messages suppressed.
May 29 21:59:02 ubuntu -- MARK --



Sat May 30, 2009 00:54
Profile

Joined: Sat May 30, 2009 00:08
Posts: 4
Post Re: Removable drive unclean after USB-rescan
I got output from dmesg as well (and also fdisk -l or mount or ... on demand), but I'll wait a moment before posting it: it's getting a bit messy.


Sat May 30, 2009 00:56
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.