Re: Brocken Raid & LUKS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 21.02.2013 17:46, schrieb Phil Turmel:
On 02/21/2013 11:43 AM, Stone wrote:
Am 21.02.2013 17:41, schrieb Phil Turmel:
So you actually have five bad spots, two or three sectors apiece.

dd if=/dev/zero bs=1024 count=12 seek=1073006628 of=/dev/sdc1
dd if=/dev/zero bs=1024 count=12 seek=1073101016 of=/dev/sdc1
dd if=/dev/zero bs=1024 count=8 seek=1335739456 of=/dev/sdc1
dd if=/dev/zero bs=1024 count=8 seek=1346771164 of=/dev/sdc1
dd if=/dev/zero bs=1024 count=8 seek=1348581732 of=/dev/sdc1

One last check:  Did you run "badblocks /dev/sdc" or "badblocks
/dev/sdc1" ?

Phil
"/dev/sdc1"
history: "badblocks -v /dev/sdc1 -o /root/badblocks_sdc1.txt"
Very good.  So have you learned enough to be confident when you hit the
<enter> key?  :-)

Phil
;-)

the dead-key was pressed
here the output:
root@bender:~# dd if=/dev/zero bs=1024 count=12 seek=1073006628 of=/dev/sdc1
12+0 records in
12+0 records out
12288 bytes (12 kB) copied, 0,00019109 s, 64,3 MB/s
root@bender:~# dd if=/dev/zero bs=1024 count=12 seek=1073101016 of=/dev/sdc1
12+0 records in
12+0 records out
12288 bytes (12 kB) copied, 0,00017799 s, 69,0 MB/s
root@bender:~# dd if=/dev/zero bs=1024 count=8 seek=1335739456 of=/dev/sdc1
8+0 records in
8+0 records out
8192 bytes (8,2 kB) copied, 0,000159338 s, 51,4 MB/s
root@bender:~# dd if=/dev/zero bs=1024 count=8 seek=1346771164 of=/dev/sdc1
8+0 records in
8+0 records out
8192 bytes (8,2 kB) copied, 0,000161977 s, 50,6 MB/s
root@bender:~# dd if=/dev/zero bs=1024 count=8 seek=1348581732 of=/dev/sdc1
8+0 records in
8+0 records out
8192 bytes (8,2 kB) copied, 0,000157825 s, 51,9 MB/s

now i boot my server with a live cd and recreate my raid.
if this was successfully i open the LUKS and check it.
here my commands for this step:
mdadm --create /dev/md2 --assume-clean --verbose --level=5 --raid-devices=4 /dev/sdc1 /dev/sdd1 missing /dev/sdf1
cryptsetup luksOpen /dev/md2 md2_nas
fsck -n /dev/md2

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux