mdadm - please re-open #500309

martin f krafft madduck at debian.org
Wed Jan 27 03:39:39 UTC 2010


also sprach Toni Mueller <support at oeko.net> [2010.01.27.1533 +1300]:
> I initialized /dev/sda by using this simple command:
> 
> # dd if=/dev/sdb of=/dev/sda count=1 bs=512
> 
> after which fdisk -l /dev/sda and fdisk -l /dev/sdb both showed
> exactly the same partitioning for both disks.

You have to let the kernel know about the changed partitions:

  sfdisk -R /dev/sda

Also, in the future I suggest to use sfdisk to clone partition
tables:

  sfdisk -d /dev/sdb | sfdisk /dev/sda

because that would have done the above automatically.

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
i wish this wish not to be granted!
                                        -- achilles (hofstadter's geb)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20100127/ed85ed63/attachment.pgp>


More information about the pkg-mdadm-devel mailing list