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

    • Offizieller Beitrag

    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!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB 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?

  • chente

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!