Re: Brocken Raid & LUKS
From: Stone <hidden>
Date: 2013-02-23 10:19:04
Am 23.02.2013 05:36, schrieb Phil Turmel:
On 02/22/2013 10:11 PM, Stone wrote:quoted
no i have no idea why die partion table is wrong on /dev/sdc. i can copy with dd the partion table from sdb to sdc... example: dd if=/dev/sdb of=sdb.part bs=512 count=1 dd if=sdb.part of=/dev/sdc bs=512 count=1That won't work for gpt. http://en.wikipedia.org/wiki/GUID_Partition_Tablequoted
infos: root@ubuntu:~/raid# parted /dev/sdb print Model: ATA WDC WD20EARS-00M (scsi) Disk /dev/sdb: 2000GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17,4kB 2000GB 2000GB raidUh oh. Sector 34. That start point is very bad for performance.
i dont know why the partion is so....
quoted
root@ubuntu:~/raid# parted /dev/sdc print Model: ATA WDC WD20EARS-00M (scsi) Disk /dev/sdc: 2000GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 1049kB 2000GB 2000GBThis one is aligned for proper performance, but it appears to be the wrong alignment for getting your data back. Yuck. Once you fix this partition table to get your data, take a backup of the array. Then make a new array with partitions starting at sector 2048. Or no partitions at all. Phil
ok befor i doing something worg i will ask you more questions :) what do you mean with "take a backup of the array" and how it works? sorry i dont know what you mean after this i create on all four devices the partiontable new with parted and the starting sector must be 2048. should i make a backup copy of all devices partiontables? if yes how? thx.