This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Importing ZFS Pool doesn't work (from FreeNAS 7)

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
firefist235
NewUser
NewUser
Posts: 7
Joined: 26 Dec 2012 14:17
Status: Offline

Importing ZFS Pool doesn't work (from FreeNAS 7)

Post by firefist235 »

Hi all,

i used FreeNAS 7 with ZFS (5 HDDs in Raid-Z1) so far. Because i want to upgrade my NAS i decided to change to NAS4Free. But i can't import my ZFS Pool...

I exported the ZFS Pool in FreeNAS, Installed NAS4Free (9.1.0.1.690) on the USB Drive (i made an Image of the FreeNAS installation, just for sure) and everytime I type

Code: Select all

zpool import
i get the following error message:

Code: Select all

cannot get GEOM tree: Unknown error: -1
zpool list says that there are no pools available.

I added all the neccessary drives through the Management Page (Chose ZFS as Filesystem)

i hope you can help me, i couldn't find any solution
Nas4Free 9.1.0.1
AMD Athlon 64 X2 5000+
ASUS M4A785-M Board
4GB RAM
LSI MegaRAID SAS 9240-8i flashed with IT-Firmware
8xToshiba PA4293E-1HN0 3TB, 5940rpm, 32MB Cache, SATA III

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Importing ZFS Pool doesn't work (from FreeNAS 7)

Post by raulfg3 »

try zpool impot -f (force import), but I do not remember to see cannot get GEOM in this forum (for a zpool import).

Better if boot from old FreeNAs 7 and do zpool history and zpool info to know how you create first time your pool.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

firefist235
NewUser
NewUser
Posts: 7
Joined: 26 Dec 2012 14:17
Status: Offline

Re: Importing ZFS Pool doesn't work (from FreeNAS 7)

Post by firefist235 »

force doesnt make a difference
gimme a sec :D
Nas4Free 9.1.0.1
AMD Athlon 64 X2 5000+
ASUS M4A785-M Board
4GB RAM
LSI MegaRAID SAS 9240-8i flashed with IT-Firmware
8xToshiba PA4293E-1HN0 3TB, 5940rpm, 32MB Cache, SATA III

firefist235
NewUser
NewUser
Posts: 7
Joined: 26 Dec 2012 14:17
Status: Offline

Re: Importing ZFS Pool doesn't work (from FreeNAS 7)

Post by firefist235 »

zpool info is an unrecognized command

this is zpool history

Code: Select all

History for 'BFR':
2010-09-17.17:57:10 zpool create -m /mnt/BFR BFR raidz1 /dev/ad2 /dev/ad4 /dev/ad6 /dev/ad8 /dev/ad10
2010-09-18.15:24:58 zpool import -f -a
2010-09-19.01:30:09 zpool import -f -a
2010-09-19.01:42:23 zpool import -f -a
2010-09-21.15:47:46 zpool import -f -a
2010-09-21.18:43:22 zpool import -f -a
2010-09-21.18:54:56 zpool import -f -a
2010-09-23.22:10:29 zpool import -f -a
2010-09-25.09:41:13 zpool import -f -a
2010-09-25.12:27:14 zpool import -f -a
2010-10-04.15:13:23 zpool import -f -a
2010-10-04.15:26:51 zpool import -f -a
2010-10-04.21:37:57 zpool scrub BFR
2010-10-06.20:00:52 zpool import -f -a
2010-10-19.22:45:03 zpool import -f -a
2010-10-21.22:01:21 zpool import -f -a
2010-10-21.22:10:39 zpool import -f -a
2010-10-21.22:21:06 zpool import -f -a
2010-10-21.22:31:09 zpool import -f -a
2010-10-21.22:54:06 zpool import -f -a
2010-10-25.13:16:30 zpool import -f -a
2010-10-25.13:21:51 zpool import -f -a
2010-10-25.14:02:45 zpool import -f -a
2010-10-25.14:18:48 zpool import -f -a
2010-10-26.00:51:43 zpool import -f -a
2010-11-04.22:54:20 zpool scrub BFR
2010-11-15.15:28:06 zpool import -f -a
2010-12-22.21:45:45 zpool import -f -a
2010-12-22.23:08:53 zpool import -f -a
2011-01-06.01:54:40 zpool import -f -a
2011-01-08.01:48:50 zpool import -f -a
2011-01-11.17:40:32 zpool scrub BFR
2011-01-14.15:14:42 zpool import -f -a
2011-02-05.20:16:48 zpool import -f -a
2011-03-15.15:27:09 zpool import -f -a
2011-05-20.15:41:36 zpool import -f -a
2011-06-03.20:37:01 zpool import -f -a
2011-08-02.19:33:25 zpool import -f -a
2011-08-02.20:36:25 zpool import -f -a
2011-08-02.22:40:50 zpool scrub BFR
2011-09-20.01:24:13 zpool scrub BFR
2011-11-05.10:52:44 zpool import -f -a
2011-12-27.17:17:59 zpool import -f -a
2012-01-04.18:37:28 zpool import -f -a
2012-01-04.18:52:17 zpool scrub BFR
2012-02-11.09:31:00 zpool import -f -a
2012-02-11.09:39:19 zpool scrub BFR
2012-03-30.16:37:26 zpool import -f -a
2012-06-26.21:14:11 zpool import -f -a
2012-07-04.19:48:44 zpool import -f -a
2012-07-05.19:02:04 zpool import -f -a
2012-07-07.12:55:06 zpool import -f -a
2012-07-07.18:34:23 zpool import -f -a
2012-07-08.09:58:07 zpool import -f -a
2012-07-12.19:50:33 zpool import -f -a
2012-07-21.19:14:43 zpool import -f -a
2012-07-29.18:26:06 zpool import -f -a
2012-07-31.19:05:21 zpool import -f -a
2012-08-01.20:26:51 zpool import -f -a
2012-08-03.21:34:32 zpool import -f -a
2012-08-14.13:47:30 zpool import -f -a
2012-08-14.13:55:55 zpool scrub BFR
2012-08-20.19:13:55 zpool import -f -a
2012-09-25.18:20:54 zpool import -f -a
2012-09-25.20:12:19 zpool import -f -a
2012-10-10.19:35:07 zpool import -f -a
2012-10-10.21:53:53 zpool import -f -a
2013-02-04.21:03:19 zpool import -f -a
2013-03-10.17:17:47 zpool import -f -a
2013-04-01.15:27:31 zpool import -f -a
2013-05-09.18:55:41 zpool import -f -a
2013-05-13.19:59:37 zpool import -f -a
2013-05-13.20:03:39 zpool export BFR
2013-05-13.22:20:31 zpool import -f -a
Nas4Free 9.1.0.1
AMD Athlon 64 X2 5000+
ASUS M4A785-M Board
4GB RAM
LSI MegaRAID SAS 9240-8i flashed with IT-Firmware
8xToshiba PA4293E-1HN0 3TB, 5940rpm, 32MB Cache, SATA III

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Importing ZFS Pool doesn't work (from FreeNAS 7)

Post by raulfg3 »

try one more time, this time use:

Code: Select all

zpool import -d /dev -f -a
if still have errors, you need help from gurus of the forums.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

sleid
PowerUser
PowerUser
Posts: 774
Joined: 23 Jun 2012 07:36
Location: FRANCE LIMOUSIN CORREZE
Status: Offline

Re: Importing ZFS Pool doesn't work (from FreeNAS 7)

Post by sleid »

I fear the worst, if you chose (Choose as ZFS Filesystem)
you had to choose "Unformatted" to leave the data in place.
12.1.0.4 - Ingva (revision 7852)
FreeBSD 12.1-RELEASE-p12 #0 r368465M: Tue Dec 8 23:25:11 CET 2020
X64-embedded sur Intel(R) Atom(TM) CPU C2750 @ 2.40GHz Boot UEFI
ASRock C2750D4I 2 X 8GB DDR3 ECC
Pool of 2 vdev Raidz1: 3 WDC WD40EFRX + 3 WDC WD40EFRX

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Importing ZFS Pool doesn't work (from FreeNAS 7)

Post by raulfg3 »

sleid wrote:I fear the worst, if you chose (Choose as ZFS Filesystem)
you had to choose "Unformatted" to leave the data in place.
no, you can choose ZFS too , to have it untouched ( I mean it when select disk, not if you format disk)
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

firefist235
NewUser
NewUser
Posts: 7
Joined: 26 Dec 2012 14:17
Status: Offline

Re: Importing ZFS Pool doesn't work (from FreeNAS 7)

Post by firefist235 »

i tried the command you suggested but i get the same error message.

When i set up the ZFS Pool on FreeNAS 7 there were 5 x 1,5TB HDDs installed. Now i have 8 x 3 TB drives (new drives) on a LSI MegaRaid SAS Controller (Flashed with IT Mode Firmware) and the 5 1,5 TB drives connected to the mainbaord as i did before.

I have the following idea, to get my data from the old pool to the new one:
1) Take out 2 3 TB HDDs
2) Boot Server with working pool on FreeNAS
3) Install those 2 Drives in my PC
4) Copy the files through the network (FreeNAS cant recognize the SAS Controller) on the two 3 TB Drives
5) After that, destroy the "old" pool, and make seperate disks out of it
6) Copy the files from the 3 TB drives on the 1,5 TB Drives.
7) When finished install the two 3 TB drives back into the Server and make a raid-z1 pool out of them
8) Copy the files from the 1,5 TB Drives onto the pool.

9) When finished open up a beer and destroy something :D
Nas4Free 9.1.0.1
AMD Athlon 64 X2 5000+
ASUS M4A785-M Board
4GB RAM
LSI MegaRAID SAS 9240-8i flashed with IT-Firmware
8xToshiba PA4293E-1HN0 3TB, 5940rpm, 32MB Cache, SATA III

firefist235
NewUser
NewUser
Posts: 7
Joined: 26 Dec 2012 14:17
Status: Offline

Re: Importing ZFS Pool doesn't work (from FreeNAS 7)

Post by firefist235 »

Hi all,
sadly i stuck at step 7: i put the 3TB Drives back into my NAS and wanted to create a raid-z1 pool out of them. When i create a pool, it only lasts until the next reboot. After a reboot the pool is lost, an cannot be reimported, i get this error again, if i try

Code: Select all

cannot get GEOM tree: Unknown error: -1
my Harddrive-Info-page looks a bit strange too:

Code: Select all

Gerät /dev/da0 - ATA Hitachi HDS5C303 AAB0
Festplatte:		da0
Firmware Rev:
ATA revision:		unknown/pre ATA-2
LBA 48:			no
Geometry:		0 cyls, 0 heads, 0 spt
Capacity:		0MB
SMART Supported: 	no
Write Cache Supported: 	no
APM Supported: 		no
AAM Supported: 		no

Gerät /dev/da1 - ATA Hitachi HDS5C303 AAB0
Festplatte:		da1
Firmware Rev:
ATA revision:		unknown/pre ATA-2
LBA 48:			no
Geometry:		0 cyls, 0 heads, 0 spt
Capacity:		0MB
SMART Supported: 	no
Write Cache Supported: 	no
APM Supported: 		no
AAM Supported: 		no

Gerät /dev/da2 - ATA Hitachi HDS5C303 AAB0
Festplatte:		da2
Firmware Rev:
ATA revision:		unknown/pre ATA-2
LBA 48:			no
Geometry:		0 cyls, 0 heads, 0 spt
Capacity:		0MB
SMART Supported: 	no
Write Cache Supported: 	no
APM Supported: 		no
AAM Supported: 		no

Gerät /dev/da3 - ATA Hitachi HDS5C303 AAB0
Festplatte:		da3
Firmware Rev:
ATA revision:		unknown/pre ATA-2
LBA 48:			no
Geometry:		0 cyls, 0 heads, 0 spt
Capacity:		0MB
SMART Supported: 	no
Write Cache Supported: 	no
APM Supported: 		no
AAM Supported: 		no

Gerät /dev/da4 - ATA Hitachi HDS5C303 AAB0
Festplatte:		da4
Firmware Rev:
ATA revision:		unknown/pre ATA-2
LBA 48:			no
Geometry:		0 cyls, 0 heads, 0 spt
Capacity:		0MB
SMART Supported: 	no
Write Cache Supported: 	no
APM Supported: 		no
AAM Supported: 		no

Gerät /dev/da5 - ATA Hitachi HDS5C303 AAB0
Festplatte:		da5
Firmware Rev:
ATA revision:		unknown/pre ATA-2
LBA 48:			no
Geometry:		0 cyls, 0 heads, 0 spt
Capacity:		0MB
SMART Supported: 	no
Write Cache Supported: 	no
APM Supported: 		no
AAM Supported: 		no

Gerät /dev/da6 - ATA Hitachi HDS5C303 AAB0
Festplatte:		da6
Firmware Rev:
ATA revision:		unknown/pre ATA-2
LBA 48:			no
Geometry:		0 cyls, 0 heads, 0 spt
Capacity:		0MB
SMART Supported: 	no
Write Cache Supported: 	no
APM Supported: 		no
AAM Supported: 		no

Gerät /dev/da7 - ATA Hitachi HDS5C303 AAB0
Festplatte:		da7
Firmware Rev:
ATA revision:		unknown/pre ATA-2
LBA 48:			no
Geometry:		0 cyls, 0 heads, 0 spt
Capacity:		0MB
SMART Supported: 	no
Write Cache Supported: 	no
APM Supported: 		no
AAM Supported: 		no

Gerät /dev/da8 - G & T USB Flash Drive 5.00
Festplatte:		da8
Firmware Rev:
ATA revision:		unknown/pre ATA-2
LBA 48:			no
Geometry:		0 cyls, 0 heads, 0 spt
Capacity:		0MB
SMART Supported: 	no
Write Cache Supported: 	no
APM Supported: 		no
AAM Supported: 		no
i hope you can help me out...
Nas4Free 9.1.0.1
AMD Athlon 64 X2 5000+
ASUS M4A785-M Board
4GB RAM
LSI MegaRAID SAS 9240-8i flashed with IT-Firmware
8xToshiba PA4293E-1HN0 3TB, 5940rpm, 32MB Cache, SATA III

firefist235
NewUser
NewUser
Posts: 7
Joined: 26 Dec 2012 14:17
Status: Offline

Re: Importing ZFS Pool doesn't work (from FreeNAS 7)

Post by firefist235 »

in the configuration utility of the controller card, i can choose between "Disabled", "OS Enabled", "BIOS Enabled" and "OS & BIOS Enabled" for "Boot configuration" or something like that (i am currently not at the server)
does this make any difference?
Nas4Free 9.1.0.1
AMD Athlon 64 X2 5000+
ASUS M4A785-M Board
4GB RAM
LSI MegaRAID SAS 9240-8i flashed with IT-Firmware
8xToshiba PA4293E-1HN0 3TB, 5940rpm, 32MB Cache, SATA III

firefist235
NewUser
NewUser
Posts: 7
Joined: 26 Dec 2012 14:17
Status: Offline

Re: Importing ZFS Pool doesn't work (from FreeNAS 7)

Post by firefist235 »

i flashed a firmware wihtout an configuration interface. so all HDDs are passed through automatically.
the same here, after reboot of NAS4Free the pool is dead
Nas4Free 9.1.0.1
AMD Athlon 64 X2 5000+
ASUS M4A785-M Board
4GB RAM
LSI MegaRAID SAS 9240-8i flashed with IT-Firmware
8xToshiba PA4293E-1HN0 3TB, 5940rpm, 32MB Cache, SATA III

fsbruva
Advanced User
Advanced User
Posts: 378
Joined: 21 Sep 2012 14:50
Status: Offline

Re: Importing ZFS Pool doesn't work (from FreeNAS 7)

Post by fsbruva »

I think a larger issue is the fact that your disk info shows max capacity of 0 MB for every drive!!!!

Post Reply

Return to “ZFS (only!)”