Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Chris Knight
Jun 5, 2002

me @ ur posts


Fun Shoe

Looten Plunder posted:

poo poo, forgot about a UPS (this is getting loving expensive).

What size UPS (watage/VA) do i need for a 4 bay NAS?

Get a cheap one and just have the NAS shut down when the power goes out :v:

Adbot
ADBOT LOVES YOU

priznat
Jul 7, 2009

Let's get drunk and kiss each other all night.
Yah the NAS should be able to connect via USB to get a signal from the UPS telling it to shut down gracefully.

Cyberpower is a good brand and often has deals on amazon.

H2SO4
Sep 11, 2001

put your money in a log cabin


Buglord
My new Synology box has support for UPS communication, it's lovely and integrates with the alerting. Get an alert when the UPS kicks over to battery backup mode, and if it passes the low remaining runtime threshold then it'll send an alert and gracefully power off. Currently using a Cyberpower pure sine wave model.

H110Hawk
Dec 28, 2006

H2SO4 posted:

My new Synology box has support for UPS communication, it's lovely and integrates with the alerting. Get an alert when the UPS kicks over to battery backup mode, and if it passes the low remaining runtime threshold then it'll send an alert and gracefully power off. Currently using a Cyberpower pure sine wave model.

LInk it? Is it possible to make it not beep ever?

Paul MaudDib
May 3, 2006

TEAM NVIDIA:
FORUM POLICE

H110Hawk posted:

LInk it? Is it possible to make it not beep ever?

you can silence the alarms on that series, I've got one

H110Hawk
Dec 28, 2006

Paul MaudDib posted:

you can silence the alarms on that series, I've got one

Silence it sounds an awful like it beeping and you pushing a button. Can I make it never beep? The only beep I want to hear out of the thing once configured is my smoke alarm going off from it catching fire. (I read the manual on one and it is also ambiguous.)

Paul MaudDib
May 3, 2006

TEAM NVIDIA:
FORUM POLICE

H110Hawk posted:

Silence it sounds an awful like it beeping and you pushing a button. Can I make it never beep? The only beep I want to hear out of the thing once configured is my smoke alarm going off from it catching fire. (I read the manual on one and it is also ambiguous.)

yes, if you hold down the silence button it will have a "no sound" logo come up and prevent the alarms from ever going off

H110Hawk
Dec 28, 2006

Paul MaudDib posted:

yes, if you hold down the silence button it will have a "no sound" logo come up and prevent the alarms from ever going off

Sweet, thank you for the confirmation. Nothing makes me want to chuck a UPS into the lake like it beeping at me. "Great, the power is out, I know, I don't need you beeping at me."

https://www.cyberpowersystems.com/product/ups/cp850pfclcd/ - This unit/line?

AgentCow007
May 20, 2004
TITLE TEXT

H110Hawk posted:

Sweet, thank you for the confirmation. Nothing makes me want to chuck a UPS into the lake like it beeping at me. "Great, the power is out, I know, I don't need you beeping at me."

https://www.cyberpowersystems.com/product/ups/cp850pfclcd/ - This unit/line?

I've had the 1500 version of this for years and it's trusty af. I haven't configured it for my Syno yet but I should do that. Used to have it working like that on my FreeNAS back in the day, though. I've long since shut off the power outage beeps; it only beeps when you gently caress with the power button.

Crunchy Black
Oct 24, 2017

by Athanatos
Can anyone explain to me why FreeNAS refuses to have more than one interface on DHCP. Is it a limitation of BSD or is there some other constraint? I don't ultimately care, I can set up manual IPs and reservations, just shocking to me that it's a restriction.

BlankSystemDaemon
Mar 13, 2009



Crunchy Black posted:

Can anyone explain to me why FreeNAS refuses to have more than one interface on DHCP. Is it a limitation of BSD or is there some other constraint? I don't ultimately care, I can set up manual IPs and reservations, just shocking to me that it's a restriction.
The real question is, after you asked this last time, why haven't you setup LACP? :v:
And like I said last time, it's got nothing to do with FreeBSD. Who knows what iX does to FreeBSD? Well, presumably iX does...

Enos Cabell
Nov 3, 2004


Rexxed posted:

If cooling is an issue, a drive bay adapter with integrated fan would be a good idea:
This one's cheap with no backplane:
https://smile.amazon.com/EverCool-Dual-Drive-Triple-Cooling/dp/B0032UUGF4/

Installed 2 of these yesterday for my 6 drives, and temps have dropped 10-15c on average across the board. No longer getting temp warnings, so mission accomplished.

fordan
Mar 9, 2009

Clue: Zero
From Coupons & Deals, Amazon has the 8TB WD Red for $184.99. https://forums.somethingawful.com/showthread.php?threadid=3892620

fletcher
Jun 27, 2003

ken park is my favorite movie

Cybernetic Crumb

H2SO4 posted:

Synology has a whole built in mechanism for remote access without going suicidal like this. They call it QuickConnect.

KOTEX GOD OF BLOOD posted:

There is no loving way I trust that poo poo.

H110Hawk posted:

Yeah that is hot garbage and no one should use it.

I don't really trust it either. Just out of curiosity though...how does QuickConnect let you through the firewall without having to forward any ports?

H2SO4
Sep 11, 2001

put your money in a log cabin


Buglord

fletcher posted:

I don't really trust it either. Just out of curiosity though...how does QuickConnect let you through the firewall without having to forward any ports?

From what I can tell there's two levels of functionality. One is pretty similar to setting up dyndns/etc and forwarding ports, it just does it for you. The other is the ability to use their "relay service" where your connection bounces through one of their servers when a regular direct connection is blocked. Seems similar how something like LogMeIn works.

I certainly wouldn't trust the relay, but from what I can tell the regular service seems benign. You have to create a synology ID but that appears to be completely separate from the NAS account, just lets you control the quickconnect functionality.

Crunchy Black
Oct 24, 2017

by Athanatos

D. Ebdrup posted:

The real question is, after you asked this last time, why haven't you setup LACP? :v:
And like I said last time, it's got nothing to do with FreeBSD. Who knows what iX does to FreeBSD? Well, presumably iX does...

Sorry missed that one and just circled back around to this problem. /might've also been a bit impaired when I wrote the last post...

Thanks!

Axe-man
Apr 16, 2005

The product of hundreds of hours of scientific investigation and research.

The perfect meatball.
Clapping Larry
The way Quick Connect works is it has a long list of basically every way to connect to the DSM. It then just goes through the list if it's able to and you have set it up to do so it will attempt to open up ports or use UPnP ports to connect to the Nas. The relay service is actually just the heartbeat at uses to do things like download updates and various other things that allow things like ddns to work. All quick Connect does is run through all the connections it can.

So there's no mystery to it at all, it doesn't even use adaptive learning or anything like that. Which is why Synology suggest you use it for applications on phones and other stuff. Because usually those have the worst issues with connecting.

Edit:

In terms of security it doesn't do anything unique. If you require for example https then it will continue to require that on its end. If you're really concerned about security though I would not use Quick Connect simply because you're basically blasting every port and every place from Synology trying to find a connection to the nas

Axe-man fucked around with this message at 23:40 on Jun 25, 2019

Enos Cabell
Nov 3, 2004


I'm not as up on security as I should be. Is there a good resource out there that covers everything you should have configured for a typical home server? Worried I may have overlooked something.

fletcher
Jun 27, 2003

ken park is my favorite movie

Cybernetic Crumb

Enos Cabell posted:

I'm not as up on security as I should be. Is there a good resource out there that covers everything you should have configured for a typical home server? Worried I may have overlooked something.

It's by no means comprehensive, but this Digital Ocean guide touches on some of the main things I would do and links to additional resources about them: https://www.digitalocean.com/community/questions/best-practices-for-hardening-new-sever-in-2017

Ika
Dec 30, 2004
Pure insanity

If I want to mirror subsets of a shared folder on NAS A to NAS B, what is the best way of doing it? Rsync doesn't seem to have an exclusion list, hyperbackup doesn't only mirror the data. Although backing it up into an archive may be acceptable. Right now I am just mounting the destination share and drag + dropping the files in question.


Related: When I want to mount a remote folder I have to specify a local folder for it to mount into - and then they show up in a "remote Folder" tab in file station as well. Is there some way to be able to access those shares directly without also mapping onto a random local folder?

H110Hawk
Dec 28, 2006

Ika posted:

Rsync doesn't seem to have an exclusion list

Yes it does.

$ rsync --help | grep exclude
-C, --cvs-exclude auto-ignore files the same way CVS does
--exclude=PATTERN exclude files matching PATTERN
--exclude-from=FILE read exclude patterns from FILE

Ika posted:

If I want to mirror subsets of a shared folder on NAS A to NAS B, what is the best way of doing it? Rsync doesn't seem to have an exclusion list, hyperbackup doesn't only mirror the data. Although backing it up into an archive may be acceptable. Right now I am just mounting the destination share and drag + dropping the files in question.


Related: When I want to mount a remote folder I have to specify a local folder for it to mount into - and then they show up in a "remote Folder" tab in file station as well. Is there some way to be able to access those shares directly without also mapping onto a random local folder?

What are your NAS's? Synology's? What is the OS you're mounting a folder onto? Or do you mean like "Mount nfs4://nasb.domain.com/my/awful/files -> nasA/my/awful/files" ? If so, that's just how Linux works. Make a new folder if you want a dedicated mount point.

H110Hawk fucked around with this message at 00:44 on Jun 26, 2019

Ika
Dec 30, 2004
Pure insanity

Oh sorry - both systems are synology NAS boxes. I was referring to the rsync version in the UI, not via SSH.

I couldn't even find an option to create a new local (non-shared) folder. But that is what I get for using prebuild I guess.

Axe-man
Apr 16, 2005

The product of hundreds of hours of scientific investigation and research.

The perfect meatball.
Clapping Larry
You can use snapshot replication to do exactly what you are trying to do via gui.

You actually have a ton of options:

https://www.synology.com/en-us/knowledgebase/DSM/tutorial/Backup/What_tools_can_I_use_to_replicate_data_on_my_Synology_NAS

Each has their benefits and minuses.

Ika
Dec 30, 2004
Pure insanity

Axe-man posted:

You can use snapshot replication to do exactly what you are trying to do via gui.

You actually have a ton of options:

https://www.synology.com/en-us/knowledgebase/DSM/tutorial/Backup/What_tools_can_I_use_to_replicate_data_on_my_Synology_NAS

Each has their benefits and minuses.

Thanks for the list. Unfortunately I don't have a + model so no btrfs, and thus no snapshot.

BlankSystemDaemon
Mar 13, 2009



Wait, people trust BTRFS with their data?

Enos Cabell
Nov 3, 2004


fletcher posted:

It's by no means comprehensive, but this Digital Ocean guide touches on some of the main things I would do and links to additional resources about them: https://www.digitalocean.com/community/questions/best-practices-for-hardening-new-sever-in-2017

Thanks

Axe-man
Apr 16, 2005

The product of hundreds of hours of scientific investigation and research.

The perfect meatball.
Clapping Larry

D. Ebdrup posted:

Wait, people trust BTRFS with their data?

I am of the opinion that you should trust nothing solely. But used in conjunction with other forms of backup btrfs based checksum applications can be very useful.

Ext4 is fine too you just have less options.

BlankSystemDaemon
Mar 13, 2009



Axe-man posted:

I am of the opinion that you should trust nothing solely. But used in conjunction with other forms of backup btrfs based checksum applications can be very useful.

Ext4 is fine too you just have less options.
Yes, ext4 is perfectly servicable. It's been tested in production for years without (much) corruption (the fsync issue revealed by postgres stands out as something recent, but ext4 wasn't alone in being hosed there).
BTRFS was declared production ready by the developers and then they whoopsed into finding that it actively corrupted XOR'd data despite being a self-healing copy-on-write tree-like structure with checksums for any given block stored in the parent block.

I'm not saying you shouldn't only use ext4, zfs, or any other single filesystem on all your systems (by all means, tailor each system to its use) - but that filesystems, which actively corrupt their data despite them in theory not being able to do so, should be assumed to be broken until someone proves scientifically that they're not - by putting it in production with the data active-active replicated on a filesystem that has been proven reliable, and then comparing the on-disk data over a long while.

BlankSystemDaemon fucked around with this message at 14:51 on Jun 26, 2019

Progressive JPEG
Feb 19, 2003

When deciding on a backup method it helps to start with the scenarios that you want to protect against, such as:
1. bad drive or hardware
2. bad filesystem or os
3. accidental deletion
4. malicious deletion
5. house burns down

A btrfs snapshot for example will help with #3. An off-site backup (including an external drive left with a friend) would help with all five.

Axe-man
Apr 16, 2005

The product of hundreds of hours of scientific investigation and research.

The perfect meatball.
Clapping Larry
Yeah, at work and dealing with multiple people accessing the NAS, number 3 is a big big deal. I have it just for that in fact.

However, I also have 2 on site, one usb connected via the usb 3, and one old computer that just takes hyper backup target. Then I have 2 external one NAS at my parents, with a usb backup connected to that as well, and Cloud.

Not perfect, but better than nothing for sure.

Axe-man fucked around with this message at 04:26 on Jun 27, 2019

Queadlunn
Dec 10, 2005

Yak Deculture!
Fallen Rib
Finally got some DAS hardware working with my server. It's just thrown together right now but I'm gonna build a proper enclosure for it soon and 3d-printing brackets/cable management will help a lot. There's even some space left on the SAS Expander and power supply for another 8 drives I think. The ATX power supply is just hotwired on and seems to run well enough for this.
I've got a VM of FreeNAS installed and am working through getting it set up as a backup array to work with the main array that's in the server.

It's built and interfaced as follows:

Main Server's Dell H200 (IT-Mode) ->External SAS bracket - cable - External SAS bracket -> HP SAS Expander -> Drives (12x 1tb 10k rpm, 3 SSDs and a 2tb 5200rpm)




Don't know how fast it's gonna end up being, even though the main array in this DAS is made up of a arm-full of 10k drives it's still going through an old SAS expander so who knows. I was planning on using a 16-bay Dell R720 backplane but couldn't get it's on-board expander to fire up, even though the power cable was getting the right voltages there's an i2c cable as well that must talk to the chassis/motherboard and tell the expander to power up. Ehh, if I get an R720 I'll just use it as a spare.

Progressive JPEG
Feb 19, 2003

Is there gonna be a fan running over those drives? They look kinda close together

CommieGIR
Aug 22, 2006

The blue glow is a feature, not a bug


Pillbug
Yeah, that's gonna get hot, fast.

Queadlunn
Dec 10, 2005

Yak Deculture!
Fallen Rib

Progressive JPEG posted:

Is there gonna be a fan running over those drives? They look kinda close together

CommieGIR posted:

Yeah, that's gonna get hot, fast.

There's 2 92mm fans blowing into the drive blocks, the 10k drives have ~5mm air space between them. FreeNAS says that their not getting hotter than 35°c under heavy use which I'm okay with. With no fan, yeah, they'll break 45° pretty quickly...

The array's getting about 450mb/s R/W over a 10G vNIC between the main server and the FreeNAS VM. Not bad but not great, I'm guessing that the SAS expander's ending up as the bottleneck right now. Not really worth getting a better expander to work with the H700 I've got spare right now either, since their a couple hundred dollars.

HalloKitty
Sep 30, 2005

Adjust the bass and let the Alpine blast

D. Ebdrup posted:

Wait, people trust BTRFS with their data?

I use it with unRAID on one of my NASes...

But it uses it on single drives, no raid, nothing.

Also, I decided to hedge my bets - one of the boxes uses XFS, and the other BTRFS, and they're used to back up the same data.

refleks
Nov 21, 2006



Anyone have any experience with a Synology failing to hibernate? I recently replaced my 2x2TB with 2x8TB in my DS218Play and I have had it sitting on my disk as it was rebuilding - I noticed that it does not hibernate either the disks nor the NAS itsself.

Is there a checklist of things to check off in terms of things that interfere with hibernation - Only thing I can think of is that one of the drives clicks at random intervals, even though I'm not connecting to it. Is it just doing a check or is one of my drives faulty? SMART says no issues...

Flipperwaldt
Nov 11, 2011

Won't somebody think of the starving hamsters in China?



As an owner of the cheapest, underpoweredest disk station, I'll say there could be indexing processes going that might not finish within the lifetime of the device. Think search indexer, media server package indexer, photos app thumbnail generator, stuff like that. I'd look into that first.

Axe-man
Apr 16, 2005

The product of hundreds of hours of scientific investigation and research.

The perfect meatball.
Clapping Larry
There is in fact a list that would cause it not to hibernate:
https://www.synology.com/en-us/knowledgebase/DSM/tutorial/Management/What_stops_my_Synology_NAS_from_entering_System_Hibernation

If all those check out you can download the debug log via Main Menu > Support Center > Support Tools > Scroll all the way down and Generate Logs

They are just a linux zipped tar that you can open with 7zip and read through with something like notepad++. The key files to look at would be usr > Logs > Messages.log and usr > Logs > dmegs.log

I mean you get down to it, the System logs are pretty much just a linux kernal dump, so if you know those, you will be right at home.

Flipperwaldt posted:

As an owner of the cheapest, underpoweredest disk station, I'll say there could be indexing processes going that might not finish within the lifetime of the device. Think search indexer, media server package indexer, photos app thumbnail generator, stuff like that. I'd look into that first.

It is possible, I have seem some of the lower end processors take MONTHS to index like 10000 files.

It all depends on the diskstation and how much resources are being used at the same time.

Bonobos
Jan 26, 2004

D. Ebdrup posted:

Wait, people trust BTRFS with their data?

What exactly is wrong with BTRFS? Honest question, Synology seems to recommend it for their NASes and i was gonna roll with that when my next synology arrives.

Adbot
ADBOT LOVES YOU

Sniep
Mar 28, 2004

All I needed was that fatty blunt...



King of Breakfast

Bonobos posted:

What exactly is wrong with BTRFS? Honest question, Synology seems to recommend it for their NASes and i was gonna roll with that when my next synology arrives.

same, i've got a 2/3rds full 50T synology with BTRFS+SHR - hell, that was the default even lol

what's wrong with it?

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply