LinuxQuestions.org
Visit Jeremy's Blog.
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 08-16-2010, 05:11 AM   #1
aloisius-a
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware, LFS
Posts: 26

Rep: Reputation: 0
Recover of pen drive


Hi,

I have a problem with a pen drive on which I stored some useful files.

The pen drive was formatted as ext3 and it operated properly until I, after mounted on a different Linux box, tried to copy into it a long file.
This action was not well performed and the copy process interrupted for space reason.
The problem is that the pen drive became almost invisible to my laptop (and to other boxes).
When I insert the pen into the USB interface and give the command
mount /mnt/pen
I obtain the response
mount: only root can do this
which is different from the normal behavior, and I became root and hit the same command, I obtain
mount: special device /dev/sdb1 does not exist

I have to point out that the device path exists, the pen drive exists, and it is physically attached. Moreover this command operates correctly with other pen drives.

The relevant line in the file /etc/fstab is:
/dev/sdb1 /mnt/pen auto auto,user,rw 0 0

I also gave the command dmesg and the relevant part is:
usb 2-2: new high speed USB device using ehci_hcd and address 6
usb 2-2: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
usb 2-2: New USB device found, idVendor=0dd8, idProduct=1400
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-2: Product: Flash Drive
usb 2-2: Manufacturer: USB
usb 2-2: SerialNumber: 0909042158282
scsi 6:0:0:0: Direct-Access USB Flash Drive 1.00 PQ: 0 ANSI: 2
sd 6:0:0:0: [sdb] 3909383 512-byte hardware sectors (2002 MB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 14 00 0d d8
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] 3909383 512-byte hardware sectors (2002 MB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 14 00 0d d8
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sdb: unknown partition table
sd 6:0:0:0: [sdb] Attached SCSI removable disk
sd 6:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete

I think that the problem it is that shown in the line
sdb: unknown partition table

I don't know how to recover the pen drive and all advices are welcomed.

aloisius-a
 
Old 08-16-2010, 06:21 AM   #2
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 49
Are you able to see the pendrive partitions using "fdisk -l"?
Have you tried mounting on any other Operating systems?
 
Old 08-16-2010, 07:16 AM   #3
ddaemonunics
Member
 
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
You should try to repair the partition table.
If you make the exact partition table...then you will not lose your data.
Probably you only had 1 partition so it should be easy to repartition with exact partition sizes.
 
  


Reply

Tags
drive, pen


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
pen drive and cd drive is not working !!!!!! abhattacharya Fedora 1 08-23-2009 02:21 AM
Boot iso on pen drive by grub installed on pen drive jena Linux - Hardware 2 11-01-2008 09:09 AM
USB Pen Drive / Flash Drive Unmounted but the power is there teluguswan Linux - Hardware 11 10-04-2008 03:36 PM
USB flash drive (Pen drive) mounts read only prabhatsoni Linux - Hardware 24 07-02-2007 01:28 PM
Pen Drive like on XP La Dima Fedora 1 08-28-2005 05:38 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration