I stumbled across this when trying to backup to an encrypted USB 2.0 HDD.

The device would unlock and mount fine (mount reports rw), but any attempt
to modify or copy files to it caused an 'no space left on device' error,
while 'df -h' reported > 10GB free space.

'dd' to the raw device does not complain.
'badblocks -n /dev/sde 1048576' passes too.

An attempt to newly cryptsetup the device failed:

cryptsetup -c aes-xts-plain -y luksFormat /dev/sde
<snip>...
Cannot wipe header on device /dev/sde.

dmesg:
[ 4892.853217] sd 13:0:0:0: [sde] 195371568 512-byte logical blocks: (100 
GB/93.1 GiB)
[ 4892.853826] sd 13:0:0:0: [sde] Write Protect is off
[ 4892.853835] sd 13:0:0:0: [sde] Mode Sense: 00 14 00 00
[ 4892.854446] sd 13:0:0:0: [sde] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[ 4892.878472]  sde: unknown partition table
[ 4892.880852] sd 13:0:0:0: [sde] Attached SCSI disk
[ 4965.651005] end_request: critical target error, dev sde, sector 0
[ 4965.812869]  sde: unknown partition table

running linux-image-3.16.0-4-amd64 (3.16.7-ckt9-2)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to