This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

One hard drive - ZFS data integrity?

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
JasonZ
NewUser
NewUser
Posts: 3
Joined: 01 Oct 2012 15:05
Status: Offline

One hard drive - ZFS data integrity?

Post by JasonZ »

I'm considering using NAS4Free with only one drive configured as one VDev, ZFS.

Background: ZFS data integrity is the most important feature of ZFS to me. This is just for personal use. The data will not change often, but I'm concerned about silent bit rot over time. If the drive fails, it is okay if it takes a couple days to recover from backup. For backup, I would use a nightly CRON job to RSync to copy sync all files to another drive.

Question: In this scenario, what would happen if NAS4Free detected a data integrity problem during a scrub? Would it fail the VDev (the entire drive), or would it only mark the file as failed? If it fails the entire drive, would the only option be to replace the drive, create a new vdev (essential start from scratch), and then copy back the data from the secondary drive?

I'm trying to figure out if it is feasible to use only one drive. As mentioned, this is not mission-critical data that requires RAIDZ2.

armandh
Advanced User
Advanced User
Posts: 398
Joined: 23 Jun 2012 04:15
Location: St Louis County Missouri USA
Status: Offline

Re: One hard drive - ZFS data integrity?

Post by armandh »

if you just wish an always on, accessible data disk that has the data backed-up elsewhere, then
ZFS is unnecessary. a single UFS formatted drive is likely to be faster and will not need a lot of memory.
4 thread 3300 Mhz Intel i3, 1 TB ZFS mirror, available RAM 7.823 Gb, 64 bit NAS4Free 9.1.0.1 rev 573 [88 watts, 48 Mbps]
2 thread 1600 Mhz atom/ion, 1 TB ZFS mirror, available RAM 3.083 Gb, 64 bit NAS4Free-9.1.0.1 rev 573 [27 watts, 35 Mbps]
2 thread 3900 Mhz AMD A6-6400K, 2 TB ZFS Mirror, available RAM 7.557 Gb, 64 bit Nas4Free 9.3.0.2.1771 [89 watts, 68 Mbps]

JasonZ
NewUser
NewUser
Posts: 3
Joined: 01 Oct 2012 15:05
Status: Offline

Re: One hard drive - ZFS data integrity?

Post by JasonZ »

JasonZ wrote: Background: ZFS data integrity is the most important feature of ZFS to me. The data will not change often, but I'm concerned about silent bit rot over time.
Does a single UFS formatted drive address bit rot over time?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: One hard drive - ZFS data integrity?

Post by raulfg3 »

JasonZ wrote:Does a single UFS formatted drive address bit rot over time?
NO
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

JasonZ
NewUser
NewUser
Posts: 3
Joined: 01 Oct 2012 15:05
Status: Offline

Re: One hard drive - ZFS data integrity?

Post by JasonZ »

So if you have a single ZFS drive, what happens when a scrub detects a data integrity failure?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: One hard drive - ZFS data integrity?

Post by raulfg3 »

happend that you know what file do you lose because you can't recover it ( but you can have other copy (backup) in other machine to restore).

In general is better idea to have a RaidZ1 to have the ability to recover damage file using parity info.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Post Reply

Return to “ZFS (only!)”