Migration from Rsync to RAID 1

    • Offizieller Beitrag

    What is the output of lsof now?

    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!

  • I disabled all the services but still....



    root@microserver:/media# lsof | grep /media


    python 3678 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    python 3678 3830 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 3830 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    python 3678 3831 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 3831 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    python 3678 3832 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 3832 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    python 3678 3833 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 3833 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    python 3678 3834 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 3834 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    python 3678 3835 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 3835 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    python 3678 3836 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 3836 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    python 3678 3837 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 3837 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    python 3678 3865 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 3865 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    python 3678 3866 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 3866 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    python 3678 3875 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 3875 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    python 3678 4400 plex cwd DIR 8,17 4096 142475306 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system


    python 3678 4400 plex 3w REG 8,17 31348 142475476 /media/97f93447-ec94-467a-821c-9745c9a46684/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log


    bash 5964 siulman cwd DIR 8,17 4096 2 /media/97f93447-ec94-467a-821c-9745c9a46684


    sudo 6015 root cwd DIR 8,17 4096 2 /media/97f93447-ec94-467a-821c-9745c9a46684


    su 6019 root cwd DIR 8,17 4096 2 /media/97f93447-ec94-467a-821c-9745c9a46684


    bash 6020 root cwd DIR 8,1 4096 2621441 /media


    lsof 14427 root cwd DIR 8,1 4096 2621441 /media


    grep 14428 root cwd DIR 8,1 4096 2621441 /media


    lsof 14429 root cwd DIR 8,1 4096 2621441 /media


    root@microserver:/media#

    • Offizieller Beitrag

    You sudo su'd in from that directory. Exit back out and sudo in from a different directory. What is the output of: ps aux | grep plex

    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!

  • siulman@microserver:/media/Master$ cd ..


    siulman@microserver:/media$ cd ..


    siulman@microserver:/$ sudo su


    [sudo] password for siulman:


    root@microserver:/# umount /dev/sdb1


    umount: /media/97f93447-ec94-467a-821c-9745c9a46684: device is busy.


    (In some cases useful info about processes that use


    the device is found by lsof(8) or fuser(1))


    root@microserver:/# ps aux | grep plex


    plex 3678 0.1 2.2 355076 45352 ? SNl 13:55 0:10 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-e0b7243/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.pyc --server-version 0.9.14.6.1620-e0b7243 /usr/lib/plexmediaserver/Resources/Plug-ins-e0b7243/System.bundle


    root 14745 0.0 0.0 7832 880 pts/0 S+ 15:29 0:00 grep plex


    root@microserver:/#

    • Offizieller Beitrag

    kill 3678
    umount /dev/sdb1

    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

    Good.

    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

    Yep. That will take a while. I may not be home for a few hours when it is done but I don't think you will have to deviate from your steps you wrote. Otherwise, just wait a bit :)

    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!

  • Yep. That will take a while. I may not be home for a few hours when it is done but I don't think you will have to deviate from your steps you wrote. Otherwise, just wait a bit :)


    Still at 70% ...


    Question: When the Raid 1 will be up, if I have one disk failure, Do I just have to remove the disk, insert a new one and press "recover" ?


    Is it transparent like a synology? Do I receive a mail in this case?

    • Offizieller Beitrag

    Ideally, if you have a drive failure, you shutdown the system and put the new drive. When you boot again, it should see the new drive and use it. Doesn't always happen so using the recover button should work. No idea how synology works. I think you get an email if notifications are enabled.

    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!

  • just an observation here,I am not sure when SnapRaid and MergeFs become available for OMV, but in case they were therer aat the time of OP, but wouldn't be simpler to use SnapRaid
    in RAID-1 mode? you can also use MergeFS to pool the disks into single volume if desired.


    do I understand correctly you had (2) primary 3TO WD RED , one the actual drive and one as a backup. adding a third disk for parity and slapping a snapraid on them would have been much easier.if data does not change very often it would be perfect. you have protection for both drives

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

Jetzt mitmachen!

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