Import half of 2 disk mirror RAID pool

Status
Not open for further replies.

semo

Cadet
Joined
Oct 20, 2013
Messages
9
I used to have a 2 disk mirror set in FreeNas 8.something. I had to take one of the disks out but everything was fine. The last thing I remember is that an update went bad and couldn't get my installation back up and running.

I've now moved house, dusted off the server and tried to give it another go. I've installed 11 but I can't import my zpool. I can't even remember if I did use zfs to begin with. The important point to remember is that one of the 2 mirrored disks is now gone.

zpool import gives me no output.

Code:
[root@freenas ~]# zpool status -v											  
  pool: freenas-boot															
state: ONLINE																
  scan: none requested														
config:																		
																				
		NAME		STATE	 READ WRITE CKSUM								
		freenas-boot  ONLINE	   0	 0	 0								
		  da0p2	 ONLINE	   0	 0	 0								
																				
errors: No known data errors													
[root@freenas ~]#
[root@freenas ~]# egrep 'da[0-9]|cd[0-9]' /var/run/dmesg.boot				   
ada0 at ahcich3 bus 0 scbus3 target 0 lun 0									 
ada0: <WDC WD30EFRX-68EUZN0 80.00A80> ACS-2 ATA SATA 3.x device				 
ada0: Serial Number WD-WMC4N0588728											 
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)					
ada0: Command Queueing enabled												 
ada0: 2861588MB (5860533168 512 byte sectors)								   
ada0: quirks=0x1<4K>															
da0 at umass-sim0 bus 0 scbus7 target 0 lun 0								   
da0: <STT  1.00> Removable Direct Access SPC-3 SCSI device					 
da0: Serial Number 09021000000111250000000061								   
da0: 40.000MB/s transfers													   
da0: 7500MB (15360000 512 byte sectors)										 
da0: quirks=0x2<NO_6_BYTE>													 
[root@freenas ~]#					   
 
Last edited:

rs225

Guru
Joined
Jun 28, 2014
Messages
878
Try a gpart show ada0

It might be a UFS RAID1. You might need to go back to a version that supports that, or use FreeBSD to access the drive.
 

semo

Cadet
Joined
Oct 20, 2013
Messages
9
Thanks for looking into this

Code:
[root@freenas ~]#  gpart show ada0											 
=>		34  5860533101  ada0  GPT  (2.7T)									 
		  34		2014		- free -  (1.0M)								
		2048	 4980480	 1  linux-raid  (2.4G)							 
	 4982528	 4194304	 2  linux-raid  (2.0G)							 
	 9176832	  276448		- free -  (135M)								
	 9453280  5850872960	 5  linux-raid  (2.7T)							 
  5860326240	  206895		- free -  (101M)								
																				
[root@freenas ~]#
No idea if this means UFS or not.
I assume that I'll need to go back to 9.2.1.9 if it is the case? If it is, what are my options? Is there an upgrade path to 11 or should I be looking at other NAS solutions?
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
I'm not familiar with the older versions, but it looks like you will need to use one to access the drive. You could create a new ZFS pool on the older version, copy the data to the new pool, and then upgrade to a newer version that is ZFS-only.
 

semo

Cadet
Joined
Oct 20, 2013
Messages
9
I'm not familiar with the older versions, but it looks like you will need to use one to access the drive. You could create a new ZFS pool on the older version, copy the data to the new pool, and then upgrade to a newer version that is ZFS-only.
I'll give that a go tomorrow. My entire drive space is taken up by the UFS volume. Does that mean I need to get my hands on another HDD to create the ZFS pool?

Edit: The drive is 3TB but my data is about 1TB
 

semo

Cadet
Joined
Oct 20, 2013
Messages
9
Ok I've just tried to install FreeNAS 9.2.9 but the USB drive I've created is not bootable. I'm using the same USB device and method to write the image as FreeNAS 11 which worked fine.
 
Last edited by a moderator:

semo

Cadet
Joined
Oct 20, 2013
Messages
9
I've just tried using UFS Explorer RAID Recovery in Windows and it can see my data. It identifies the fs as Ext/2/3/4.
gparted-live-0.30.0-1 identifies the fs as ZFS.

So assuming that the data is still in the disk, how can I get to it via a NAS? For whatever reason, FreeNAS is not recognizing that there is readable data on the disk so I don't mind using something else.
 

semo

Cadet
Joined
Oct 20, 2013
Messages
9
Still struggling with this problem. How can I determine if my old RAID1 disk fs is ZFS or Ext? I'm hoping that will then help me to determine how to recover the data from it (or just straight up mount it in another OS)

Thanks
 
Status
Not open for further replies.
Top