On Fri, Dec 5, 2014 at 10:28 AM, Tomasz Chmielewski <t...@virtall.com> wrote: > On 2014-12-05 17:41, Chris Murphy wrote: > >> You're getting a read error when writing. This is expected when >> writing 512 bytes to a 4k sector. >> >> What do you get for >> parted /dev/sdb u s p > > > Right - so we're getting these: > > # parted /dev/sdb u s p > Model: ATA ST3000DM001-9YN1 (scsi) > Disk /dev/sdb: 5860533168s > Sector size (logical/physical): 512B/4096B
OK it's a 4096 byte physical sector drive so you have to use the bs=4096 command with the proper seek value (which is based on the bs value). -- Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html