I'm having problem with a USB external drive, which seem to be formatted with UDF and was being used for MAC and Windows (or at least that is what told).
When I attached the HDD to my Linux system the next are the
[21784.312960] usb 2-1.2: new high-speed USB device number 5 using ehci-pci **[21784.406283] usb 2-1.2: New USB device found, idVendor=1058, idProduct=1023** [21784.406291] usb 2-1.2: New USB device strings: Mfr=1,Product=2,SerialNumber=3 [21784.406296] usb 2-1.2: Product: Elements 1023 **[21784.406299] usb 2-1.2: Manufacturer: Western Digital** [21784.406303] usb 2-1.2: SerialNumber: <The serial number> [21784.406815] scsi8 : usb-storage 2-1.2:1.0 [21785.403470] scsi 8:0:0:0: Direct-Access WD Elements 1023 2005 PQ: 0 ANSI: 4 [21785.404686] sd 8:0:0:0: Attached scsi generic sg2 type 0 [21785.409491] sd 8:0:0:0: [sdb] 1953519616 512-byte logical blocks: (1.00 TB/931 GiB) [21785.410605] sd 8:0:0:0: [sdb] Test WP failed, assume Write Enabled [21785.411723] sd 8:0:0:0: [sdb] Asking for cache data failed [21785.411729] sd 8:0:0:0: [sdb] Assuming drive cache: write through [21785.413600] sd 8:0:0:0: [sdb] Test WP failed, assume Write Enabled [21785.414603] sd 8:0:0:0: [sdb] Asking for cache data failed [21785.414609] sd 8:0:0:0: [sdb] Assuming drive cache: write through **[21785.449997] sdb: sdb1 < >** [21785.452466] sd 8:0:0:0: [sdb] Test WP failed, assume Write Enabled [21785.453503] sd 8:0:0:0: [sdb] Asking for cache data failed [21785.453515] sd 8:0:0:0: [sdb] Assuming drive cache: write through [21785.453524] sd 8:0:0:0: [sdb] Attached SCSI disk
With that information the HDD seem to be OK. However I'm unable to identify the type of partition (some commands from Windows console show is UDF but I can't confirm with Linux counterparts)
Trying to get more information, the
fdisk -l outputs:
Disk /dev/sdb: 1000.2 GB, 1000202043392 bytes 255 heads, 63 sectors/track, 121600 cylinders, total 1953519616 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0bba88f0 Device Boot Start End Blocks Id System /dev/sdb1 0 1953519615 976759808 5 Extended fdisk: unable to read /dev/sdb1: Inappropriate ioctl for device
As the partition doesn't mount, tools like
fsck can't work here (well
photorec just freeze trying to read the HDD). And due the size of the disk the
badblocks command takes a lot of time (and is still running).
I can't find many material about the UDF format (and I don't understand why a HDD use it when is ) and neither what to do when is unable to read any partition at all.