1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What drive configuration & FS for a home server using Proxmox and BTRFS (hopefully)

Discussion in 'Linux Admins, Storage and Virtualization' started by el_pedr0, Sep 6, 2016.

  1. vl1969

    vl1969 Active Member

    Joined:
    Feb 5, 2014
    Messages:
    421
    Likes Received:
    40
    Thanks for response, I think I got the gist, can you let me know how do you setup and manage samba server?
    This is one of my contentions, that I want a webui management I hate cli.
    As for btrfs, the proxmoxve fully supports it, if raid 1 and 10 is production ready,raid 5 and 6 is not.
    I have been using btrfs in stand alone and in raid 1 and raid 10 fine. What I like is that it is a lot more flexible with setting up raid and convert different raid level on the fly.

    Sent from my SM-N910T using Tapatalk
     
    #21
  2. Utking

    Utking New Member

    Joined:
    Nov 12, 2016
    Messages:
    18
    Likes Received:
    4
    Hey!

    I was thinking of the excact same thing as you!

    I have a dell c6100 though, with 4 nodes, currently only running two of them with 6 trays each, (I only have two drives in each)

    Did you find out any way to forward your storage to proxmox though? :)
     
    #22
  3. el_pedr0

    el_pedr0 Member

    Joined:
    Sep 6, 2016
    Messages:
    37
    Likes Received:
    1
    @vl1969 Totally agree on the attractions of BTRFS. But a good example of why I was spooked was that Raid 5/6 had been considered stable and then suddenly a bug was found. I don't (nor have the inclination to) follow any mailing lists etc, so would have been completely oblivious to this had my server already been up and running.

    I only dabble in this stuff, so I tend to write notes to help me remember/troubleshoot how I set things up. I'll try to pull the Samba stuff later. But for now, it's super easy to manage with Webmin. Just a load of different options to get your head around in the first place, particularly if you want to maintain a solid unix permissioning strategy.
     
    #23
  4. el_pedr0

    el_pedr0 Member

    Joined:
    Sep 6, 2016
    Messages:
    37
    Likes Received:
    1
    @Ukting I went for ZFS in the end. Many of the comments in this thread pushed me that way. With ZFS it's kinda integrated into Proxmox. The only downside is the limit of 9 bind mounts per container/vm and you can't traverse any child bind mounts from a parent bind mount. So I ended up setting up a Samba server on the proxmox host.
     
    #24
  5. TuxDude

    TuxDude Well-Known Member

    Joined:
    Sep 17, 2011
    Messages:
    615
    Likes Received:
    333
    I don't think the RAID 5/6 BTRFS code had ever been stated as being stable or reliable, at least not by any of the dev's working on it (I hope not by me anywhere, as I am a big fan of BTRFS). A few kernel versions ago it was stated as finally being "complete", which meant all of the features had finally been implemented - for a long time it would calculate and write parity but couldn't use the parity to repair/rebuild, and so was really just a slower RAID-0. But that statement also came with the usual warnings that it was brand-new untested code - the general recommendation for that kind of thing for regular users is to wait another 3 or 4 kernel versions to let the bugs get ironed out.

    I'm somewhat behind right now on following the RAID 5/6 progress on the mailing list, so I'm afraid I can't say much about its current status - except that if you are running it you probably shouldn't be yet (though it is safe to online-convert to raid-1 if you have the capacity), and that in the future when it is mature/stable/reliable if you are on BTRFS now you will be able to online-convert to it when that time comes.
     
    #25
  6. vl1969

    vl1969 Active Member

    Joined:
    Feb 5, 2014
    Messages:
    421
    Likes Received:
    40
    nope, raid-5/6 never left testing/dev stage as far as I know.
    I have been using raid-1 and 10 for a bit.
     
    #26
  7. el_pedr0

    el_pedr0 Member

    Joined:
    Sep 6, 2016
    Messages:
    37
    Likes Received:
    1
    :eek: . And there's an even better example why I probably shouldn't go near BTRFS at the mo. I can't even distinguish the official status from unqualified claims of "yeah, Raid 5/6 is great".

    Nevertheless, as hinted at in my original post, I love the promise of BTRFS so would be really interested to hear your progress down the road.
     
    #27
  8. TuxDude

    TuxDude Well-Known Member

    Joined:
    Sep 17, 2011
    Messages:
    615
    Likes Received:
    333
    I'm currently using BTRFS all over the place, in single-device, and multi-device (raid-1, 2 or 4 drives) configurations. And a single 3-device BTRFS raid-5, knowing its rather experimental (its been running since before the code was feature-complete), and not containing any data that I can't stand losing. I like the filesystem, and have high hopes for its future.
     
    #28
  9. el_pedr0

    el_pedr0 Member

    Joined:
    Sep 6, 2016
    Messages:
    37
    Likes Received:
    1
    @vl1969 Here are my Samba and Webmin instructions if it's of any help. They were never intended for anyone else though so I provide no assurance whatsoever that they are fit for purpose.

    They are also derived from others' work - but I no longer remember where I copied stuff from so cannot credit the sources.
     

    Attached Files:

    #29
  10. vl1969

    vl1969 Active Member

    Joined:
    Feb 5, 2014
    Messages:
    421
    Likes Received:
    40
    thanks, will look over them as soon as I can.


    PS>> I don't want to hijack the thread or anything like it , but can I get people opinion on storage configuration. for my Proxmox setup.

    NOTE: my setup is a single server with all drives on board.

    I am looking over 2 options

    option 1. Get the Proxmox going with system(Proxmox) install on 2 SSDs using ZFS raid-1
    add my data drives using a single BTRFS RAID-10 pool as local storage.
    want to use BTRFS as it works with mixed size drives in single pool setup just fine.+
    build out an OMV VM for file server using virtual drives (i.e. the actual file server will be using VHD files and all data will be there and all data will be backed up to external USB drive.)
    have a SAMBA and NFS shares to present all files to outside world, all VM and physical machines on network.


    Option 2 setup Proxmox as Option 1 but create an OMV VM and passthrough the real drives into that to be managed by OMV. rest is the same.


    my main needs for the storage drives setup are, easy config and management.
    I guess setting up a raid-10 BTRFS pool is not a big issue and for a wile it will just run , no management needed. adding or replacement of the drives is not too difficult either,
    how ever I also need a good monitoring of the drives for failure and timely notification if something gone wrong.

    what is the best option to take?
     
    #30
Similar Threads: drive configuration
Forum Title Date
Linux Admins, Storage and Virtualization ZFS on Linux w/ KVM .....hard drive utilization advice. May 16, 2017
Linux Admins, Storage and Virtualization How to replace failed ZFS mirror rpool drive? Apr 25, 2017
Linux Admins, Storage and Virtualization Next-gen AMD graphics platform Vega might have SR-IOV baked into Linux drivers Mar 22, 2017
Linux Admins, Storage and Virtualization ZFS FreeNAS and Servers with Minimal Boot Drives Jan 25, 2017
Linux Admins, Storage and Virtualization CentOS 7: Mounting external iSCSI drive with LVM partitions Jan 1, 2017

Share This Page