vmunich

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by vmunich

  1. I use Vagrant to write software, and I'd like to move my box from my computer to my NAS. I managed to do it using Virtualbox, but I'm not being able to get it to work with KVM. First thing I did was install an Ubuntu KVM VM, then installed virtualbox on it and Vagrant... But as you know, nesting is terrible, and I had terrible performance. Then I installed the Virtualbox UnRaid plugin, used Alien to convert Vagrant's .rpm to a .tgz, installed it with installpkg, and it worked with Virtualbox. It worked very well by the way, performance was quite good. However, I'd like to use what UnRaid provides natively already, which is libvirt/kvm. Vagrant works with libvirt, but we need to install this plugin: https://github.com/vagrant-libvirt/vagrant-libvirt But when I'm installing the plugin, it can't find libvirt and compile what it needs: /opt/vagrant/embedded/bin/ruby -r ./siteconf20170201-5109-1kn7me6.rb extconf.rb /opt/vagrant/embedded/lib/ruby/2.2.0/mkmf.rb:1516: warning: Insecure world writable dir /root/.vagrant.d/gems in PATH, mode 040777 *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. extconf.rb:73:in `<main>': libvirt library not found in default locations (RuntimeError) extconf failed, exit code 1 Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/opt/vagrant/embedded/bin/$(RUBY_BASE_NAME) --with-libvirt-include --without-libvirt-include --with-libvirt-lib --without-libvirt-lib --with-libvirt-config --without-libvirt-config --with-pkg-config --without-pkg-config Gem files will remain installed in /root/.vagrant.d/gems/2.2.5/gems/ruby-libvirt-0.7.0 for inspection. Results logged to /root/.vagrant.d/gems/2.2.5/extensions/x86_64-linux/2.2.0/ruby-libvirt-0.7.0/gem_make.out Now I know libvirt is installed, but not on the usual locations. Google tells me that a lot of people fixed this issue by installing libvirt-devel on centos/fedora and libvirt-dev on debian/ubuntu. Since this is my first time dealing with Slackware, I'm not sure about the next step. I used Alien to convert libvirt-devel's .rpm into a Slackware friendly .tgz, installed it but nothing changed. I know this is not how it works but I'll gladly take any suggestions. Can a package manager be installed on UnRaid? Vagrant is working fine with Virtualbox, but it will be much better using the native solution provided by UnRaid (libvirt). The fact that UnRaid is based on Slackware makes it harder as there's not a lot of recent content about it online. Any suggestions?
  2. Hi, My VPN is my own server using Pritunl. There's no username/password, it only uses .ovpn files. How can I make this work? I removed credentials.conf, and VPN_USER and VPN_PASS are blank, but on every restart it gets restored. Edit: I managed to get it working.
  3. Hi, this is my first time building a NAS. First I was going to use FreeNAS, but the virtualization capabilities of UnRAID are very nice, I want to try it out. For a little introduction, I bought this server for my NAS: Dell Poweredge R410 2 x Quad Core 2.40GHz E5620 Processors 24Gb Memory Installed ( 6 x 4GB ) 1 X 146GB 15K 3.5IN SAS Hard Drive Installed (will use this as a cache disk) ONBOARD SAS 6/IR Raid Controller ( dell part# HM030) Dell iDRAC6 DRAC 6i Remote Access Board K869T Installed 480w Power Suppy I will be using it to make a NAS for my home office, so me and my roommates can share entertainment files, as well as work-related files (we're freelancers). I also want to run a Windows 2012 VM to virtualize some Windows-only business software we need to use on our Macs, and a Linux VM to use as our sandbox for software development. It seems that UnRAID can handle this easily. Now I need to buy the hard drives. I found these Certified Refurbished HGST Enterprise Ultrastar 3TB drives on Amazon: https://www.amazon.com/HGST-Ultrastar-HUS724030ALE641-Enterprise-Refurbished/dp/B01LYVD7ME/ref=sr_1_1?ie=UTF8&qid=1483068884&sr=8-1&keywords=refurbished+3tb Judging by the reviews, they seem solid, and the price is great for 7.2k RPM drives. I plan on testing the disks thoroughly before putting them in production. Has anyone used refurbished drives on their NAS? Is this a dumb idea? Also, another question. Let's say I get 2x3TB drives, and assign 1 for data and another for parity. What happens when I buy a third disk? Could it work like a RAID5 setup? I don't quite understand how parity works in UnRAID. I see people using 6 data disks, with only 1 parity disk. How can data be safe when you only have 1 parity disk for that many drives? How can I protect my data the most when having 3x3TB drives? Sorry for asking so many questions. Thanks for the help, Vini