• [^] # Re: Process bien inutile ...

    Posté par . En réponse au message DD à chaud?. Évalué à 2.

    totof2000: pourquoi ça ne booterait plus ?
    J'aimerai savoir ... j'ai migré récemment d'un SSD 128Go vers un 500Go selon cette méthode.
    J'ai eu quelques petits soucis du à une mauvaise manip', mais ça a rebooté sans problème...

    D'ailleurs, ci-dessous un extrait d'une conversation sur #lvm sur freenode:

    17/12/2018 21:20 -!- Irssi: Join to #lvm was synced in 0 secs
    17/12/2018 21:21 < binarym> hi all. I want to move my data from one disk to another. The original disk is already using LVM. I was planning to 1/ add new disk to VG 2/ remove old disk from VG 3/ wait for LVM to do the migration job. Will this work ?
    17/12/2018 21:42 < Blacker47> binarym, pvcreate <new disk>; vgextend <VGname> <new disk>; pvmove <old disk>; vgreduce <VGname> <old disk>
    17/12/2018 21:43 < binarym> Blacker47: ok thx. LVM is ultimate for disk migrations :)
    17/12/2018 21:44 < binarym> Blacker47: what if i have a powercut during processus ? Does the vgreduce wait for action completion before really erasing data from old disk ?
    17/12/2018 21:45 < Blacker47> vgreduce won't start if you have extents on drive you want to remove. you have to wait pvmove is completed. it can be restarted even after a powercut.
    17/12/2018 21:45 < binarym> so, in theory, no data loss is possible ?
    17/12/2018 21:46 < Blacker47> binarym, there is some info in "man pvmove"
    17/12/2018 21:46 < binarym> ok...
    17/12/2018 21:46 < binarym> let's try this then