rebuilding server using same disks, how to ensure volumes are recovered

Status
Not open for further replies.

bra1n

Dabbler
Joined
May 15, 2015
Messages
20
Long story short, my FreeNAS server isn't doing a lot and has been through a few version upgrades. I want to migrate the only existing jail I have (Plex) to iocage and set up Nextcloud. It seems like it'd be simplest for me to rebuild the server with a fresh FreeNAS OS install and just set up Plex again (not a huge deal) and then start on installing Nextcloud for the first time.

zpool status

Code:
@freenas:/mnt/tank % zpool status
  pool: freenas-boot
 state: ONLINE
  scan: scrub repaired 0 in 0 days 00:13:34 with 0 errors on Sun Jul  8 03:58:34 2018
config:

	   NAME		STATE	 READ WRITE CKSUM
	   freenas-boot  ONLINE	   0	 0	 0
		 mirror-0  ONLINE	   0	 0	 0
		   da0p2   ONLINE	   0	 0	 0
		   da1p2   ONLINE	   0	 0	 0

errors: No known data errors

  pool: tank
 state: ONLINE
  scan: scrub repaired 0 in 0 days 00:33:50 with 0 errors on Sun Jul  8 06:33:51 2018
config:

	   NAME											STATE	 READ WRITE CKSUM
	   tank											ONLINE	   0	 0	 0
		 raidz2-0									  ONLINE	   0	 0	 0
		   gptid/b0215cb9-fd8c-11e4-85c4-d0509964a7f6  ONLINE	   0	 0	 0
		   gptid/b0b9c307-fd8c-11e4-85c4-d0509964a7f6  ONLINE	   0	 0	 0
		   gptid/b14f3f13-fd8c-11e4-85c4-d0509964a7f6  ONLINE	   0	 0	 0
		   ada3										ONLINE	   0	 0	 0
		   gptid/b279adfb-fd8c-11e4-85c4-d0509964a7f6  ONLINE	   0	 0	 0
		   gptid/b30bba6f-fd8c-11e4-85c4-d0509964a7f6  ONLINE	   0	 0	 0

errors: No known data errors


Assuming I reinstall FreeNAS without molesting the 6 drives in the tank pool, what is the simplest way to bring that pool back into FreeNAS? I don't have a great deal of experience with RAID and I'm not exactly sure if the system can just figure out where all the data is on the various disks in the RAID or if I have to specify what order the disks go in.

TIA!
 

CraigD

Patron
Joined
Mar 8, 2016
Messages
343
Plug in the data and power cables, restore your config files, FreeNAS will do the rest!
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
Assuming I reinstall FreeNAS without molesting the 6 drives in the tank pool, what is the simplest way to bring that pool back into FreeNAS?
FreeNAS will find your pool without any effort from you, it's amazing that way.
 
Status
Not open for further replies.
Top