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

Re: harddisk error within raid1 => howto restore?

On Wed, Aug 09, 2006 at 09:24:30PM +0200, Harm Behrens wrote:
> is there a easy way to copy over the partition-layout or do I have to use 
> cfdisk to create every single partition?

dd if=/dev/correctdevice of=/dev/newdevice bs=512 count=1

Simplest I know off.  Does NOT work if you have extended partitions

hdparm -z /dev/newdevice will make the kernel reread the partition

Len Sorensen

Reply to: