Questions tagged [raidz]

67 questions
23
votes
3 answers

ZFS - Is RAIDZ-1 really that bad?

I have an NAS server with 4x 2TB WD RE4-GP drives in a RAID10 configuration (4TB usable). I'm running out of space (<1TB usable space left). I have $0 to spend on bigger/more drives/enclosures. I like what I've read about the data-integrity features…
Andrew Ensley
  • 912
  • 2
  • 16
  • 30
23
votes
2 answers

How can I add one disk to an existing raidz zpool?

I have an OpenSolaris server with a zpool backupz comprised of four SCSI drives: -bash-3.2# zpool status backupz pool: backupz state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM backupz ONLINE…
Josh
  • 9,001
  • 27
  • 78
  • 124
18
votes
1 answer

Is RAID-Z on a single hard disk drive stupid?

Obviously, if the entire drive dies, then RAID-Z on a single disk will not help. But what about other types of errors? From my experience, I sometimes have a file that I can not read. On Mac OS X, the system will hang for a period of time and then…
pedz
  • 291
  • 2
  • 7
12
votes
2 answers

Need to replace disk in zpool ... confused

I need to replace a bad disk in a zpool on FreeNAS. zpool status shows pool: raid-5x3 state: ONLINE scrub: scrub completed after 15h52m with 0 errors on Sun Mar 30 13:52:46 2014 config: NAME STATE …
Dan
  • 939
  • 5
  • 14
  • 25
8
votes
4 answers

write hole: which RAID levels are affected?

In my journey to understanding the advantages of RAIDZ, i came across the concept of write hole. As this page explains, a write hole is the inconsistency you get among the disks of the array, when the power is lost during a write. That page also…
Mario Vitale
  • 306
  • 3
  • 6
8
votes
1 answer

Where is the overhead for ZFS RAIDZ2 on 4K sector disks going?

I started by creating 16 empty files of exactly 1 billion bytes: for i in {1..16}; do dd if=/dev/zero of=/mnt/temp/block$i bs=1000000 count=1000 &> /dev/null; done Then I created larger and larger RAIDZ2 volumes over the files, forcing ashift=12 to…
steveh7
  • 163
  • 1
  • 2
  • 6
8
votes
3 answers

ZFS: preparing for future drive additions

I'm about the build a Solaris NAS system, currently we have two drives and are planning on adding two more at a later date (2TB enterprise level HDD are a bit expensive!). Whats the best configuration for setting up these drives bearing in mind I…
Snowpoch
  • 83
  • 4
7
votes
3 answers

How ZFS handles online replacement in a RAID-Z (theoretical)

This is a somewhat theoretical question about ZFS and RAID-Z. I'll use a three disk single-parity array as an example for clarity, but the problem can be extended to any number of disks and any parity. Suppose we have disks A, B, and C in the pool,…
Kevin
  • 1,540
  • 4
  • 22
  • 34
7
votes
3 answers

How do I recover from a faulted zpool where one device is OK, but was temporarily offline?

I have a zpool with 4 2TB USB disks in a raidz config: [root@chef /mnt/Chef]# zpool status farcryz1 pool: farcryz1 state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM farcryz1 ONLINE 0 0 …
Josh
  • 9,001
  • 27
  • 78
  • 124
7
votes
5 answers

RAID-Z Failure Notification

I have a FreeBSD file server with a 10TB array in RAID-Z (so 8TB usable with 2TB redundancy). I am trying to figure out how to get the system to notify me, preferably by email, if one of the drives fail. This is because the machine runs without a…
Aatch
  • 173
  • 4
6
votes
2 answers

ZFS Recover from Faulted Pool State

I have a six disk ZFS raidz1 pool and had a recent failure requiring a disk replacement. No problem normally, but this time my server hardware died before I could do the replacement (but after and unrelated to the drive failure as far as I can…
Nick
  • 163
  • 1
  • 5
6
votes
2 answers

Expanding a FreeNAS RAIDZ Pool

I am building a ZFS data server using FreeNAS. I have enough hard disk space (4x2TB) for a few years, but if down the road I want to expand this out can i build another 4xHD pool? Would i need separate datasets for this second volume or can i just…
Dave
  • 183
  • 1
  • 2
  • 5
6
votes
2 answers

grow/shrink a zfs RAIDZ

I'm going to build a freenas server, would like to make sure what I can do with such magical and advanced zfs. If I have 5 * 3TB disks in RAIDZ (12TB storage in total), now I am trying to add another 2 * 3TB disks to this existing array. Q: Am I…
c2h2
  • 759
  • 2
  • 8
  • 20
6
votes
3 answers

ZFS, raidz1: Why is the volume size (42T) so much smaller than the pool size (50T)?

I have a pool of 28 2TB-disks (56T) in 4 arrays of 7 disks. Since it's raidz1 (~RAID5), I'd expect 1 disk to be used for parity in each array, so the resulting volume should be 2TB*4*(7-1)=48TB, right? Now, what I see on my system: $ zpool list…
Pavel
  • 988
  • 1
  • 8
  • 29
5
votes
4 answers

ZFS - enable or disable disk cache?

I'm setting up ZFS (through FreeNAS) with RAIDZ1 on a server with 4 x WD Red SATA HDDs (connected through a PERC H330 in HBA mode). The server is hooked to a UPS. For ZFS and in this setup, does it make sense to enable HD cache of each disk, or is…
matthias_buehlmann
  • 448
  • 1
  • 4
  • 17
1
2 3 4 5