Skip to content

u/batrick

In this archive from Oct 2013 to Jul 2023

2
posts
29
comments
0
media
88
score

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.

14 points

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.

3 points

You are just a typing man page. Nice talking with you.

Edit: oh, you're not /u/mthode. Actual reply:

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.

0 points

Oh dear...

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.

1 points

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).

1 points

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.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.