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

ZFS FreeNAS and Servers with Minimal Boot Drives

Discussion in 'Linux Admins, Storage and Virtualization' started by TangoWhiskey9, Jan 25, 2017.

  1. TangoWhiskey9

    TangoWhiskey9 Active Member

    Joined:
    Jun 28, 2013
    Messages:
    321
    Likes Received:
    34
    Hello STH,

    Does anyone have a good guide on setting up a Linux system (CentOS or Ubuntu 16.04) to boot from a small hard drive then have all of the other bits installed on a ZFS FreeNAS?

    I don't necessarily want to have full booting over the network since the 1gb will choke if 40 machines booted at the same time. I'd essentially want to map /home/ or maybe everything outside of /boot and swap off the network's FreeNAS ZFS server.

    I know there are guides available I just haven't found one that works.
     
    #1
  2. marcoi

    marcoi Active Member

    Joined:
    Apr 6, 2013
    Messages:
    263
    Likes Received:
    25
    i dont have a guide, but i run a freenas vm with nfs enabled then mount that nfs share to other vms and use that as storage. Look under linux for how to mount nfs from freenas. its fairly simple. as a disclaimer I only use it for access to software i install on multiple vms, and limited content files, so not alot of network traffic.
     
    #2
  3. ttabbal

    ttabbal Active Member

    Joined:
    Mar 10, 2016
    Messages:
    392
    Likes Received:
    96
    What you're talking about is usually called "NFS Home" or similar. It's pretty common.

    You might try network booting. It may perform better than you think. Even with many machines booting at once. The network might lag a bit while the initial boot runs, but you really only need to move 100MB or so for a fat client boot process. And it's spread over time. The kernel and initrd have to download all at once, but after that it just depends on how quick each machine runs.

    I'm using LTSP for that, single client, but the broken switch it's on is linking at 100Mbit/s. It works quite well. I really need to throw that switch away.... :)
     
    #3
  4. whitey

    whitey Moderator

    Joined:
    Jun 30, 2014
    Messages:
    2,002
    Likes Received:
    605
    LTSP, now that's turning back the hands of time for me...almost as much as SRSS if you knwo what that is :-D. Had some fun w/ those projects and a few deployments, mostly very successful. I think what you are after is a pretty common thing to do for users home directories, google 'nfs autofs home directories' and if memory serves me correct you will be onto gold.
     
    #4
Similar Threads: FreeNAS Servers
Forum Title Date
Linux Admins, Storage and Virtualization Advice on ZFS/FreeNAS for 40TB Feb 1, 2017
Linux Admins, Storage and Virtualization Proxmox using FreeNas as storage system Aug 10, 2016
Linux Admins, Storage and Virtualization Tips for building proxmox servers Jan 18, 2017

Share This Page