Question after successfully replacing a drive

Status
Not open for further replies.

borghives

Cadet
Joined
Jan 8, 2015
Messages
2
I have replaced a drive in my zpool and the status indicate all is healthy.
However the layout now look like this:

Code:
  pool: vooolume
 state: ONLINE
  scan: resilvered 198G in 2h11m with 0 errors on Thu Jan  8 19:01:13 2015
config:

NAME                                            STATE     READ WRITE CKSUM
    vooolume                                        ONLINE       0     0     0
      raidz1-0                                      ONLINE       0     0     0
        gptid/10b23041-8a78-11e4-a36b-4439c45555ac  ONLINE       0     0     0
        gptid/114d3efc-8a78-11e4-a36b-4439c45555ac  ONLINE       0     0     0
        ada2                                        ONLINE       0     0     0
        gptid/137fc099-8a78-11e4-a36b-4439c45555ac  ONLINE       0     0     0


As you can see, the new drive is /dev/ada2. This made me investigate the other 3 drives and realized each has two partitions and the pool sits on the second partition.

Questions:
Why is there two partitions in the default FreeNAS setup drives?
Should I redo my new drive to look like the other drives (with two partition and all)?
I want to leave it as is but afraid I might be setting myself up for disaster down the line.
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
what are the steps you took to replace your drive? Have you followed exactly what the manual says?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Somebody didn't replace the hard drive per the manual. ;)
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I see a full backup and pool rebuild in your future.
 

borghives

Cadet
Joined
Jan 8, 2015
Messages
2
No I didn't use the GUI as per the document because of the error I was getting. I could not recall the exact error I got just something about it being belonging to another pool and I have to do add '-f'. So I just use the following command line.

Code:
dd if=/dev/zero of=/dev/ada2 #clear the drive
zpool offline vooolume xxxxxx
(replace drive)
zpool replace vooolume xxxxxx /dev/ada2


I see a full backup and pool rebuild in your future.

SweetAndLow, can you expand on that? That is what I worry about.
For now, I will use the GUI to take that drive offline and go through the replace as per document (with the same drive).
 
Last edited:
Status
Not open for further replies.
Top