Contrary to the downvotes, reading from /dev/zero can slow down your sequential writes by an observable amount. This is especially noticeable if you're writing to multiple disks simultaneously or reading from /dev/urandom which is significantly slower than a userspace PRNG.
This bug was publicized in many nontechnical blags, making many people think Samsung makes bad SSDs. I think this should be a lesson for our community to be cautious assigning blame. These companies take bad PR very seriously and may stop contributing to OSS if their bottom line is at stake.
I am wondering if simply using the Adaptec cards in "JBOD" will be okay or not - I suspect it's really a single drive RAID 0 and won't pass any read errors etc along to ZFS as a proper HBA would do (instead dropping the disk), but we've invested in these cards + on hand spares for them so it would be nice to not have them become useless / wasted expense. I'm having a hard time finding hard evidence as to whether their JBOD mode is really a pass through or single drive RAID0.
I assume when you say you're having a hard time determining which, that the "JBOD" mode is showing a single disk, that's bad. If it is doing JBOD span or RAID0, ZFS will not function very well at all. It won't be able to create proper failure resistant vdevs.
Sorry I don't know the answer to your other questions.
You should always use ecc ram on zfs systems, to ensure cosmic rays don't cause bit flips while data is waiting to be flushed to disk from main memory.
All operating systems keep dirty blocks in memory for a time and batch writes to disk. ECC RAM is useful for all server configurations, not just those with ZFS.
Also, bit rot in data committed to hard drives is only detected when the data is accessed. Thus, periodic scrubbing operations are necessary to assure that all data is accessed before enough bit rot occurs to render the data unrecoverable.
I'm not disputing the necessity of scrubbing. This thread began with files listed as corrupt by ZFS. Meaning that ZFS has tried to use the redundancy (if any) of the pool to recover the blocks, and was unable to do so. A file will not be listed as corrupt if ZFS was able to reconstruct the blocks.
the cause of the corruption is generally either related to disk failure (which zfs can repair via scrub)
Full stop. ZFS recovers from corrupt blocks as soon as it fucking happens. Unless the failure is unrecoverable, at no point is the client, a program, given incorrect data blocks.
or cosmic ray interferience flipping bits in ram and the like, which zfs can't fix, but only occurs with active data and ecc helps mitigate (and you should be using ecc with zfs).
ECC and ZFS are not at all related and there is no reason to bring it up.
And enable and start the wpa_supplicant in systemd. The edit the config file /etc/wpa_supplicant/comfig or whatever it is called. Add each network you want manually. It ends up being much easier in my opinion. My connections to known WiFi networks became much faster too.
My opinion is exactly the same. The only failing for the second gen is the lowish res display. Just because of that I'm thinking about a new laptop in a year :(
I enjoyed this book when first learning UNIX at the terminal:
https://www.amazon.com/Your-UNIX-Linux-Ultimate-Guide/dp/0073376205
In particular it teaches you many CLI utilities you should become familiar with.
shred is also designed to work on block devices:
Contrary to the downvotes, reading from /dev/zero can slow down your sequential writes by an observable amount. This is especially noticeable if you're writing to multiple disks simultaneously or reading from /dev/urandom which is significantly slower than a userspace PRNG.
Reading from /dev/zero slows things down too. Try using shred instead.
Well, I don't see what's wrong with it. I would try asking on one of the open zfs mailing lists.
What's the output of
zfs list?That looks right.
You should look at
zfs listto see usable space.zpool listdoes not account for space lost for redundancy.So your benchmark is cache agnostic tests (sequential reads)? ......
I vehemently denounce the "lots of RAM for ZFS" rabble but this isn't proof of anything friend.
https://wiki.debian.org/ramfs
It is not used anymore. tmpfs is strictly better.
This bug was publicized in many nontechnical blags, making many people think Samsung makes bad SSDs. I think this should be a lesson for our community to be cautious assigning blame. These companies take bad PR very seriously and may stop contributing to OSS if their bottom line is at stake.
They were kinda forced to in order to save their reputation.
God you ECC twats never fucking stop. Do you think that ECC memory is failure immune? No? Then shut the fuck up.
I assume when you say you're having a hard time determining which, that the "JBOD" mode is showing a single disk, that's bad. If it is doing JBOD span or RAID0, ZFS will not function very well at all. It won't be able to create proper failure resistant vdevs.
Sorry I don't know the answer to your other questions.
You are just a typing man page. Nice talking with you.
Edit: oh, you're not /u/mthode. Actual reply:
All operating systems keep dirty blocks in memory for a time and batch writes to disk. ECC RAM is useful for all server configurations, not just those with ZFS.
I'm not disputing the necessity of scrubbing. This thread began with files listed as corrupt by ZFS. Meaning that ZFS has tried to use the redundancy (if any) of the pool to recover the blocks, and was unable to do so. A file will not be listed as corrupt if ZFS was able to reconstruct the blocks.
Oh dear...
Full stop. ZFS recovers from corrupt blocks as soon as it fucking happens. Unless the failure is unrecoverable, at no point is the client, a program, given incorrect data blocks.
ECC and ZFS are not at all related and there is no reason to bring it up.
If a file is listed as corrupt, scrubbing won't repair it as zfs has already tried and failed to do so for the blocks the file uses.
I don't have any disconnect problems
Avoid the stupid wrapper programs around wpa_supplicant. Look at:
https://wiki.archlinux.org/index.php/WPA_supplicant
And enable and start the wpa_supplicant in systemd. The edit the config file /etc/wpa_supplicant/comfig or whatever it is called. Add each network you want manually. It ends up being much easier in my opinion. My connections to known WiFi networks became much faster too.
He quoted 16 disks. 3x 5 disk raidz-2 makes the most sense.
As for you HD configuration, I would use 3x 5 disk raidz-2 with one hot spare.
Hardware RAID is shit. Use ZFS via FreeBSD or FreeNAS.
Why on earth do you need 10Gb networking?
My opinion is exactly the same. The only failing for the second gen is the lowish res display. Just because of that I'm thinking about a new laptop in a year :(
FYI iptables is becoming deprecated. Check out
http://en.m.wikipedia.org/wiki/Nftables
Well that's disappointing. I was also hoping to find some sort of infrastructure being built up (e.g. some sort of android app). Alas, nope.
Maybe in 5 or 10 years after systemd has become commonplace (for good or ill).
Also, your /etc/hostname needs to be a FQDN with the same domain as your NFS server, IIRC.
You're using NFSv4 right?
I did this somewhat recently myself. I have FreeNAS (FreeBSD) host NFSv4 on ZFS. Getting it all working is sadly complicated.
I'd take a look at idmap.conf and core/nfsidmap. Enable the systemd service rpc-idmapd.service.
Can't remember much else and my bash history doesn't seem to indicate anything else.