Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4Free
Posted: 16 Jun 2013 19:01
Hey guys,
My NAS has the following configuration:
Chasis: Silverstone TJ08-E Mini
OS: Nas4Free version 9.1.0.1.775 (embedded, running on a 32GB USB 3.0 Stick SanDisk Extreme)
Mainboard: ASUS E45M-Pro
RAM: Corsair XMS3 DDR3 1600Mhz CL9 2x2GB
HDD1: Western Caviar Green 2.5TB (WDC WD25EZRX-00AZ6B0)
HDD2: Seagate Barracuda 3TB (ST3000DM001-9YN166)
HDD3: Hitachi Deskstar 7K4000 SATA III 4TB (HDS724040ALE640)
Powersupply: 300W Bequiet! System Power 7 Bronze 80+
when I decided to build my NAS I already had about 8TB of data. So there was not really the option of doing a RAID unless I had the money of course to buy some more 4TB drives. But, I didnt. Anyways, since at that point I had a really hard time installing FreeBSD to a Laptop (I didnt now there was PC-BSD at that point in time yet
) which was supposed to help me format my drives with a native BSD ZFS after I transferred the data off to another drive. After a few tries I was very upset and gave up and then read that there are 2 projects for ubuntu which give you the option to use ZFS. I decided to go with the more native sounding project "ZFS on Linux" (=> NOT zfs fuse) which came with the version 0.6.1rc14 then.
So I emptied drive by drive. Then I "cleaned" the drive by formatting it with btrfs with gparted, just to make myself feel better
. Then "formatted" it with ZFS by using "zpool create movies2011 /dev/by-uuid/" for the first drive (2.5TB), "zpool create movies2012 /dev/sdc1" for the second drive (3TB) and finally "zpool create movies2013 /dev/sdd" for the third drive (4TB). After I was done and all my parts for the NAS arrived, I used "zpool export tank" to get them ready for a new system.
After I fired the system up everything went fine right away. The system booted, the OS booted. I used Options 1,2 and 3 to do the first basic configurations and then option 6 to drop to shell.
Now here comes my problem!:
When I used "zpool import -f" I got:
for all 3 pools
E.g.:
pool: movies2011
id: 6704172540428977894
state: UNAVAIL
status: The pool is formatted using an incompatible version.
action: The pool cannot be imported. Access the pool on a system running newer software, or recreate pool from backup.
see: http://illumos.org/msg/ZFS-8000-A5
config:
movies2011: UNAVAIL newer version
ada0p1 : online
The specifies command for a tank e.g. "zpool import -f movies2011" just gives me:
cannot import 'movies2011': pool is formatted using a newer ZFS version.
zfs upgrade -v tells me I'm running version 5. However another command I found, but cannot remeber told me that I got version 28 (I listed all versions from 1 down to 28 with the features of each version).
So can someone please help me to recover, recreate, reimport my pools without loosing my data. I know it was probably my fault for using Ubuntu ZFS on Linux
. Somewere it says destroy and recreate pool, but all ur data is then lost right?
I wrote this thread cause neither the link supllies by Nas4Free nor google was specific enough for helping with my kind of Problem. Many thanks in advance.
over
P.S.: Just a noob approach here, but the paradox thing is, if I type in "zpool -a -V 28" it gives me "This system is currently running ZFS pool version 28. All pools are formatted using this version". So why would the versions be incompatible? Because they have to be imported first? But how could the problem be solved then at all? Just by bringing the hard drives back to my old system, my PC and retransfer data again and natively reformat the drives with BSD? Id really like to avoid that. If I type in higher versions then 28 the system says "invalid version". I thought updating might be an option since theres already version 35 out.....
My NAS has the following configuration:
Chasis: Silverstone TJ08-E Mini
OS: Nas4Free version 9.1.0.1.775 (embedded, running on a 32GB USB 3.0 Stick SanDisk Extreme)
Mainboard: ASUS E45M-Pro
RAM: Corsair XMS3 DDR3 1600Mhz CL9 2x2GB
HDD1: Western Caviar Green 2.5TB (WDC WD25EZRX-00AZ6B0)
HDD2: Seagate Barracuda 3TB (ST3000DM001-9YN166)
HDD3: Hitachi Deskstar 7K4000 SATA III 4TB (HDS724040ALE640)
Powersupply: 300W Bequiet! System Power 7 Bronze 80+
when I decided to build my NAS I already had about 8TB of data. So there was not really the option of doing a RAID unless I had the money of course to buy some more 4TB drives. But, I didnt. Anyways, since at that point I had a really hard time installing FreeBSD to a Laptop (I didnt now there was PC-BSD at that point in time yet
So I emptied drive by drive. Then I "cleaned" the drive by formatting it with btrfs with gparted, just to make myself feel better
After I fired the system up everything went fine right away. The system booted, the OS booted. I used Options 1,2 and 3 to do the first basic configurations and then option 6 to drop to shell.
Now here comes my problem!:
When I used "zpool import -f" I got:
for all 3 pools
E.g.:
pool: movies2011
id: 6704172540428977894
state: UNAVAIL
status: The pool is formatted using an incompatible version.
action: The pool cannot be imported. Access the pool on a system running newer software, or recreate pool from backup.
see: http://illumos.org/msg/ZFS-8000-A5
config:
movies2011: UNAVAIL newer version
ada0p1 : online
The specifies command for a tank e.g. "zpool import -f movies2011" just gives me:
cannot import 'movies2011': pool is formatted using a newer ZFS version.
zfs upgrade -v tells me I'm running version 5. However another command I found, but cannot remeber told me that I got version 28 (I listed all versions from 1 down to 28 with the features of each version).
So can someone please help me to recover, recreate, reimport my pools without loosing my data. I know it was probably my fault for using Ubuntu ZFS on Linux
I wrote this thread cause neither the link supllies by Nas4Free nor google was specific enough for helping with my kind of Problem. Many thanks in advance.
over
P.S.: Just a noob approach here, but the paradox thing is, if I type in "zpool -a -V 28" it gives me "This system is currently running ZFS pool version 28. All pools are formatted using this version". So why would the versions be incompatible? Because they have to be imported first? But how could the problem be solved then at all? Just by bringing the hard drives back to my old system, my PC and retransfer data again and natively reformat the drives with BSD? Id really like to avoid that. If I type in higher versions then 28 the system says "invalid version". I thought updating might be an option since theres already version 35 out.....