View previous topic :: View next topic |
Author |
Message |
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2198
|
Posted: Fri Apr 13, 2012 3:35 pm Post subject: Issues copying partition layout to another disk (solved) |
|
|
I've got a (sda) 500 Gb drive (with only 80 Gb of partitions used), and I'm trying to copy the partition layout to another (sdb) 80 Gb in order to get software raid setup.
I've tried this:
Code: | sfdisk -d /dev/sda > partition_layout
sfdisk /dev/sdb < partition_layout |
It generates an error given size exceeds max allowable size (0).
0???
Is there another way to copy the partition scheme? _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23062
|
Posted: Fri Apr 13, 2012 10:27 pm Post subject: |
|
|
You amended the title to say "(solved)", but I see no explanation of why you consider the problem to be solved or how you solved it. Could you include that as well? |
|
Back to top |
|
|
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2198
|
Posted: Sat Apr 14, 2012 5:30 pm Post subject: |
|
|
It was solved just by approximating the layouts, then using rsync off of a rescue CD to copy the data. The reason I believe it wouldn't copy was that the layout on the other drive was just a few Mb larger, I still don't have an answer to the max allowable size being 0 though. _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
|
|