:: [DNG] [OT] Help on change (split) p…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: al3xu5
Date:  
À: dng@lists.dyne.org
Sujet: [DNG] [OT] Help on change (split) partitions of an md raid
Hi all

I know I am OT (again), but I need help and hope you will excuse me...

I have two identical disk, each with two partitions of the same size, with
no unpartitioned space left:

DISK1: Disk1Part1 + Disk1Part2
DISK2: Disk2Part1 + Disk2Part2

I have a md RAID1 (mirror) on those disks:

md1: Disk1Part1 + Disk2Part1
md2: Disk1Part2 + Disk2Part2

Now I need to split each of the 2nd partitions in two smaller partitions,
so as to obtain:

DISK1: Disk1Part1 + Disk1Part2 + Disk1Part3
DISK2: Disk2Part1 + Disk2Part2 + Disk2Part3

and:

md1: Disk1Part1 + Disk2Part1
md2: Disk1Part2 + Disk2Part2
md3: Disk1Part3 + Disk2Part3

Please can you suggest the best and safe way (correct procedure, commands,
tools to use etc.) to do this (obviously, I have a backup of all the data)?

Thanks in advance

Regards
al3xu5

--
Property is theft! (P-J Proudhon) ...today more than ever.
____________________________________________________________________________

Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8 B624 DA50 835B 2624 A36B
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGA33HkBEADFmx3R2dWhG3Zf2/jwNiUZBtxAJ96bX+JDIdDUHlbmyPVPvi6T
hIFPD7AA1m6h3ydA2WkbrwhchJJ/xi3LJF8eWE8mUu2HiVXsn3cC9NwRo7tSlq2Z
LqsLrsnBWHNk3Q4cRHolq8/gQvZJ8Z4dd7olhzajNY8sTRB4EXe7vQQ1KI5erEQe
S1a6PY1cq8jiNcAQYwl5JrkKQYf3r3ZjCeswx3Fu8D6QU2IZTTBRt0iyZ85wEgiu
EgvOfdidmX7EEZ/H1jxMoJH/irNvO6u9iRNuJWzIUR7VLcagckdl60htAgfPvyqJ
q/B7BsAs6UmWs0dZ+fX4f69w3L1MQjf0U6KVmjcHwr7pUvNfzN6z/qtVYc0ZH3KI
JFMMhlDMu8xXnsM0Xu9tnXa2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