> AFAIK there's no tool that can read one partition table and then
> re-create it on another device in a clever way. You're right that
> dd would do the trick, just copying the partition table from the
> one drive to the other. But be careful, if the disks have different
> geometries (check the boot output) then identical partition tables
> is not what you want... It would be nice with a tool that could
> approximate a partition layout, but I haven't heard of any such
> tool (anyone?)
I do a :
sfdisk -d /dev/sda | sed 's/sda/sdb' | sfdisk /dev/sdb
Works like a charm, IF disks are the same...not tested on other configs
BTW: sfdisk is a wonderfull command-line tool, once you get the hang of
it...
Hope this (kinda) helps....
Jan.
--
-o)
Jan De Landtsheer /\\
_\_v
- Re: Raid5 with two failed dis... Jakob �stergaard
- RE: Raid5 with two failed dis... Rainer Mager
- RE: Raid5 with two failed dis... Michael Robinton
- RE: Raid5 with two failed dis... Rainer Mager
- RE: Raid5 with two failed dis... Michael Robinton
- Re: Raid5 with two failed dis... Jakob �stergaard
- Re: Raid5 with two failed dis... Michael T. Babcock
- Copying partition information Rainer Mager
- Re: Copying partition information Mike Bilow
- Re: Copying partition information Jakob �stergaard
- Re: Copying partition informa... Jan De Landtsheer
- Re: Copying partition informa... Luca Berra
- Re: resizing raid arrays Jakob �stergaard
