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
22
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
- 8,861
- 27
- 75
- 120
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
- 889
- 5
- 14
- 25
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
- 153
- 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
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
- 286
- 3
- 6
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,530
- 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
- 8,861
- 27
- 75
- 120
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
- 749
- 2
- 7
- 19
5
votes
3 answers
ZFS: RAIDZ versus stripe with ditto blocks
I'm going to build a ZFS file server from FreeBSD. I learned recently that I can't expand a RAIDZ udev once it's part of the pool. That's a problem since I'm a home user and will probably add one disk a year tops.
But what if I set copies=3 against…
RandomInsano
- 431
- 1
- 5
- 16
5
votes
0 answers
ZFS restarts resilvering over and over again. Also very slow
Here's one of my Solaris 10 servers after a couple of disk replacements in a zpool
pool: volume
state: ONLINE
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded…
Pavel
- 968
- 1
- 8
- 29