Installation of OMV 3 on debian jessie

  • I agree with you guys.
    Put all the eggs in the basket is a big risk.
    If the OS/the data on a single drive fails, you probably likely to lose everything or corrupted.
    To avoid headache, and time, just buy another drive(s) to use for data separately.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

  • if I were you I would redo your partitioning schema a bit.


    leave the 2 drives as is, and do Raid-1 on them BUT


    as per my assumptions:


    Current setup
    sda/b 0 efi partition --> (well not asusmption this is efi /boot )
    sda/b 1 raid --> used as MD0 (system)
    sda/b 2 raid--> used as MD1 (swap)
    sda/b 3 raid --> used as MD2 (/home)
    sda/b 4 raid --> used as MD3 (/tmp)


    question, is there any reason to branch out the /tmp into separate partition?
    they are still on the same drives.
    so I would do a single System partition with no division for /home /tmp


    new setup


    sda/b 0 efi partition --> (well not asusmption this is efi /boot )


    sda/b 1 raid --> used as MD0 (system) Since you said you have 4TB I say put about 120GB for system should be more than enough.


    sda/b 2 raid--> used as MD1 (swap) -- not sure what the usage of the system would be and your RAM specs, but I ussually allocate twice the RAM capacity for swap.


    sda/b 3 raid --> used as MD2 (All DATA)



    md0 / (system)
    md1 swap
    md2 (data)


    once all is installed , the System and OMV.
    mount the MD3 in OMV webUI


    create the /users/home on the data partition mounted in "/media/<uuid>"


    tan you might need to switch into single user mode ("init 1" ???)


    cd /home
    cp -ax * /media/<uuid>/users/home


    once done rename /home to something like


    cd /mv home home.oldthan either make new folder for /home and mount the new "/media/<uuid>/users/home" location into it in fstab or just create a symlink in the root to point to new locationln -s /media/<uuid>/users/home /home etc...a bit of a pain but in your case it might work.I always prefer using real hard drive for system over usb flash if I can.when flash drives works it's great. when it fails, it's spectacular.

    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

    Einmal editiert, zuletzt von vl1969 ()

  • Thanks for your help.


    For now, I will keep my configuration as it is, I'll buy another ssd later.


    I unmount /home partition then remove the entry in the /etc/fstab file. Finally I mount it with OMV gui.


    Now I can create shared folders.


    Thanks for all your explanations, it was very kind of you.

  • you are welcome, however keep in mind that by doing what you did, you might have broken the link between system and home location. you might get an error when you try to create a user with home folder.

    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

    • Offizieller Beitrag

    you might get an error when you try to create a user with home folder.

    You don't. I tested it.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • you didn't, but I am not sure OP did everything you did.
    it seams he did not repoint the system home folder to new mount.
    just unmount the partition and mount it under OMV.
    it would let him use it for sharing but wouldn't it create a problem with the system?
    as the home folder/partition is not there anymore.

    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

    • Offizieller Beitrag

    When OMV creates users, it specifies the home directory and it doesn't need /home/. I just removed my symlink to /home so there is no /home at all. I can still create users from the web interface.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • cool, good to know.

    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

  • Are users created by OMV gui different from classics linux users ? (special permissions, directories or configuration files)


    If I use those command lines:
    - addUser USER_NAME GROUP
    - mkdir /media/UUID_YYY/USER_NAME
    -chown USER_NAME:GROUP /media/UUID_YYY/USER_NAME


    Is the result similar ?

    • Offizieller Beitrag

    OMV uses useradd and specifies the directory to be the home directory with the flag to create that directory with proper permissions. So, it is one line instead of three.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!