Home server general - /hsg/

home server general - /hsg/

comfy behind-the-sofa homeserver edition!
+ run your own DNS server edition: zwischenzugs.com/2018/01/26/how-and-why-i-run-my-own-dns-servers/
+ RISCV Homeservers NOW
Are you interested in learning Linux or BSD administration and configuration better. Becoming a systemd expert? Or maybe you hate that shit and want a cozy little BSD machine to run services on and interact with. Or practice more advanced and complicated networking setups.

>news:
> LKML is hosted on somebodys homeserver!
> Everybody is switching away from freebsd, nobody knows why

>chat
> discord.gg/9vZzCYz
> or use riot.im and join riot.im/app/#/room/#homeservergeneral:matrix.org

Attached: 1522102263636.jpg (5312x2988, 1.84M)

Other urls found in this thread:

opnsense.org/users/get-started/.
asciinema.org/a/133292?autoplay=1&speed=1
twitter.com/NSFWRedditImage

I run freenas in a VM and pass through the disks.
one of them isn't on it's own controller, so I pass through the block device. It doesn't have S.M.A.R.T. through freenas that way.

what's the best way to monitor the drive for failure?

Dnsmasq is great. I just set up IPv6 for my LAN and Dnsmasq does both dhcpv6 and the stateless ra stuff.

Alright lads, riddle me this hypothetical scenario:

>8 4TB drives
>32GB ECC DDR3 RAM
>want to run a FreeBSD+ZFS fileserver

If I want to COMPLETELY eliminate the risk of an unrecoverable read/write error fucking up my rebuild should a drive fail, am I better off with raidz1, raidz2, raidz3, or something higher?

Alright, so I have Proxmox and want to set up OPNSense as my DHCP/firewall using pihole as my DNS
I'm just trying to figure out how to do with with only 2 Ethernet ports rather than the 3 it looks like it'll need

you've got enough disks for z3
i personally like raid10 but that's not a zfs thing

don't bother with pi DNS. opnsense should have DNSBL capabilities.. pfsense does

How do I get OPNSense to work with only 2 Ethernet ports?

Thanks. Just curious, what do you like about raid10?

There's no way to absolutely guarantee it, for all you know all your drives could fail simultaneously in some horrible way. It really depends on how much storage you're willing to sacrifice. Raid-z1 lines up to raid-5 so you lose one drives worth of space to parity and can afford to lose a drive at a time. Raid-z2 lines up to raid-6 so you lose 2 drives of space and can afford to lose 2 drives at once. Raid-z3 doesnt line up to a real raid level but its basically 5 or 6 with 3 drives of space lost and you can lose 3 drives at a time. Honestly with modern ures you could get away with raid-z1/5 but it might be a little risky. With the amount of drives you have raid-z2/6 seems like the sweet spot. However if you are super worried about data loss to something crazy like cosmic rays and you don't care about storage you could go for raid-z3 or a raid-10/zfs mirror setup.

won't take forever to rebuild, best possible read speed
problem is you only get 1/2 capacity but 16 TB would be plenty for me.

>pass through 2 ethernet ports to opnsense
>one is "WAN"
>one is "LAN"
>virtual interface on proxmox is "LAN2"
>set up routing tables so LAN and LAN2 can see each other

ZFS does far more than standard RAID to guarantee data integrity. That said, if this won't be the backup for your data, you should plan to have a backup of the data you put on there regardless.

The raid-z2 mode is safe with that number of drives as long as they aren't all old/unknown. Triple fault is unlikely.

ZFS can take some time to tweak for performance so you'd do well to run some benchmarks and make adjustments if you go that route.

Also in addition to that if you have a raid controller that doesn't allow for true JBOD mode you may as well just run standard RAID unless you can get a basic HBA and slam it in there to offer that mode.

ZFS without direct disk access makes it difficult for it to detect onset of disk issues.

Can someone give me a quick rundown of virtualization on linux? I mean, I've got a rough idea of the difference between a container and a VM, but as soon as it comes to actually setting up a VM on distro X it gets fucking confusing.

KVM? QEMU? Using both in combination? Does KVM just enable QEMU to take advantage of VT-x? libvirt? ovirt? virtManager is just a GUI frontend? What the fuck is OpenVZ and does it matter?

Attached: question.jpg (411x292, 17K)

just use libvirt and kvm/qemu settings
alternatively use virtualbox cuz it's super simple

>set up a Samba share with rwx permissions for everyone because I wanted to be able to read/write as any user I happened to be logged in with
>allowed users for the share are explicitly listed in the smb.conf
Are there any potential security implications to doing this? Is there a more elegant solution for allowing multiple users to read/write on the same share?

Attached: creampie teens.jpg (480x407, 67K)

How do you guys run your Plex servers?

Use groups?

KVM lives in the kernel. QEMU is a userspace hypervisor manager.
QEMU can approximately run in 4 different modes, single program, system emulation, KVM front and XEN front.
libvirt is a toolkit to manage multiple virtualization solutions, like XEN, QEMU, VMware, KVM and so on.
ovirt, virtmanager and virsh live on top of libvirt and use it manage virtual machines/settings, they are front ends for libvirt.
KVM/QEMU combo is very popular for desktop vm's, since KVM does the heavy cpu lifting while QEMU provides the rest.
When speaking of KVM virtualization it almost always means KVM/QEMU combo.

Attached: 1000px-Kernel-based_Virtual_Machine.png (1000x1059, 135K)

Thanks, user, that was actually helpful.

I want to build a FreeNAS system with 6-7 8TB drives in z2 on a 10 GbE network. What kind of components (HDDs and CPU especially) do I need to get decent speeds on 10 GbE?
Noise levels are a concern too.
Are there any other good resources or guides besides the freenas forums and user guides there? Those forums are quite messy to navigate for good information.

I've been thinking lately on expanding my homeserver lately, but I think it would be a waste based on my bandwith. I actually will love some big seedbox since I love to seed and leaving my actual HPE for NAS mostly. Did you have this kind of problem ever?

Not him but this is very useful, thanks.

How do you calculate a good raidz level from number of hdds? For example if I wanted to use 12 4tb hdds, is raidz2 still a good option?

Someone please talk me out of getting a Synology DS218play.

Use case: backups, streaming and automatic torrenting box

Attached: heading.png (668x400, 84K)

I have a bunch of trays coming in for my DAS arrays later today. Im pretty excited NGL, this will push me over 200TB finally.
Im still waiting to hear back from a few companies on the cost of getting FTTP. I live right next to a school that has it, so I know there is a fiber DMARK somewhere close to my house.

Attached: CramIt_IMG_20171214_21275474420171221_192230.jpg (2952x5248, 1.8M)

The CPU is probably pants, so no transcoding for you.

Supposedly it supports 4k and Synology is like one of two trusted brands for this stuff.

You would probably be better off with a $150 used ivybridge desktop off eBay than you would with the synology for transcoding.

Its all about rebuild time. The larger the drive the longer it takes to rebuild the data, and the higher likelyhood that another drive will fail in that time period. RAID is also about fault tolerance, not backup, so if you are concerned about loosing data if your drives fail, then you should really implement a backup strategy of some sort.

>chat
>Discuck
>riot.im
Very serious thread friend, nice botnet.

Attached: 1332218016696.jpg (400x300, 34K)

>Everybody is switching away from freebsd, nobody knows why
Are you referring to my ()
post from last thread? Because I made it very clear that the reason I was switching away was because I was removed from the project I had spearheaded after I voiced my complaints against the new CoC. Now, I am using Alpine with ZFSonLinux for my SAN heads, and Dragonfly BSD everywhere else.
Fucking seconded. Come hang out on #hsg on Rizon if you are a real man. I will spin up an XMPP server later tonight too if that is something people want.

IRC sounds good, joining now.

Attached: tumblr_inline_mikynhflXQ1ryobfq.png (480x480, 99K)

What is this project that you speak of?

A silly question, if you don't mind. Why did you expanded your stuff? I want to expand but I always lack proojects. Did you need projects or yoou just expanded and thought on new projects by the time was passing? Thank you user.

I archive a lot of stuff, and I was running out of space. I mostly archive stuff for fun though, so you could say that it is just an interesting project.

I dont want to share much information as it is tied with my meatspace identity, but I wrote and article you can find if you look a little bit.

Oh, seems logical then. Althought, 200TB? Do you mind if I ask you what do you archive?

Mostly small image boards, old BBS, gopherspace, IRC, a bunch of fansub and translation work, websites and FTP services with strange, interesting, or archaic files. Stuff like that. I will mostly archive the things that the rest of the world does not care enough about to archive at the moment.

>I will mostly archive the things that the rest of the world does not care enough about to archive at the moment.
I love that you are doing that. Seriously. If you don't mind me keeping asking, do you run some short of self storage website? I've tried to get informed about how to make one but I couldn't find anything.

I'm guessing it was an SJW code of conduct, then
I've made my politics rather clear where I work, so short of firing me, not much can be done to hurt me

Guys. Need your help.

I have a DL380 G7 Proliant 2U server. It's been working fine. However, for the last year or so, it's been offline due to me having to move around a bit. I finally got time to set it up again, and there was a warning beep.

Fan #3 wasn't spinning. I got the following error:
"1611-Fan 3 Failure"

I put the fan in another slot. It worked fine. Any fan I put in slot #3 just plain wouldn't work. Now, that slot is a "redundant" fan, and the server will work fine without the fan. The only problem is that it goes full throttle and makes a ton of noise. It's not livable, and will wear out the fans. Temps are fine.

What the fuck do I do, Jow Forums? I'm at a loss here.

Seconding.

How would I go about doing that? I don't see a smb.conf option about groups, unless I've missed it.

>unless I've missed it.
Not original user, but you did.
Search for @groups. It goes on "valid users"

I am working on creating one, as well as some videos. I will update this thread when it goes live. My english is not awesome, so I will do my best.

>If plex server is on a different subnet than the client, it will stream out through the internet instead of simply letting you chose it yourself
Smart people don't run it in the first place.

Maybe you fuckers can help me with this.

>have an apache/php/mariadb webserver
>registered a domain name (godaddy)
>which is points correctly to my server
>example.com is working just fine on usual wifi/eth networks
>can't connect for shit on mobile data.

I even enabled DMZ and tried to disable iptables entirely but still no connection on data. This implies the problem is either with the ISP or the godaddy DNS.

What should I do to troubleshoot this

wats wrong with plex

DNS takes a few hrs, give it time

The problem is that I've done all that last weekend.

>I am working on creating one
Would you mind to link me to the tutorials or links that you are using to create it? As I said I can't find anything on them.

>If plex server is on a different subnet than the client, it will stream out through the internet instead of simply letting you chose it yourself
Smart people don't run it in the first place.

you probably fucked it when you were messing around with DMZ and iptables.

teach me your ways /hsg/. How to into networking and home server?

..so then just put it on the same network as all your devices

Attached: 547846121B0.jpg (235x239, 16K)

please respond

How so? iptables is set to allow all connections through 80 and 443 and both ports are open and forwarded to the server IP by default. That works just fine on "regular" internet.

The test I did by enabling DMZ and disabling iptables (i.e. stupid open all ports test) was just to see if I wasn't blocking any conns from mobile data IPs somehow.

it's decent for some files, it's shit for your gook 10bit ultra high 4K master autistic mkv files with 30 subtitles loaded in

>flat network
this board isnt for you kiddo

Planning to use OPNsense as my home router. Gonna stick the WAN right into it, and use it as a firewall, adblock, all that good stuff.

Reccomendations for minimum specs? It's on a VM, so I'm going with 4GB, 2Cores, and 40GB according to opnsense.org/users/get-started/.

I don't get why it'd need more than 40GB.

Attached: 1494608097163.png (531x921, 1.4M)

maybe your phone is refusing the connection. can't help you otherwise.

Get your shitty chat links out of here. No one gives a shit about your shitty Discord server, nor your shittier Matrix room

sorry i didn't realise i was in the fucking enterprise section of the board.

this is /hsg/ isnt it?

go take shitty rasbperry pi and wrt54g and go back to Jow Forumseddit kid, or i guess help that other retard figure out how to set up port forwarding like this a fucking geek squad support

if you're so fucking pro, answer this:

Attached: 547846120D3.jpg (250x251, 9K)

You guys patched your pfsense boxes for specter/meltdown, right?

Attached: Screenshot_20180331-181629.png (677x399, 62K)

any idiot with half a brain would check the actual fan connector on the motherboard, otherwise they would simply wire it up to send a fake signal back to mimic the fan reporting speed. this isnt fucking rocket appliances holy shit use google

here. Explain? WIll it help if I have an older CPU?

i dont run untrusted code on my god damn router so no, i havent patched it

Checked the fan connector. It's not dead.

As for the fake signal, would it help? I've established that the fans themselves work fine. It's only slot #3 that's giving me trouble. Picture in next post.

Here's the picture. It's fan slot #3. Switching fans do nothing.

I'm not sure what you mean by jerry-rigging the fan signal though. Elaborate?

Attached: fig3.jpg (912x684, 378K)

i dont need a picture, send the connector a fake signal mimicing the fan is working correctly and it will stop running in fail mode. otherwise if the entire path back is fucked just insert a resistor into the rest of the fans to slow them down and deal with the warning

> using godaddy in 2018

Neat advice. Any tips/guides on how to do this that you know of?

I already have googled this, but there's very little if any helpful information on my particular issue.

What if the connector itself is the problem?

check for voltage, then go to radio shack

Well, when not powered on, there's 3V going through one pin to the other. When powered on, that increases to 9V.

That is for a functioning fan.

However, for the fan that isn't functioning, it stays at 2.9V.

Firmware issue?

go to gandi.net
>hope gandi in 2018 is ok

Attached: keph.png (112x112, 52K)

You're probably right.
Thanks.

Small setup here, but hey it's been working flawlessly with zero headaches which is the whole point right.

OS - Windows Home Server 2011 (2008R2 Based, security patches all install no problem). Roles:
1. Automatically backs up all clients once a day, backups retained for 1 year, auto purges old backups once a week so drive space never comes an issue. Will "wake" a client that is in sleep mode, run backup, then "put" that client back to sleep. Can restore files/folders/whole system.
2. File Server (9TB; Raid-5 3TB x 4, 2TB; 2TB x2 Raid-1, OS/Client Backups; 1TB
3. Streaming Media via Serviio DNLA server + Built in DNLA server to handle remote streaming via web page interface.
4. Remote access via webpage. Can upload/download any files. Can stream media from said webpage (aka youtube like)
I use Macrium Reflect to handle server recovery and data volume backups. Client backups are included with the backup.

Backup (s) (All are kept shutdown when not used)
Primary Full Data - 12TB Raid 5 Zyzel Nas
Archive Core Data - 4TB Raid 0 Zyzel Nas (Only to be used if Primary & Server both are totally destroyed)
External 3TB Drive - Server System image/Client backups, Archive copy of e-book and Porn Collection.

Server, Nas units, and all network gear are connected to a UPS.

Hey /hsg/, what do you guys use for backups? Do you use something fancy like bacula? I'm looking for something that works on GNU/Linux that can automate backups to my server for a couple computers.

A cron job, mt, tar, and a tape library is all I need. Its not great probably but I like it.

how to into servers fampai?

suicide because your 144gb ram 2x xenon awesome server won't boot because of a single fan that won't boot so you try fetching some firmware updates only to be met with HP's draconian and literally worse than hitler update system that also requires an active service agreement btw

I used bacula, but it actually pretty much sucks.

Strongly recommending to have a look at borgbackup [or maybe bup]. I figure that will work A LOT better for most people

Thanks. Just curious, what sucks about bacula? I've seen it shilled a lot online.

>not going /hard/ and fixing the hardware issue yourself
lol oki

Why not just get a new fan?

>implying the fan is the problem
fan works fine

it's just not getting any power-on signal

make sure your web servers port is forwarding to it on the router. otherwise, how does your router know how to NAT the request to the correct local IP address of your webserver?

make sure apache has virtual hosts setup to serve your domain name. on a local network it might not need this since it.

Attached: 1498868538190.jpg (856x720, 53K)

Nigger, do you have a staple? The power-on pinouts in HP servers are fucking easy to bypass.

Apart from being overly focused on tape backup and hdd usage being somewhat hack-ish, it's pretty silly to configure (not absolutely horrible, but it is very silly already), not very fast or efficient, and I had too many issues with it failing to back up or verify reliably for various reasons. And the CLI and GUI aren't exactly all that great either.

Borg [and Bup] are sleeker, more efficient, better in almost every way.

Plus of course in the time it takes you to just figure out what is probably doing roughly what in Bacula, you probably already done with doing a 3 version change test backup on bup or borg and checking out whether mounting and recovering works.

asciinema.org/a/133292?autoplay=1&speed=1

That's already done, because otherwise I wouldn't be able to connect to it from anywhere, right? I can connect to it perfectly from external IPs, such as college or friends' IPs for instance, but not from mobile (tested my phone and several others too).

I just found some. Now what?

Nigger, Google your Proliant model number and "Power-on pinout"

I'm agree with this user. I use a cronjob and cp. Works flawless.

>only to be met with HP's draconian and literally worse than hitler update system that also requires an active service agreement btw
Can confirm. I will never know if my firmware is okay or not since I never registered to HP official website because it required a lot of fucking shit.

There was a big pop and a crackle and now it wont go on at all. Now what?

>There was a big pop and a crackle and now it wont go on at all.

Attached: 1483308225197.png (279x232, 90K)

did you set up both A and AAAA records? maybe one network is using ipv6