substituting a disk

  • Greeting,

    I am running into a problem I dont know how to solve.
    I tried to look and google for an answer. But cant find it.
    I apologize if my answer is deeper in this forum that I had look.

    ISSUE:

    a disk is full

    WHAT I NEED TO DO:

    Substitute the full disk with a new one

    PROBLEM

    I would need to keep the same structure. The old disk has a number of Shared folders in use.
    I would like to be able to somehow copy those over (that I can do with rsync) and have OMV5 recognize it as it was the older without the need of recreate all shares for the new disk.

    Any good tip?


    Thank you

    • Official Post

    WHAT I NEED TO DO:

    Substitute the full disk with a new one

    PROBLEM

    I would need to keep the same structure

    Check out this thread. It is the same problem. Failed drive

  • Clonezilla should duplicate everything on the disk including all UUIDs.


    dd absolutely will bit for bit duplicate a disk including UUIDs. However, if the target disk is larger than the source disk, any cloned partitions and filesystems will be the same size as they were on the source disk. Obviously, this outcome will have gained you nothing, so you will have to expand the partitions and filesystems after dd is finished.


    Gparted is more versatile and can do the whole job.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • Probably I shall combine the previews tip with clonezilla.
    Rather than making a backup.
    Not sure clonezilla would port also the UUID (I guess not)
    But I can to the UUID change later after cloning.

    What do you think?


    Some time ago I had the same problem.
    i did the following:
    - Leave only the disk you want to replace and the new disk.
    - Boot the system with a Clonezilla bootable usb.
    - Clone the entire disk to the new disk.
    - Remove the old disk.
    - Since the new disk was larger, boot the system with a Gparted bootable USB and resize the new disk.


    I don't recall having to do anything with the UUID.

  • Clonezilla should duplicate everything on the disk including all UUIDs.


    dd absolutely will bit for bit duplicate a disk including UUIDs. However, if the target disk is larger than the source disk, any cloned partitions and filesystems will be the same size as they were on the source disk. Obviously, this outcome will have gained you nothing, so you will have to expand the partitions and filesystems after dd is finished.


    Gparted is more versatile and can do the whole job.

    ok, got it.

    so, would you think that if I use clonezilla or dd to clone and than gparted to expand the partition to make it a one big disk, would work?

  • You can do the whole thing in Gparted.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • chente

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!