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
BlankSystemDaemon
Mar 13, 2009



evol262 posted:

Or use /dev/disk/by-id
UUIDs are meant for machines, not humans. Best of all is when you label both the bay and the disk with a sticker that has the drives serial number and, on FreeBSD at least, use GPT labels with the format 'devid-bay#-serial#' so 'zpool status' contains all salient information for identifying which disk to pull when a disk needs to be replaced. On Linux, you'd probably just want to use the format 'bay#-serial#', because of the above-mentioned lack of persistent device IDs.

Adbot
ADBOT LOVES YOU

Thermopyle
Jul 1, 2003

...the stupid are cocksure while the intelligent are full of doubt. —Bertrand Russell

Hughlander posted:

What is the focus on privacy? CrashPlan encrypts the backups by default,

Are the spider oak clients open source? I don't think CrashPlan clients are, so you're just placing your faith in them that they've implemented encryption like they say they have.

Note that I'm not saying this is something worth worrying about, only that it is a plausible and not insane thing to worry about.

Hughlander
May 11, 2005

Thermopyle posted:

Are the spider oak clients open source? I don't think CrashPlan clients are, so you're just placing your faith in them that they've implemented encryption like they say they have.

Note that I'm not saying this is something worth worrying about, only that it is a plausible and not insane thing to worry about.

Looks like the SpiderOak desktop client isn't open source.
And for Crashplan, it's java... I'm sure you could crack the jar and see that they're calling the JDKs AES calls just like you're supposed to. I'm equally sure there's someone out there who has.

evol262
Nov 30, 2010
#!/usr/bin/perl

D. Ebdrup posted:

UUIDs are meant for machines, not humans. Best of all is when you label both the bay and the disk with a sticker that has the drives serial number and, on FreeBSD at least, use GPT labels with the format 'devid-bay#-serial#' so 'zpool status' contains all salient information for identifying which disk to pull when a disk needs to be replaced. On Linux, you'd probably just want to use the format 'bay#-serial#', because of the above-mentioned lack of persistent device IDs.

That's kind of not the point, though. /disk/by-path and /disk/by-id can both be used to uniquely identify disks. Or devicemapper.

Yes, uuids are meant for machines. Creating a zpool as a one-time operation with uuids is not the end of the world if consistent naming is not important enough to you and you don't trust device initialization/enumeration.

BlankSystemDaemon
Mar 13, 2009



Thermopyle posted:

Are the spider oak clients open source? I don't think CrashPlan clients are, so you're just placing your faith in them that they've implemented encryption like they say they have.

Note that I'm not saying this is something worth worrying about, only that it is a plausible and not insane thing to worry about.
That's the only real problem - they're not open-source. However, part of what makes me trust SpiderOak, other than the fact that they've been doing this for 10 years without anyone calling them not secure, is that they don't have a method by which you can recover your password. That means they're probably not lying about the fact that you're the only one that has the key. But if you're paranoid and smart enough to understand and verify the code and encryption, tarsnap is entirely open-source and Colin Percival, who's behind it and also commits to FreeBSD, encourages you to download the source and compile it yourself.

evol262 posted:

Yes, uuids are meant for machines. Creating a zpool as a one-time operation with uuids is not the end of the world if consistent naming is not important enough to you and you don't trust device initialization/enumeration.
You're right, but I was making a case for using device identification which has added benefits of making it harder to pull the wrong disk.

BlankSystemDaemon fucked around with this message at 08:47 on Apr 21, 2017

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams

FISHMANPET posted:

OK, another problem with my ZFS pool. I have 2 RaidZ vdevs, one was wall 3TB drives, the other was a mix of 1.5TB and 3TB drives so effectively all 1.5TB drives. I've replaced all the 1.5TB drives with 3TB drives. Even though the drives have been fully resilvered zpool status still says the drives are replacing, and every time I reboot it tries to resilver them all again. I also can't get the pool to actually expand.
code:
        NAME                                          STATE     READ WRITE CKSUM
        storage                                       DEGRADED     0     0     0
          raidz1-0                                    DEGRADED     0     0     0
            replacing-0                               ONLINE       0     0     0
              sdg                                     ONLINE       0     0     0
              sde                                     ONLINE       0     0     0  (resilvering)
            sdf                                       ONLINE       0     0     0
            sdh                                       ONLINE       0     0     0
            replacing-3                               DEGRADED     0     0     0
              1076174836740052362                     UNAVAIL      0     0     0  was /dev/disk/by-id/ata-SAMSUNG_HD155UI_S2HEJX0C600064-part1
              sdk                                     ONLINE       0     0     0  (resilvering)
            sdi                                       ONLINE       0     0     0  (resilvering)
          raidz1-1                                    ONLINE       0     0     0
            sdm                                       ONLINE       0     0     0
            sdj                                       ONLINE       0     0     0
            ata-WDC_WD30EFRX-68AX9N0_WD-WMC1T0907552  ONLINE       0     0     0  (resilvering)
            sdl                                       ONLINE       0     0     0
            ata-WDC_WD30EFRX-68AX9N0_WD-WCC1T0390528  ONLINE       0     0     0
The UNAVAIL device was physically removed after I replaced it with sdk, sdg is the last 1.5TB device in the system which has already been replaced with sde, but ZFS is resilvering it AGAIN. I've tried to zpool offline and zpool detach both of these devices but it says it can't because no replicas exist (not true!). How do I get the "replacing" drives finally removed from the pool so it can expand.

My resilver finished, but the two replacing faux devices remained. I tried to offline or detach the unneeded disks and it says no replicas available. I exported and imported the pool, and that worked, but it's resilvering AGAIN. The pool still hasn't expanded.

code:
        NAME                                          STATE     READ WRITE CKSUM
        storage                                       DEGRADED     0     0     4
          raidz1-0                                    DEGRADED     0     0     8
            replacing-0                               ONLINE       0     0     0
              sdg                                     ONLINE       0     0     0
              sde                                     ONLINE       0     0     0
            sdf                                       ONLINE       0     0     0
            sdh                                       ONLINE       0     0     0
            replacing-3                               DEGRADED     0     0     0
              1076174836740052362                     UNAVAIL      0     0     0  was /dev/disk/by-id/ata-SAMSUNG_HD155UI_S2HEJX0C600064-part1
              sdk                                     ONLINE       0     0     0
            sdi                                       ONLINE       0     0     0
          raidz1-1                                    ONLINE       0     0     0
            sdm                                       ONLINE       0     0     0
            sdj                                       ONLINE       0     0     0
            ata-WDC_WD30EFRX-68AX9N0_WD-WMC1T0907552  ONLINE       0     0     0
            sdl                                       ONLINE       0     0     0
            ata-WDC_WD30EFRX-68AX9N0_WD-WCC1T0390528  ONLINE       0     0     0

errors: 3 data errors, use '-v' for a list
Is it upset because of those 3 damaged files? I have no idea what I'm supposed to be doing here, everything says when you run a replacement the device being replaced just goes away from the pool when the resilver is done.

Also, sdg is the 1.5TB disk I'm replacing, sde is the 3TB I'm replacing it with. Despite that disk being resilvered 2 or 3 times, when I check zpool iostat storage -v the pool is reading from all disks and writing as fast as it can to sde. It's like it's completely unaware that it's resilvered that device already.

FISHMANPET fucked around with this message at 14:49 on Apr 21, 2017

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
OK, it turns out ZFS doesn't like when there are damaged files. I removed the damaged files, and I watched the resilver finish and the replacing devices disappear, and the pool expanded itself.

So the moral of the story, if you've got damaged files, deal with those first.

8-bit Miniboss
May 24, 2005

CORPO COPS CAME FOR MY :filez:
How were they damaged? Seems like it defeats the point of ZFS.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
I had a dead drive in my Raidz array for 2 years so no redundancy during that time. I think it totaled up to 12 damaged files, but I'd already replaced/removed 9 of them, leaving just 3 left.

8-bit Miniboss
May 24, 2005

CORPO COPS CAME FOR MY :filez:

FISHMANPET posted:

I had a dead drive in my Raidz array for 2 years so no redundancy during that time. I think it totaled up to 12 damaged files, but I'd already replaced/removed 9 of them, leaving just 3 left.

2 years?! :stare:

Well, glad you got it sorted now.

IOwnCalculus
Apr 2, 2003





8-bit Miniboss posted:

How were they damaged? Seems like it defeats the point of ZFS.

Hardly. A huge part of ZFS is that it can tell you exactly what files are corrupted. A failed drive during a resilver, even if you only had single-parity raidz1, does not instantly kill the whole array.

8-bit Miniboss
May 24, 2005

CORPO COPS CAME FOR MY :filez:

IOwnCalculus posted:

Hardly. A huge part of ZFS is that it can tell you exactly what files are corrupted. A failed drive during a resilver, even if you only had single-parity raidz1, does not instantly kill the whole array.

Well I was more along the path of those files should have been repaired through scrub but if they came from an array with no redundancy at the time, welp.

BlankSystemDaemon
Mar 13, 2009



I think it's a testament to how well ZFS is designed that, in two years, it didn't lose every single file in that array.

evol262
Nov 30, 2010
#!/usr/bin/perl

D. Ebdrup posted:

I think it's a testament to how well ZFS is designed that, in two years, it didn't lose every single file in that array.

A single spinning rust disk running fat32 wouldn't lose many files either. "This filesystem has no redundancy but it didn't totally poo poo itself" isn't a great yardstick. The difference is that zfs knows which files were bad.

BlankSystemDaemon
Mar 13, 2009



evol262 posted:

A single spinning rust disk running fat32 wouldn't lose many files either. "This filesystem has no redundancy but it didn't totally poo poo itself" isn't a great yardstick. The difference is that zfs knows which files were bad.
But ZFS isn't comparable to a single spinning disk, it's comparable to hardware RAID HBAs which can often end up completely destroying an array if it loses the parity disks(s).

evol262
Nov 30, 2010
#!/usr/bin/perl

D. Ebdrup posted:

But ZFS isn't comparable to a single spinning disk, it's comparable to hardware RAID HBAs which can often end up completely destroying an array if it loses the parity disks(s).

It is comparable to mdraid/btrfs redundancy, though, which won't completely destroy an array.

I like ZFS. I use ZFS. But "I lost a parity disk, didn't lose a 2nd and fail the array/have to rebuild and suffer a failure once replaced" isn't miraculous. It's not even surprising from LSI. It's how raid5/raidz is supposed to work. What is impressive is that the bad files were identified instead of silently corrupted.

tangy yet delightful
Sep 13, 2005



I am looking into what large storage/backup options exist for backing up a macbook pro + external HD(s). The backup option, unlike the laptop, can be non-portable and can be hardwired into the home network but would ideally be able to stay synced via wifi (but I can buy an adapter and sync via hard wiring if needed.

I have the ability to build computers and follow instructions so I'm looking to be pointed in the right direction. I don't necessarily need an out of the box solution but would appreciate answers for both home built and OOB solutions.

Thanks!

Moey
Oct 22, 2010

I LIKE TO MOVE IT
How much data? Easiest option is gonna be a 2-4 bay Synology or QNAP

tangy yet delightful
Sep 13, 2005



Moey posted:

How much data? Easiest option is gonna be a 2-4 bay Synology or QNAP

About 3TB right now and honestly probably won't grow much beyond since it's video and image files that only need to be kept for a short while before deletion. Say ~9-10TB to give plenty of room?

edit:
current router is a Linksys E2500, if I also should get a different router to maximize data transfer with whatever NAS I go with please let me know that also

tangy yet delightful fucked around with this message at 19:26 on Apr 22, 2017

MagusDraco
Nov 11, 2011

even speedwagon was trolled
Yeah the E2500 looks to only have 10/100 ethernet ports. A newer router with gigabit ports will help.

Bieeanshee
Aug 21, 2000

Not keen on keening.


Grimey Drawer

D. Ebdrup posted:

Unlike previous editions of Windows 10, even Windows 10 Home now supports doing backup (file history, as it confusingly calls it) to UNC paths (ie network destinations) - so you simply need to share a folder on your NAS with SMB, then mount that folder in Windows, and tell Windows 10 to use that.

I gave this a shot, but didn't like the way Windows would append time and date stamps to filenames it was copying over. I understand why it did, but that got to me and I wasn't thrilled with the lack of visual feedback.

Ended up going with Free File Sync and a script to scan for changes every so often. Seems to be doing what I needed it to.

Still appreciate the suggestion, though!

tangy yet delightful
Sep 13, 2005



Kinda what I thought. I'll hit up the networking thread for that.

Should I get this Synology 2-Bay 16 TB/ 20 TB Network Attached Storage (DS216play) or would something else be recommended?

And then a pair of these HDs? Probably debate between the 4TB and 6TB.

YouTuber
Jul 31, 2004

by FactsAreUseless
Is Samba broken on unRaid 6.3.3? I just attempted to use OpenMediaVault which seemed promising for my use but their version 3 is ((Beta)) but everyone assures is essentially bug free. So I install it and I can't get Samba to fire up no matter what. I downgrade to their version 2 and Samba works fine. But everything else is glitchy and buggy as gently caress. So screw OMV; I decided to switch to Unraid since everyone seems to recommend it and now I'm hitting the SAME loving PROBLEM WITH SAMBA NOT EXPORTING.

Matt Zerella
Oct 7, 2002

Norris'es are back baby. It's good again. Awoouu (fox Howl)
SMB works fine for me on 6.3.3

YouTuber
Jul 31, 2004

by FactsAreUseless
Ok so it works with my Hackintosh perfectly fine but not my Windows 10 box :suicide:

MagusDraco
Nov 11, 2011

even speedwagon was trolled

YouTuber posted:

Ok so it works with my Hackintosh perfectly fine but not my Windows 10 box :suicide:

Windows 10 box is probably angry about passwords or something.

YouTuber
Jul 31, 2004

by FactsAreUseless

havenwaters posted:

Windows 10 box is probably angry about passwords or something.

I went away for 15min and the problem solved itself :dawkins101:

8-bit Miniboss
May 24, 2005

CORPO COPS CAME FOR MY :filez:

YouTuber posted:

Is Samba broken on unRaid 6.3.3? I just attempted to use OpenMediaVault which seemed promising for my use but their version 3 is ((Beta)) but everyone assures is essentially bug free. So I install it and I can't get Samba to fire up no matter what. I downgrade to their version 2 and Samba works fine. But everything else is glitchy and buggy as gently caress. So screw OMV; I decided to switch to Unraid since everyone seems to recommend it and now I'm hitting the SAME loving PROBLEM WITH SAMBA NOT EXPORTING.

Little late since you're going back to unRaid, but I'm on OMV3 and I can use SMB just fine. It needs configuration in 2 places, one is creating the share and the other is applying that share in the SMB/CIFS settings.

IOwnCalculus
Apr 2, 2003





Burning in my new-old X8DT6-F setup. Final configuration is two X5647 CPUs and 48GB RAM. Got it burning in on memtest just to be safe but I will probably swap the whole thing into my existing chassis / drive array tonight.

It has an onboard LSI2008 just like the X8SI6 I'm removing, but I could've sworn it was a bigger pain in the rear end last time to actually reflash it to IT-mode. The whole process was:

*Create FreeDOS USB disk
*Copy sas2flsh.exe, 2118it.bin, and mpt2sas.rom into said USB disk. Just grabbed the P20 versions of all of these from Broadcom.
*sas2flsh.exe -o -e 6
*sas2flsh.exe -o -f 2118.bin -b mpt2sas.rom

Done. No dicking around with reboots or other imtermediary firmwares or even reflashing the SAS address. The controller still identifies itself as SMC2008-IR, but it clearly shows the IT firmware. I probably could've skipped the BIOS ROM but Supermicro boards let me disable the option ROMs on each slot / device whenever I want to.

The only caveat with my build so far is the heatsinks. Supermicro's LGA1366 boards have a backplate already installed that's threaded for M3 screws, and it doesn't seem like it'd be easy to remove for other solutions. Some Googling turned up the Intel E97381 as a popular and reasonably inexpensive tower heatsink that should clear a 4U chassis, and already has M3-threaded fasteners so it can just use the Supermicro base plate.

It installed perfectly on CPU1, but on CPU2 there are a few voltage regulators that are extremely close to the mounting holes. Easy enough to fix with a file - one arm needed a 90 degree notch in it to clear one regulator, while another arm just needed to be rounded down to ensure it didn't touch a lead coming off of another regulator. They also seem reasonably quiet, which is nice. My server lives in the garage so I don't ask for silent, but I don't want "must wear hearing protection" either.

If anyone wants an X8SI6 (non-F, no IPMI) with a X3450 and 8GB ECC, let me know :v:

YouTuber
Jul 31, 2004

by FactsAreUseless

8-bit Miniboss posted:

Little late since you're going back to unRaid, but I'm on OMV3 and I can use SMB just fine. It needs configuration in 2 places, one is creating the share and the other is applying that share in the SMB/CIFS settings.

Yeah I did that, I actually went and watched Youtube videos on how to do it just to make sure I wasn't loving it up. It's was just hosed. That was just one problem with OMV, every time I'd apply configurations to be written it would pop up error messages. I like the concept but both version 3 and 2 had glaring problems I didn't feel like googling and correcting.

IOwnCalculus
Apr 2, 2003





IOwnCalculus posted:

Burning in my new-old X8DT6-F setup. Final configuration is two X5647 CPUs and 48GB RAM. Got it burning in on memtest just to be safe but I will probably swap the whole thing into my existing chassis / drive array tonight.

Trip report:
*Had to get as much as possible out of the way to fit the board, since this fucker is huge
*I wish I had some form of super-short / flexible SFF8087 to SATA cables - the two connectors on the motherboard end up very close to the actual SATA headers they plug into. There's thankfully just enough room to make it work in the Norco case.
*The on-board USB headers are too close to each other to fit both of the USB drives I'm using, so one is sticking out the back of the drat server.
*Booted right off of those USB drives and needed no reconfiguration whatsoever to go right back to operating as the 'same' server it had been

I'm considering a new power supply for it since the Corsair TX650M I have is probably getting up there in age, and I want to go with something fully modular. With the Norco case I actually use none of the SATA connectors from the power supply - it just uses a boatload of 4-pin molex. The board also wants a second EPS connector.

I_Socom
Jul 18, 2007

A great ride that requires finesse and effort to get the best out of it.

I've looked through the last couple of pages but all the chat seems to be about high-end options. So: what's the current best recommendation for a 4-bay home NAS? N54L or a Synology? Something else? This will just sit next to my cable box and be used for general backups / movie storage, I've got a separate HTPC for the front end. And what OS should I be using? Thanks!

necrobobsledder
Mar 21, 2005
Lay down your soul to the gods rock 'n roll
Nap Ghost

evol262 posted:

I like ZFS. I use ZFS. But "I lost a parity disk, didn't lose a 2nd and fail the array/have to rebuild and suffer a failure once replaced" isn't miraculous. It's not even surprising from LSI. It's how raid5/raidz is supposed to work. What is impressive is that the bad files were identified instead of silently corrupted.
At work we have a 5 Petabyte HDFS cluster that is dying and there's a lot of bad blocks it had that we didn't discover until we went to go read files. If we had ZFS, we'd have saved ourselves a whole heck of a lot of effort trying to figure out which files were corrupted.

Sometimes I wonder how my home file server can be far more cost-effective and manageable than something people use to actually make serious money off of. I don't think they even have an excuse for "we did this n years ago" because ZFS was totally viable back then. I built my home ZFS server back in 2010, in fact. The maximum throughput from that massive HDFS cluster is terrible and won't get better because we're bad at upgrading anything here and my home ZFS box on machines from the same era pushes out more throughput somehow. Granted, ZFS is terrible in a full-blown scale-out situation I think it'd be easy enough for us to have worked something out using sharding and partitioning.

I_Socom posted:

I've looked through the last couple of pages but all the chat seems to be about high-end options. So: what's the current best recommendation for a 4-bay home NAS? N54L or a Synology? Something else?
Most people that are serious about their data will say that a 4-bay NAS means you're either looking at 2 disks of redundancy with 2 disks of data or willing to accept a single disk of redundancy / parity and 3 disks of data. I'd go with a Synology box (perhaps look at a 5-disk like the DS1515 or DS1515+), use a single parity disk, and not really care for HTPC purposes because it's likely you can just grab the media again and you can afford some data loss.

necrobobsledder fucked around with this message at 14:41 on Apr 23, 2017

CommieGIR
Aug 22, 2006

The blue glow is a feature, not a bug


Pillbug

necrobobsledder posted:

At work we have a 5 Petabyte HDFS cluster that is dying and there's a lot of bad blocks it had that we didn't discover until we went to go read files. If we had ZFS, we'd have saved ourselves a whole heck of a lot of effort trying to figure out which files were corrupted.

I want to know more, if you can, because most hardware RAID conducts block level checks and will alert you. What happened?

DrDork
Dec 29, 2003
commanding officer of the Army of Dorkness

CommieGIR posted:

I want to know more, if you can, because most hardware RAID conducts block level checks and will alert you. What happened?

"I lost a disk and spent two years with no redundancy" v:shobon:v

codo27
Apr 21, 2008

I was gonna post in working in IT but- I'm looking for a good tough flash drive that's easily attachable to my keys. Preferably with either quick detach or retractable reel. If it doesn't exist all in one, one of you go get on Kickstarter and make that poo poo. Obviously don't want any USB 2.0 poo poo

Twerk from Home
Jan 17, 2009

This avatar brought to you by the 'save our dead gay forums' foundation.
How strong is the suggestion that you shouldn't use ext4 on volumes larger than 16TB? I can't tell if it's just a minor performance thing, or if I should not even consider ext4 on large volumes and look at xfs instead.

Nulldevice
Jun 17, 2006
Toilet Rascal

Twerk from Home posted:

How strong is the suggestion that you shouldn't use ext4 on volumes larger than 16TB? I can't tell if it's just a minor performance thing, or if I should not even consider ext4 on large volumes and look at xfs instead.

https://www.unix-ninja.com/p/Formatting_Ext4_volumes_beyond_the_16TB_limit

It can be done with the latest tools. It looks like it's a 32bit limitation of the tools that come with most distros and using a 64bit version of the tools seems to take care of the issue. Personally I just use XFS rather than loving with it.

CommieGIR
Aug 22, 2006

The blue glow is a feature, not a bug


Pillbug

DrDork posted:

"I lost a disk and spent two years with no redundancy" v:shobon:v

Mine is setup to send an email alert if a disk fails, so I'm not used to not having redundancy.

Adbot
ADBOT LOVES YOU

KingKapalone
Dec 20, 2005
1/16 Native American + 1/2 Hungarian = Totally Badass
One of my 3TB drives died and my friend who helped me set this all up said I can put a 4TB in and just use 3 of it until I potentially have all 4TB drives in there "unlocking" the last TB in each one. Looks like the 4TBs are currently what normally go on sale so I guess it makes sense. Thinking about getting this Seagate: https://www.amazon.com/gp/product/B01LNJBA50/

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