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!

Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4Free

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
overflyer
NewUser
NewUser
Posts: 6
Joined: 16 Jun 2013 18:19
Status: Offline

Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4Free

Post by overflyer »

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 :D. 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.....

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

Re: Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4F

Post by raulfg3 »

overflyer wrote: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?
not possible in actual version of Nas4Free. sorry you need to recreate pool and loss your data ( if do not do a backup first)

one posible option is to use OMV that is linux based (debian) so you can install ZFS on Linux http://forums.openmediavault.org/viewto ... &hilit=ZFS

you can see in this page ZFS version and FS

http://en.wikipedia.org/wiki/ZFS

actual BSD 9.1 version is V28 FS 5
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

overflyer
NewUser
NewUser
Posts: 6
Joined: 16 Jun 2013 18:19
Status: Offline

Re: Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4F

Post by overflyer »

Ok if you are referring me to OMV which uses ZFS on Linux, I wonder if you read my op where I assumed that me using ZFS on Linux caused the version incompatibilities in the first place.

But anyways, so if I take ur advice and use OMV with ZFS on Linux is there a way to reimport my pools and up/downgrade zfs to make the version compatible with NAS4Free? What ZFS version is ZFS on Linux using anyways? Its V?? FS 5 (http://zfsonlinux.org).

I would really get my drives fully BSD compatible :/ without transferring and retransfarring all my data, again.

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

Re: Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4F

Post by raulfg3 »

overflyer wrote:But anyways, so if I take ur advice and use OMV with ZFS on Linux is there a way to reimport my pools and up/downgrade zfs to make the version compatible with NAS4Free? What ZFS version is ZFS on Linux using anyways? Its V?? FS 5 (http://zfsonlinux.org).
as far as I know is not possible to downgrade ZFS version, once you use or upgrade to great version, you can't revert to older/prior version.

PD: ZFS on LINUX use ver:5000 ( not compatible with ORACLE/SOLARIX version v28 to V32)
overflyer wrote: I would really get my drives fully BSD compatible :/ without transferring and retransfarring all my data, again.
Sorry, you need to save your data and recreate your pool and retrasfer all your data to make BSD compatible, or you can continue to use actaul version of ZFS on Linux, perhaps in future BSD or ZFS on LINUX are compatible.
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

overflyer
NewUser
NewUser
Posts: 6
Joined: 16 Jun 2013 18:19
Status: Offline

Re: Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4F

Post by overflyer »

My no right now can be heard on distant planets: Noooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo :'(

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4F

Post by b0ssman »

i believe freebsd 8.4 now supports this version. unfortunatly freebsd 9.1 does not.
Maybe 9.2 will support is when i comes out.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

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

Re: Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4F

Post by raulfg3 »

b0ssman wrote:i believe freebsd 8.4 now supports this version. unfortunatly freebsd 9.1 does not.
Maybe 9.2 will support is when i comes out.
you are correct, I copy this info from FREEBSD 8.4:

Code: Select all

2.2.5 File Systems

The linprocfs(5) filesystem now supports /proc/filesystems.[r247808]

Bugs in msdosfs(5) which could cause mounting a FAT32 filesystem to fail, create a broken directory entry in a FAT32 filesystem, and prevent sync and async mount option from working, have been fixed.[r246547, r246548, r246550]

Bugs in FreeBSD NFS subsystem has been fixed. They could cause stale name cache entries on an NFS client.[r233286]

A memory leak when a ZFS volume is exported via the FreeBSD NFS (newnfs) server has been fixed. Note that oldnfs is used as the default NFS implementation in GENERIC kernel.[r236147]

FreeBSD NFS subsystem now supports a timeout parameter on positive name cache entries on the NFS client side. nametimeo mount option has been added to specify the timeout. The default value is 60 seconds, and one can disable the positive name caching by setting it to 0.[r233327]

A workaround has been implemented in FreeBSD NFS subsystem to handle a reply to an NFS create RPC which do not include file attributes under certain circumstances. This improves interoperability between non-FreeBSD NFS servers and FreeBSD NFS clients.[r235417]

A bug in exports(5) handling in FreeBSD NFS subsystem has been fixed. It could cause an unintended security configuration when there are multiple export entries with different security flavors.[r241348]

Several bugs in nullfs(5) which could cause a system panic have been fixed.[r232665]

FreeBSD ZFS subsystem has been updated to support feature flags for ZFS pools (the SPA version is 5000). Asynchronous destroy of ZFS dataset, LZ4 compression, ZIO NOP-write optimization have been implemented as new features. loader(8) tunables vfs.zfs.sync_pass_deferred_free, vfs.zfs.sync_pass_dont_compress, vfs.zfs.sync_pass_rewrite, and vfs.zfs.nopwrite_enabled have been added.[r243717, r244088, r247310]

Note that this upgrade can cause interoperability issues when upgrading a FreeBSD 8.4 system to 9.0 or 9.1. This is because FreeBSD 9.0 and 9.1 support SPA version 28 and do not recognize version 5000. To mitigate this issue, the default SPA version for a newly created ZFS pool on FreeBSD 8.4 is set to version 28. To create a ZFS pool with version 5000, use zpool(8) upgrade command after the creation.

A bug in ZFS subsystem which could cause a system panic when importing a ZFS pool has been fixed.[r246578]

The sysctl(8) variable vfs.zfs.txg.timeout has been changed from read-only to writable.[r235507]
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

overflyer
NewUser
NewUser
Posts: 6
Joined: 16 Jun 2013 18:19
Status: Offline

Re: Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4F

Post by overflyer »

Hey,

thank you SO MUCH for your info. Im so happy I looked again for new answers. I will try FreeNAS 8.4 today when I get off work (6pm German time). I already tried 9.1 yesterday by booting it embedded from USB, but it gave me sone ufs mountroot error 19. I hope 8.4 boots fine and I can check if I can reimport my pools :)

overflyer
NewUser
NewUser
Posts: 6
Joined: 16 Jun 2013 18:19
Status: Offline

Re: Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4F

Post by overflyer »

At the moment trying to install FreeBSD 8.4 to a USB is killing me and constantly failing. After I finally got him to recognize the usb stick, he told me while installing "cant get /INDEX from media". I tried many FTPs since the USB I booted FreeBSD from could not be used as installation media since it was not found in Installation media --> USB (WTF?). Anyways my question is. Should I ever be able to get FreeBSD 8.4 running :D and then be able to reimport my pools with what Version do I need to recreate them to make them compatible for FreeNAS 9.1.0.1 and with what commands do I do that?

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

Re: Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4F

Post by raulfg3 »

overflyer wrote:Should I ever be able to get FreeBSD 8.4 running :D and then be able to reimport my pools with what Version do I need to recreate them to make them compatible for FreeNAS 9.1.0.1 and with what commands do I do that?
once you install sucesfully FreeBSD 8.4 . You probably can import your pool and access to data, BUT can't revert to older ZFS version , so you can't convert to BSD 9.1 compatible mode.

But you only need to wait until BSD 9.2 are ready and N4F where updated to BSD 9.2, at this moment, your pool wher BSD compatible.

Or:

once you can import your pool and access to your data, move to other location and recreate pool from scratch in Nas4Free, and then re-move data to your new pool.

In all cases is better / smart to have a backup of your data. RAIDZ1 (Raid in general) is not a backup, you can lose your valuable data if do not have a backup.
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

overflyer
NewUser
NewUser
Posts: 6
Joined: 16 Jun 2013 18:19
Status: Offline

Re: Drives with Ubuntu ZFS native project 0.6.1rc14 to NAS4F

Post by overflyer »

Thanks. What about the roadmap on 9.2 ? Is it gonna be a while?

P.S.: Im serious this was not supposed to be a dumb lazy question :D... I 've been googlin my arse off and cannot find any dates for 9.2 versions of any BSD. So I guess its done when its done?

Post Reply

Return to “ZFS (only!)”