SOLVED Cannot import volume on fresh 9.10.1-U2

Status
Not open for further replies.

Ben13

Cadet
Joined
Jan 27, 2015
Messages
7
Hi all,
after some failed updates I started clean and wiped my USB stick and installed 9.10. I haven't imported configs.
I have 2 pools, one ssd pool and a raid z1 pool called Volume. I imported my ssd pool from the gui without problems. But when I try to import my pool Volume I get "the volume "Volume" failed to import, for further details check pool status". In the shell I can see that the pool is mounted and I ran a scrub on the pool in the hope that it fixes something. Than I used zpool export and tryed again on the gui, same result.
When I try to import the pool from shell I get this:
Code:
[root@freenas] ~# zpool import Volume
cannot mount '/Volume/replication/pluginjails/.warden-template-pluginjail--x64-20150811000828': failed to create mountpoint
cannot mount '/Volume/replication/pluginjails/.warden-template-pluginjail--x64-20151011162336': failed to create mountpoint


Any ideas how I can solve this problem? I don't need the datasheet replication, so if it helps it can be deleted.



Here is the output of zpool status
Code:
  pool: Volume
 state: ONLINE
  scan: scrub repaired 32K in 8h7m with 0 errors on Sat Oct  8 23:12:45 2016
config:

		NAME											STATE	 READ WRITE CKSUM
		Volume										  ONLINE	   0	 0	 0
		  raidz1-0									  ONLINE	   0	 0	 0
			gptid/1428791d-79b3-11e4-9150-0cc47a312374  ONLINE	   0	 0	 0
			gptid/1496d547-79b3-11e4-9150-0cc47a312374  ONLINE	   0	 0	 0
			gptid/1502b407-79b3-11e4-9150-0cc47a312374  ONLINE	   0	 0	 0
			gptid/156076b9-79b3-11e4-9150-0cc47a312374  ONLINE	   0	 0	 0
			gptid/15b87d67-79b3-11e4-9150-0cc47a312374  ONLINE	   0	 0	 0

errors: No known data errors
....

[root@freenas] ~# gpart status
  Name  Status  Components
 da0p1	  OK  da0
 da0p2	  OK  da0
ada0p1	  OK  ada0
ada0p2	  OK  ada0
ada1p1	  OK  ada1
ada1p2	  OK  ada1
ada2p1	  OK  ada2
ada2p2	  OK  ada2
ada3p1	  OK  ada3
ada3p2	  OK  ada3
ada4p1	  OK  ada4
ada4p2	  OK  ada4
ada5p1	  OK  ada5
ada5p2	  OK  ada5




My System:
Code:
Build FreeNAS-9.10.1-U2 (f045a8b)
Platform Intel(R) Atom(TM) CPU C2558 @ 2.40GHz
Memory 16340MB
 

Sakuru

Guru
Joined
Nov 20, 2015
Messages
527
What is the output of zfs list?
 

Ben13

Cadet
Joined
Jan 27, 2015
Messages
7
seems correct to me

Code:
[root@freenas] ~# zfs list
NAME																			 USED  AVAIL  REFER  MOUNTPOINT
Volume																		  5.68T  1.33T   192K  /mnt/Volume
Volume/Home_Benni																629G  1.33T   624G  /mnt/Volume/Home_Benni
Volume/Home_Jessi															   26.6G  1.33T  26.6G  /mnt/Volume/Home_Jessi
Volume/Multimedia															   4.25T  1.33T  4.25T  /mnt/Volume/Multimedia
Volume/Public																   56.7G  1.33T  56.7G  /mnt/Volume/Public
Volume/ShareData																 331G  1.33T   331G  /mnt/Volume/ShareData
Volume/Share_Bilder															  102G  1.33T   102G  /mnt/Volume/Share_Bilder
Volume/blynk_data															   38.9M  1.33T  38.9M  /mnt/Volume/blynk_data
Volume/cwds																	  153K  1.33T   153K  /mnt/Volume/cwds
Volume/plantDB																   155M  1.33T   155M  /mnt/Volume/plantDB
Volume/replication															  70.4G  1.33T   198K  /mnt/Volume/replication
Volume/replication/.warden-template-pluginjail								   666M  1.33T   666M  /mnt/Volume/replication/.warden-template-pluginjail
Volume/replication/pluginjails												  69.8G  1.33T   307K  /mnt/Volume/replication/pluginjails
Volume/replication/pluginjails/.warden-template-VirtualBox-4.3.12				602M  1.33T   602M  /mnt/Volume/replication/pluginjails/.warden-template-VirtualBox-4.3.12
Volume/replication/pluginjails/.warden-template-pluginjail--x64				  668M  1.33T   668M  /mnt/Volume/replication/pluginjails/.warden-template-pluginjail--x64
Volume/replication/pluginjails/.warden-template-pluginjail--x64-20150811000828   431M  1.33T   430M  /mnt/Volume/replication/pluginjails/.warden-template-pluginjail--x64-20150811000828
Volume/replication/pluginjails/.warden-template-pluginjail--x64-20151011162336   431M  1.33T   430M  /mnt/Volume/replication/pluginjails/.warden-template-pluginjail--x64-20151011162336
Volume/replication/pluginjails/.warden-template-standard						1.97G  1.33T  1.97G  /mnt/Volume/replication/pluginjails/.warden-template-standard
Volume/replication/pluginjails/PlantServer									  10.1G  1.33T  8.40G  /mnt/Volume/replication/pluginjails/PlantServer
Volume/replication/pluginjails/bacula-sd_1									   189M  1.33T   613M  /mnt/Volume/replication/pluginjails/bacula-sd_1
Volume/replication/pluginjails/crashplan_1									   356M  1.33T   780M  /mnt/Volume/replication/pluginjails/crashplan_1
Volume/replication/pluginjails/cruciblewds_1									 930M  1.33T  1.32G  /mnt/Volume/replication/pluginjails/cruciblewds_1
Volume/replication/pluginjails/plexmediaserver_1								15.5G  1.33T  10.9G  /mnt/Volume/replication/pluginjails/plexmediaserver_1
Volume/replication/pluginjails/vBox											 38.4G  1.33T  16.8G  /mnt/Volume/replication/pluginjails/vBox
Volume/replication/pluginjails/xdm_1											 198M  1.33T   622M  /mnt/Volume/replication/pluginjails/xdm_1
Volume/vbox																	  244G  1.33T   244G  /mnt/Volume/vbox
freenas-boot																	1.17G  5.79G	31K  none
freenas-boot/ROOT															   1.17G  5.79G	25K  none
freenas-boot/ROOT/9.10.1-U1													 2.17M  5.79G   623M  /
freenas-boot/ROOT/9.10.1-U2													 1.16G  5.79G   623M  /
freenas-boot/ROOT/Initial-Install												  1K  5.79G   614M  legacy
freenas-boot/ROOT/default														912K  5.79G   615M  legacy
freenas-boot/grub															   6.33M  5.79G  6.33M  legacy
ssdStripe																	   73.8G  31.8G   124K  /mnt/ssdStripe
ssdStripe/.system															   27.4M  31.8G  1.14M  legacy
ssdStripe/.system/configs-7f4d67ae16c94917b949456bb9f364ad					   536K  31.8G   536K  legacy
ssdStripe/.system/configs-8f93c363d0054e6cb350f5e5f5f1f086					  12.5M  31.8G  12.3M  legacy
ssdStripe/.system/configs-ae26406b21844c4784d2c8ddd52342c3						96K  31.8G	96K  legacy
ssdStripe/.system/cores														 2.81M  31.8G   996K  legacy
ssdStripe/.system/rrd-7f4d67ae16c94917b949456bb9f364ad							96K  31.8G	96K  legacy
ssdStripe/.system/rrd-8f93c363d0054e6cb350f5e5f5f1f086							96K  31.8G	96K  legacy
ssdStripe/.system/rrd-ae26406b21844c4784d2c8ddd52342c3							96K  31.8G	96K  legacy
ssdStripe/.system/rrd-f6da24756e2f4dee86c3a9c9fb75829f							96K  31.8G	96K  legacy
ssdStripe/.system/samba4														1.50M  31.8G   508K  legacy
ssdStripe/.system/syslog-7f4d67ae16c94917b949456bb9f364ad						708K  31.8G   708K  legacy
ssdStripe/.system/syslog-8f93c363d0054e6cb350f5e5f5f1f086					   5.62M  31.8G  4.34M  legacy
ssdStripe/.system/syslog-ae26406b21844c4784d2c8ddd52342c3						500K  31.8G   500K  legacy
ssdStripe/.system/syslog-f6da24756e2f4dee86c3a9c9fb75829f					   1.47M  31.8G  1.46M  legacy
ssdStripe/.warden-template-pluginjail											719M  31.8G   719M  /mnt/ssdStripe/.warden-template-pluginjail
ssdStripe/pluginjails														   73.0G  31.8G   176K  /mnt/ssdStripe/pluginjails
ssdStripe/pluginjails/.warden-template-VirtualBox-4.3.12						 661M  31.8G   661M  /mnt/ssdStripe/pluginjails/.warden-template-VirtualBox-4.3.12
ssdStripe/pluginjails/.warden-template-pluginjail								469M  31.8G   469M  /mnt/ssdStripe/pluginjails/.warden-template-pluginjail
ssdStripe/pluginjails/.warden-template-pluginjail--x64						   719M  31.8G   719M  /mnt/ssdStripe/pluginjails/.warden-template-pluginjail--x64
ssdStripe/pluginjails/.warden-template-standard-9.3-x64						 1.58G  31.8G  1.58G  /mnt/ssdStripe/pluginjails/.warden-template-standard-9.3-x64
ssdStripe/pluginjails/PlantServer											   7.90G  31.8G  7.57G  /mnt/ssdStripe/pluginjails/PlantServer
ssdStripe/pluginjails/blynk													 3.15G  31.8G  3.87G  /mnt/ssdStripe/pluginjails/blynk
ssdStripe/pluginjails/owncloud_1												 444M  31.8G   912M  /mnt/ssdStripe/pluginjails/owncloud_1
ssdStripe/pluginjails/plexmediaserver_1										 14.9G  31.8G  10.6G  /mnt/ssdStripe/pluginjails/plexmediaserver_1
ssdStripe/pluginjails/vBox													  43.2G  31.8G  18.0G  /mnt/ssdStripe/pluginjails/vBox



Edit: Sry for the formating, can't get it better
 
Last edited:

Sakuru

Guru
Joined
Nov 20, 2015
Messages
527
I don't need the datasheet replication, so if it helps it can be deleted.
I think that's your best bet. The pool imported fine, but doesn't like those 2 datasets for some reason.

Make sure you understand the following command before running it. Misuse of this command could lead to the loss of your pool.
Code:
zfs destroy Volume/replication/pluginjails/.warden-template-pluginjail--x64-20150811000828
zfs destroy Volume/replication/pluginjails/.warden-template-pluginjail--x64-20151011162336


After destroying the datasets you will need to export your pool again before trying to import it in the GUI.
 

Ben13

Cadet
Joined
Jan 27, 2015
Messages
7
Thanks for your help, its working. Don't know what was wrong with that dataset. I had to use -r for the snapshots and -R for the depending replicated pluginjails. After all I deleted the hole replication dataset. If someone has the same Problem here is a link to the man of zfs
Code:
https://www.freebsd.org/cgi/man.cgi?format=html&manpath=FreeBSD%208.1-RELEASE&query=zfs
 
Status
Not open for further replies.
Top