Latest interface: 0.3.1
Latest system: 010
rstein
User

5 posts

Posted on 24 August 2016 @ 20:34
WARNING: Novice request from a non-technical user
Hoping someone will take some time to give me specific zfs commands on how to replace one of the drives showing FAILING_NOW under the Smart MONITOR Status(drive "da1"). Although I have been using ZFSguru since 2011, I have only ever managed to successfully setup zfsguru from the Welcome Wizard, but twice before, one of my drives managed to fail before and I have never been able to successfully figure out how to remove the bad drive and replace it with a new one using the proper commands and retain by data. So I do the next best thing by reformatting all drives as if new(replacing the 1 bad one) and re-installing zfsguru from the beginning again using the Welcome Wizard. (All of my data is backed up beforehand)
Before I start, do I power down the server, then unplug the failing drive, plug back in a new drive, then repower back up before I enter any initial commands?
So starting from the Web-interface, I know that I need to enter "Shell Access" and then a series of zfs commands. Would someone be kind enough to help me (and maybe others) with the proper specific zfs commands to do this?

Here is my setup:

My Pool name is "RSPOOL"
Powered by ZFSguru version 0.3.1
Running official system image 10.3.003 featuring FreeBSD 10.2-STABLE with ZFS v5000.
Running Root-on-ZFS distribution.
Hardware
64-bit quad core Intel(R) Xeon(R) CPU E5506 @ 2.13GHz - Running at 1600 MHz ( scales from 1600 MHz to 2133 MHz )
12 GiB physical memory, 11.6 GiB usable
8 normal harddrives
Gigabit networking
CiPHER
Developer

1199 posts

Posted on 29 August 2016 @ 15:17
Hi rstein,

First of all, sorry your harddrive died. ;(

I would love to see the SMART information however. If you can, post it here or put a screenshot of ZFSguru SMART with the disk selected, it should display additional information.

Alternatively, on the shell console:

smartctl -s on -A /dev/da1

I think you need to execute as root.
CiPHER
Developer

1199 posts

Posted on 29 August 2016 @ 15:24
Separate from the HDD SMART issue, you want to know how to replace a drive.

It depends where you have installed ZFSguru. If you use multiple partitions in a complicated setup, you might need to perform additional tasks before you can just replace the drive.

But for simple disks formatted and then fed to a ZFS pool, using up the whole drive, that is the simpler scenario.

I think it works that on the pools page you replace the drive in question by using the dropdown menu next to the drive in question (da1). Set it to 'Replace drive with...' and then select your already formatted fresh replacement drive. In this scenario, your old drive is still connected. This is preferred, as during the rebuild process you still gain protection from this drive, if it is still functioning of course. But a FAILING NOW note from the SMART could have just been that the drive has reached a too high temperature. That is why i wanted to see your SMART.

Anyway, with the dropdown menu you can replace your drive.

On the (root) command line it would look something like this:

zpool replace <poolname> <olddevice> <newdevice>

like:

zpool replace tank gpt/olddisk gpt/replacementdisk

The 'gpt' labels mean you have formatted them as GPT with ZFSguru and have given the partition the name ('label') as 'olddisk' and 'replacementdisk' in this example. But you can, of course, choose you own names during formatting and then change the command above.

Hope this helps. :)
rstein
User

5 posts

Posted on 30 August 2016 @ 17:05
Hi Cipher,
Thank you for taking the time to help me.
I would like to attach a jpg screenshot of my Smartmonitor screen (and of my other important zfsguru screen display info) as part of this reply, but dragging and dropping on this reply doesn't do this. How best to show you this info?
Ron
CiPHER
Developer

1199 posts

Posted on 31 August 2016 @ 00:22edited 00:24 20s
Try to attach your image like this:

[ img ] http://blabla [ /img ]

Without the spaces. :)

Note: of course, you do need to upload the image first, though you can use several free image hosts(ext).
rstein
User

5 posts

Posted on 31 August 2016 @ 16:08
I have cut and pasted 3 image code address below into this reply, but the images are not visible?
[IMG]http://168.tinypic.com/akde2h.jpg[/IMG]
[IMG]http://i63.tinypic.com/2qnzhfp.jpg[/IMG]
[IMG]http://i65.tinypic.com/j60dc9.jpg[/IMG]
CiPHER
Developer

1199 posts

Posted on 31 August 2016 @ 20:03
Server not found

Firefox can't find the server at 168.tinypic.com.
rstein
User

5 posts

Posted on 1 September 2016 @ 01:00
First one is a typo, it should be:
[IMG]http://i68.tinypic.com/akde2h.jpg[/IMG]

The second and third jpegs are correct.
Last Page

Valid XHTML 1.1