victorhooi
Contributor
- Joined
- Mar 16, 2012
- Messages
- 184
Hi,
I have FreeNAS 9.3 Beta (will be upgraded to 9.3 Release) installed on a HP MicroServer Gen8.
The HP MicroServer has 4 SATA drive bays, and I have 3TB drives in each. I am running in RaidZ-1.
Recently, one of the drives failed - a Seagate, believe it or not. Somebody else in my apartment noticed a beeping noise, and it turns out it was the server. I'm assuming possibly the RAID controller in the server noticed the disappearance of the drive, and this was it alerting on it.
I also noticed that the web interface for FreeNAS was inaccessible - however, I was still able to access files via AFP. However, when I looked at the console output on the machine, I saw messages like:
Anyhow, I took out the drive, plugged it into a SATA-to-USB 3.0 adapter, the drive makes a few clicking noises on power-up, but otherwise doesn't seem to be detected. So it seems to have just basically got kaput, instantly...lol. Zpool status marks the volume as "DEGRADED", and says one or more devices could not be opened.
I've bought a new Hitachi Deskstar 4TB drive, and put it in place of the lost Seagate disk. I've currently doing a re-silvering process, which is proceeding along nicely.
My understanding is that FreeNAS by default creates a small swap partition at the beginning of each disk. In the WebGUI, if I go to System, Advanced, the setting "Swap size on each drive in GiB, affects new disks only. Setting this to 0 disables swap creation completely (STRONGLY DISCOURAGED)." is set to 2Gb, which I assume is the default.
My first question is, do I need to do anything special about the swap volume? Is this swap partition a separate one for each of the four drives? Or is it somehow striped across them?
Secondly, is there some kind of alerting I can setup in FreeNAS, to let me know if a volume is degraded, a SMART tell fails, or if a scrub detects any errors? I know I can configure SMTP settings under System, Email, but I can't seem to find anything to configure alerting emails.
Thirdly, I have replaced one of the 3TB drives with a 4TB drive. I assume this will not change the total capacity of my RaidZ pool yet. However, if over time I slowly replace each drive, my understanding is that after the last drive is replaced, I can then grow the capacity of my pool by using "zpool online -e" (as per http://www.itsacon.net/computers/unix/growing-a-zfs-pool-update/). Is this a correct assumption?
Finally, I have read elsewhere (e.g. http://www.reddit.com/r/freenas/comments/1ubebu/stop_using_raidz_seriously_just_stop_it/) that using RaidZ-1 is a bad idea. Apparently a former forum member, protobsd also wrote a guide on it, but I can't seem to find a valid link to that guide. With a 4-bay system, what is the current thinking around running RaidZ-1? Am I asking for trouble, or will I be OK with frequent scrubs (I believe it's set to 35 days by default, and as per above, I'm hoping to setup alert emails), and replacing drives if they go bad?
Regards,
Victor
I have FreeNAS 9.3 Beta (will be upgraded to 9.3 Release) installed on a HP MicroServer Gen8.
The HP MicroServer has 4 SATA drive bays, and I have 3TB drives in each. I am running in RaidZ-1.
Recently, one of the drives failed - a Seagate, believe it or not. Somebody else in my apartment noticed a beeping noise, and it turns out it was the server. I'm assuming possibly the RAID controller in the server noticed the disappearance of the drive, and this was it alerting on it.
I also noticed that the web interface for FreeNAS was inaccessible - however, I was still able to access files via AFP. However, when I looked at the console output on the machine, I saw messages like:
Jan 1 00:00:00 freenas swap_pager: I/O error - pagein failed; blkno 532031,size 8192, error 6
Jan 1 00:00:00 freenas vm_fault: pager read error, pid 1 (init)
Jan 1 00:00:00 freenas vm_fault: pager read error, pid 1 (init)
Anyhow, I took out the drive, plugged it into a SATA-to-USB 3.0 adapter, the drive makes a few clicking noises on power-up, but otherwise doesn't seem to be detected. So it seems to have just basically got kaput, instantly...lol. Zpool status marks the volume as "DEGRADED", and says one or more devices could not be opened.
I've bought a new Hitachi Deskstar 4TB drive, and put it in place of the lost Seagate disk. I've currently doing a re-silvering process, which is proceeding along nicely.
My understanding is that FreeNAS by default creates a small swap partition at the beginning of each disk. In the WebGUI, if I go to System, Advanced, the setting "Swap size on each drive in GiB, affects new disks only. Setting this to 0 disables swap creation completely (STRONGLY DISCOURAGED)." is set to 2Gb, which I assume is the default.
My first question is, do I need to do anything special about the swap volume? Is this swap partition a separate one for each of the four drives? Or is it somehow striped across them?
Secondly, is there some kind of alerting I can setup in FreeNAS, to let me know if a volume is degraded, a SMART tell fails, or if a scrub detects any errors? I know I can configure SMTP settings under System, Email, but I can't seem to find anything to configure alerting emails.
Thirdly, I have replaced one of the 3TB drives with a 4TB drive. I assume this will not change the total capacity of my RaidZ pool yet. However, if over time I slowly replace each drive, my understanding is that after the last drive is replaced, I can then grow the capacity of my pool by using "zpool online -e" (as per http://www.itsacon.net/computers/unix/growing-a-zfs-pool-update/). Is this a correct assumption?
Finally, I have read elsewhere (e.g. http://www.reddit.com/r/freenas/comments/1ubebu/stop_using_raidz_seriously_just_stop_it/) that using RaidZ-1 is a bad idea. Apparently a former forum member, protobsd also wrote a guide on it, but I can't seem to find a valid link to that guide. With a 4-bay system, what is the current thinking around running RaidZ-1? Am I asking for trouble, or will I be OK with frequent scrubs (I believe it's set to 35 days by default, and as per above, I'm hoping to setup alert emails), and replacing drives if they go bad?
Regards,
Victor