Comment 37 for bug 531240

Revision history for this message
ceg (ceg) wrote : Re: breaking raid: root raid_member opened as luks

I got the beginning with
dd if=/dev/sdc7 of=raid-part-head bs=1M count=1

Fdisk etc. output with various units and "block sizes" but never stating the actual unit sizes is a mess.

#blockdev --report /dev/sdc7
RO RA SSZ BSZ StartSec Size Device
rw 256 512 512 195896673 19757090304 /dev/sdc7

#blockdev --getsize /dev/sdc7
38588067

Finaly this got me hopefully the last 1MB from the partition.

#dd if=/dev/sdc7 of=raid-part-tail bs=512 skip=38586019
2048+0 Datensätze ein
2048+0 Datensätze aus
1048576 Bytes (1,0 MB)

Note:
I noticed the fdisk output added "+" to to the size column of the partition (what ever that means), it being an odd number, and these "Notes_on_dd_and_Odd_Sized_Disks" (last sector missing with linux):

http://74.125.77.132/search?q=cache:wxd4K1L8Bc4J:www.cftt.nist.gov/Notes_on_dd_and_Odd_Sized_Disks4.doc+dd+copy+last+sector&cd=7&hl=de&ct=clnk&gl=de