TonyToews
Dabbler
- Joined
- Mar 20, 2012
- Messages
- 33
This post is lengthy but most of it is a copy of the instructions from the manual relevant to my version of FreeNAS. Note to lurkers. Ensure you are using the instructions relevant to your version of FreeNAS as mine hasn't been updated for a while.
It would appear that one of my five hard drives has failed. I received the following in a SMART error email.
Device: /dev/ada4, failed to read SMART Attribute Data
And an hour later
Device: /dev/ada4, unable to open device
As I'm awaiting a replacement hard drive I'm now getting the following daily.
NAS1 kernel log messages:
+++ /tmp/security.fzQL0cEo 2013-06-17 03:01:01.000000000 -0600
+xptioctl: pass driver is not in the kernel
+xptioctl: put "device pass" in your kernel config file
<above two lines repeated many times snipped>
+swap_pager: I/O error - pageout failed; blkno 2097185,size 4096, error 6
+swap_pager: I/O error - pageout failed; blkno 2097186,size 4096, error 6
The manual for 8.0.2 states the following:
10.8.9 How do I replace a bad drive?
A. It is recommended that you first upgrade to latest version of 8.0.2 to make sure that your system is not affected by previously known bugs. You will also need access to the FreeNAS™ system to replace the hard drive and to run some commands from the FreeNAS™ console.
If you are replacing a disk that is a member of a RAIDZ1 or RAIDZ2:
Any additions to the above list?
I'm no longer able to see the web page, service unavailable, so to lookup the serial number I'll have to reboot the NAS. Or is that a bad idea?
It would appear that one of my five hard drives has failed. I received the following in a SMART error email.
Device: /dev/ada4, failed to read SMART Attribute Data
And an hour later
Device: /dev/ada4, unable to open device
As I'm awaiting a replacement hard drive I'm now getting the following daily.
NAS1 kernel log messages:
+++ /tmp/security.fzQL0cEo 2013-06-17 03:01:01.000000000 -0600
+xptioctl: pass driver is not in the kernel
+xptioctl: put "device pass" in your kernel config file
<above two lines repeated many times snipped>
+swap_pager: I/O error - pageout failed; blkno 2097185,size 4096, error 6
+swap_pager: I/O error - pageout failed; blkno 2097186,size 4096, error 6
The manual for 8.0.2 states the following:
10.8.9 How do I replace a bad drive?
A. It is recommended that you first upgrade to latest version of 8.0.2 to make sure that your system is not affected by previously known bugs. You will also need access to the FreeNAS™ system to replace the hard drive and to run some commands from the FreeNAS™ console.
If you are replacing a disk that is a member of a RAIDZ1 or RAIDZ2:
- Determine the device name and serial number of the disk that needs to be replaced as described in FAQ 10.8.8.
- Shut down the system, pull out the failed drive, and replace it with a new disk of the same size or larger into the same port.
- Power-on the system. At this point the RAIDZ will be in a DEGRADED state and the disk will be listed as Unavailable.
- From the command line type zpool replace tank ada7 where tank represents the pool name and ada7 represents the device name.
- The pool will begin re-silvering. This can take a long time (many hours); be patient and let it finish. You can check the status of the resilvering with zpool status -v. Once the resilvering finishes, zpool status -v will still say DEGRADED.
- Type the command zpool detach tank /dev/ada7/old, replacing tank and ada7 with your pool name and device name. Check the status again and the DEGRADED and /dev/ada7/old should be gone and the pool state should be ONLINE.
- Type the command zpool export tank. This will prepare the specified pool for an auto-import of the disk.
- From the GUI go to: Storage -> Volumes -> Auto Import. Your disk should now show in the drop-down menu.
- Should the disk not appear in the drop-down menu, make sure that you are running the latest version of FreeNAS™ upgrade if you are not. If you are running the latest FreeNAS™, try backing up your configuration from System -> Settings -> Config -> Save Config. Then, reset the configuration to the factory defaults using the Factory Restore button, and try the auto-import again. Once your disk is imported, you can return to your saved configuration using the Upload Config button.
Any additions to the above list?
I'm no longer able to see the web page, service unavailable, so to lookup the serial number I'll have to reboot the NAS. Or is that a bad idea?