Need help! Replacing disks.

Status
Not open for further replies.

Ismael Duarte

Contributor
Joined
Jun 13, 2011
Messages
154
Hi All!
Need some help here. Here's my 'Story'
I had a pool with 3 Disks name DISCO (no raid (I know, I should)). One of them start to report some errors, so I've decided to do something about.
Bought a new 3TB disk, named the new pool as DISCO2 and made a "rsync -auvh DISCO/ DISCO2/" and at the end I had a complete copy of the pool DISCO on DISCO2.

Couldn't export DISCO ( drive busy ), so I've disconnected all disks from DISCO pool and connected the new DISCO2.
Destroyed DISCO without erasing data, and renamed (tried) DISCO2 do DISCO with
zpool export DISCO2
zpool import DISCO2 DISCO
zpool export DISCO
zpool import DISCO

Everything seems fine on cli, since the output of zpool status -v is as below, but there's no way to see the new pool in the webui.
A little help please

PS: I've the configuration before all this saved.

Code:
[root@duarte] ~# zpool status -v
  pool: DISCO
 state: ONLINE
  scan: none requested
config:

		NAME										  STATE	 READ WRITE CKSUM
		DISCO										 ONLINE	   0	 0	 0
		  gptid/0fa9a113-b660-11e6-935a-002215a1dbe8  ONLINE	   0	 0	 0

errors: No known data errors

  pool: PLUGIN
 state: ONLINE
  scan: scrub repaired 0 in 10h10m with 0 errors on Sun Nov 27 10:10:23 2016
config:

		NAME										  STATE	 READ WRITE CKSUM
		PLUGIN										ONLINE	   0	 0	 0
		  gptid/d734b4eb-2295-11e3-8345-002215a1dbe8  ONLINE	   0	 0	 0

errors: No known data errors

  pool: freenas-boot
 state: ONLINE
  scan: scrub repaired 0 in 0h1m with 0 errors on Tue Nov 29 03:46:20 2016
config:

		NAME											STATE	 READ WRITE CKSUM
		freenas-boot									ONLINE	   0	 0	 0
		  mirror-0									  ONLINE	   0	 0	 0
			gptid/f03921fe-c90e-11e5-b355-002215a1dbe8  ONLINE	   0	 0	 0
			gptid/f09f8454-c90e-11e5-b355-002215a1dbe8  ONLINE	   0	 0	 0

errors: No known data errors
 

Ismael Duarte

Contributor
Joined
Jun 13, 2011
Messages
154
Solved. Don't know very well how!
Loaded old configuration and after some time it was working with the new disk.
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
zpool export DISCO2
zpool import DISCO2 DISCO
zpool export DISCO
zpool import DISCO
You were close. The last step should have been to import using the GUI. Reverting to your old config probably accomplished the same thing.
 
Status
Not open for further replies.
Top