Home_greyopenFATE - openSUSE feature tracking > #303809
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Partitioner: allow cloning of disk layouts - was: easier creation of RAID 1

Feature state

Rejected Information
Rejected Information


Proposal is to offer an option in YaST to clone a disk layout for RAID use and probably jump into the RAID-creation-mode directly

Below the original request from C. Boltz / openSUSE community:


It would be good to have an easier way to setup a raid 1 (mirroring).

Currently you have to:

  • create partitions on first disk
  • create partitions on the second disk (usually using the same layout).
  • put the corresponding partitions (sda1+sdb1, sda2+sdb2, ...) into a raid array.

The easier way would be

  • [x] I want to create a raid 1
  • define the partitioning once for both disks

YaST should then partition both disks as requested and create the raid volumes

This would save the user/admin some time.

However, the traditional method should still be available in case someone wants to have a different layout for some partitions for whatever reason.



icons/user_comment.png M. E. wrote: (10 years ago)

Thanks for the proposal. I am happy that there are more people out there
sharing my problems:-)

Yet, looking at the current "model" we have in mind for partitioner
enhancements, I wonder, if we could probably make that more "generic" by
adding something like a "clone disk partitioning scheme" button:
You would partition hd0 first and then say: please clone this to hd1, hd2, ...
and be able to adjust settings on hd1, ... later.

Would that fit?

so long -

icons/user_comment.png C. B. wrote: (10 years ago)

Cloning the disk layout sounds like a good idea and would help.

To make it more useful for RAID creation, add "clone to md*", maybe combined with a selection dialog to choose the disks to use.

icons/user_comment.png M. E. wrote: (10 years ago)

Well, you know, we indeed are planning to have such a dialog for
creation of raids in the future, ...:-)

I changed the "title" according to our discussion,
and will 1transfer the request into our internal
Feature tracking system soon.


so long - MgE

icons/user_comment.png M. S. wrote: (10 years ago)

AFAIK it is currently possible to create one partition after the other.
So it does not make sense for me to have a "Clone this partition for future use" at the end.
Instead I thought of:

When the user presses "Add" in the "partitioning" tab he can choose whether to create one new partition or to use the whole partition scheme from another physical harddisk.

Does that make sense?

icons/user_comment.png M. E. wrote: (10 years ago)

Well, no:-(

We are not asking for _partition_ cloning, but _disk_ cloning, i.e. if you have several harddisks, and you want to copy the partitioning from sda to sdb or the like.

icons/user_comment.png M. S. wrote: (10 years ago)

As discussed live with mge we agree on my proposal.

icons/user_comment.png A. S. wrote: (10 years ago)

That approach has some problems:

  1. Hiding "Cloning" behind "Add Partition" is incomprehensible. Cloning affect the whole disk, adding a partition not really.
  2. The step to select the partition type is omitted if only one type of partition can be selected.
  3. The complete workflow of adding a partition is omitted when no partitions can be created.

We (mge, mschmidkunz and aschnell) now agreed upon adding an entry
to the "expert" menubutton in the partition overview.

icons/user_comment.png A. S. wrote: (9 years ago)

Summarising the request:

Add a entry "Close disk layout" to the "Expert" button in the disk view. This
opens a dialog showing all disks that are suitable for being a clone
(constraints: new disks must have equal or larger size). Several disks can be

On the selected disks: Delete everything (including RAIDs and LVMs somehow
using that disk), create new partition table (if different from existing) and
create partitions with same start and sizes (in cylinders as libstorage
calculates internally) and partition IDs. Other parameters, e.g. filesystem,
are not copied.

icons/user_comment.png K. M. wrote: (8 years ago)

... and done :)

icons/user_comment.png A. S. wrote: (8 years ago)

Ported to openSUSE 11.3.

Last change: 8 years ago
Score: 8
  • Negative: 0
  • Neutral: 0
  • Positive: 8
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint