Home > Unable To > Unable To Read /dev/sdb Invalid Argument

Unable To Read /dev/sdb Invalid Argument

If write cycles is the reason it's failing (not certain but probable) then the disk was near-death anyway. The more writes are performed, the higher the risk. asked 5 years ago viewed 7086 times active 4 years ago Blog Stack Overflow Gives Back 2016 Related 1Unable to mount 1TB USB external HDD - Error11Why can't I copy a Please, should anyone have come up with a solution for a similar problem, please help! Source

Then create a single partition with fdisk : fdisk /dev/sdb n p three times w partprobe sync Then check with lsblk partitions, and create a filesystem on the new partition Ask Ubuntu works best with JavaScript enabled Ubuntu Forums > The Ubuntu Forum Community > Ubuntu Official Flavours Support > Hardware > [ubuntu] Can't mount external hard drive (USB), Not listed For example, there should be at least 2 unallocated sectors between: the start of the extended partition and the start of a logical partition. Thanks for the help; do you have any other ideas? –wchargin Jun 21 '11 at 16:43 /dev/sdc is the whole drive.

Got to be a bug though? lsusb gives me outputs about BUS. For example: $ sudo sfdisk /dev/sda < sda-backup.txt Checking that no-one is using this disk right now ...

How would people living in eternal day learn that stars exist? In any case, it came unplugged while I was running Ubuntu. If you partitioned the drive (and that is the most common way to put a filesystem on a drive), your first partition is /dev/sdc1. –elmicha Jun 21 '11 at 16:55 Use fdisk -l /dev/sdX where X is a b or c or d.

How to respond to a ridiculous request from a senior colleague? Do streams take advantage of branch-prediction? b or c or d. You should see the error message Error: Can't have overlapping partitions.

Sureley someone has already experienced this issue and found a bullet proof solution no? fsck.ext4 -v /dev/sdc gives me "Invalid argument while trying to open /dev/sdc. dd didn't work -- "dd: writing `/dev/sdc': No space left on device". Unfortunately once a flash drive starts to go bad it's probably a loosing battle.

Does anyone have an idea on what I can do to recover the files I need? Previous kernel versions should be there unless you have cleared the cache with pacman -Scc$ ls /var/cache/pacman/pkg/ | grep kernel26 kernel26-2.6.24.1-2-i686.pkg.tar.gz kernel26-2.6.24.3-1-i686.pkg.tar.gz kernel26-2.6.24.3-3-i686.pkg.tar.gz kernel26-2.6.24.4-1-i686.pkg.tar.gz kernel26-2.6.25.10-1-i686.pkg.tar.gz kernel26-2.6.25.11-1-i686.pkg.tar.gz kernel26-2.6.25.4-1-i686.pkg.tar.gz kernel26-2.6.25.6-1-i686.pkg.tar.gz kernel26-2.6.26.2-1-i686.pkg.tar.gzHowever I don't Join Us! How can I format the drive okay, and fsck returns error right after!!

I just ran testdisk /dev/sdb and got the following result: Code: ... this contact form If it reports a problem you can probably re-create the partition table using parted gparted or fdisk. If the device does contain data then perhaps the entire device is formatted with a file system. sudo fdisk -l doesn't list /dev/sdb, and sudo fdisk /dev/sdb gives Unable to read /dev/sdb, while sudo fdisk /dev/sda or .../sdc are ok.

Bought agency bond (FANNIE MAE 0% 04/08/2027), now what? But your situation might indicate you were actually lucky to face this failure during installation and not after some time of system usage (see also Caleb's comment). However when I connect it, it only shows an icon in the "Computer", named USB Drive. have a peek here A Page of Puzzling Big differences in GCC code generation when compiling as C++ vs C Scaling up water for cooking soup Error on array to create a formula more hot

However, tools like GParted will not work until the partition table is corrected. See How-to Fix Overlapping Partitions. Can I disarm and immediately grapple with Tavern Brawler?

Now all the operating systems are up and running and the DATA is intact Thanks for all your inputs Best Regards, Athreya VC This issue for me is now "SOLVED"

Offline #2 2008-08-05 06:48:15 fukawi2 Forum Moderator From: .vic.au Registered: 2007-09-28 Posts: 5,327 Website Re: [SOLVED] Usb flah drive not working with Arch..Help.!! At least 2 sectors of unallocated space are required in front of logical partitions. I see a partition but I can not mount it it gives the error as "NTFS signature missing". How am I supposed to increase the dd's count? –user3298319 Jun 12 at 17:07 you can increase dd count with count=n and specify written block size with bs=1M for

Do partprobe, then dd ... I checked and could not find any /dev/sdb1 in my path. Aborting write of new partition table. Check This Out The 2 unallocated sectors are required to store the Extended Boot Record (EBR).

Poisonblack wrote:[[email protected] mnt]# fdisk -l ... Use tune2fs -c or -i to override. EDIT 2: Here's the output from dmesg | tail -25 as suggested by marto: usb 2-4: new high speed USB device using ehci_hcd and address 8 usb-storage 2-4:1.0: Quirks match for Gd Luck Gonzalo_VCOctober 6th, 2008, 12:16 AMWell, I got a WD MyPassport Essential = 160 GB external USB hard-drive, but can't access it neither in Ubuntu/Poseidon nor in winXP...

But rather than installing everything again, I want to repair it, if possible. Mounting gives the following error: [email protected]:/dev$ sudo mount sdb /media/recov -v -t ext3 mount: wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or helper program, or other error no fsck.ext4: Illegal inode number while checking ext3 journal for /dev/sdc1 OhThatSysOpSeptember 10th, 2012, 12:29 PMWell, I got a WD MyPassport Essential = 160 GB external USB hard-drive, but can't access count=12, then partprobe again, then proceed to fdisk with o, then n, p. –Alex Stragies Jun 12 at 15:08 I used gdisk as fdisk told me there was a

pixellany View Public Profile View LQ Blog View Review Entries View HCL Entries Visit pixellany's homepage! Where should a galactic capital be? See How-to Fix Unable to Satisfy All Constraints. It's the only usb stick i plugged so there is no error about it.

I can not see them . Now it happens today, under the same circumstances, with Ubuntu. Oh, and for an external hard drive without an additional power cable, try a USB cable with a second usb plug on to give extra power from another port, http://www.amazon.co.uk/Ex-Pro-USB-Cable-Provides-additional/dp/B0019WNMLC Mike. Same problem on this machine.

I'm reading now and says that -n causes mke2fs to not actually create a filesystem, but display what it would do if it were to create a filesystem. Then you could seek out other partition management tools to edit the partition table. buddabrod wrote:It's fixed in 2.6.26.3, I hope this is built soon since I cannot use any of my flashdrives.. Offline #6 2008-08-13 19:55:44 irfan Member Registered: 2008-07-03 Posts: 26 Re: [SOLVED] Usb flah drive not working with Arch..Help.!!