Command for Copy - Mountpoint

  • Hi guys!
    I just switches from XPEnology to OMV and because of that, I have to copy a hole lot of Data from one Drive to an other.


    I wanted to do that via PuTTY, but I don't know how to do that. I know that I should be able to copy files with

    Code
    cp -a /source/path/. /destination/path

    I tryed that, but can't get it to work.
    My to Drives are called "dev/sdb" and "dev/sdc"
    My Shared Folder (the Source) on these drives are called "Filme" (sdb) and "Filme_1 (the destination on sdc)


    I need to know what code exactly I have to type in to get all the Files from sdb to sdc, or all the files from "Filme" to "Filme_1"


    Could you please help me ^^



    P.S.
    I did that via rSync for now, but it seems to be kind of slow and in the Futere I want to use the Linux command.

    • Offizieller Beitrag

    I did that via rSync for now, but it seems to be kind of slow and in the Futere I want to use the Linux command.

    Other than the initial index, rsync should be just as fast as the copy command. I actually use rsync because it is easier to restart and you can see progress.


    Hard to give you an exact command if we don't know the mount points.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Ok, where can I see the Mountpoints then?
    With Rsync (started in the GUI) it took 11 hours to copy 1TB of Data from one drive to an other. Furthermore my CPUwas at 50-70% and that is a Xeon 4 Core CPU.

    • Offizieller Beitrag

    Ok, where can I see the Mountpoints then?

    Did you mount them with the OMV web interface?



    With Rsync (started in the GUI) it took 11 hours to copy 1TB of Data from one drive to an other. Furthermore my CPUwas at 50-70% and that is a Xeon 4 Core CPU.

    Are there a lot of small files? cp shouldn't be any faster. With a xeon, the rsync and cp commands are limited by disk speed.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Yes I did.

    Post the output of: cat /etc/fstab

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    All of your filesystems look correct in fstab. So, you can look in each of the /media/LONG_UUID directories to see where your files are. Then:


    cp -rfv /media/SOURCE_UUID/SOURCE_FOLDER /media/DEST_UUID/DEST_FOLDER

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Thanks for your reply, but where do I find the UUIDs?

    Did you look in /media/? The tab key will auto-complete instead of typing the entire uuid.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

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