1085a [Solved] Is update zfs drivers without OS update possible? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Storage

Storage Place to ask questions about partitioning, labelling, filesystems, encryption or anything else related to storage area.

Reply
 
Thread Tools Display Modes
  #1  
Old September 15th, 2012, 13:51
gnoma gnoma is offline
Member
 
Join Date: Nov 2009
Location: Bulgaria, Sofia
Posts: 123
Thanks: 7
Thanked 1 Time in 1 Post
Default Is update zfs drivers without OS update possible?

Aloha,
I have a problem with my backup server. It is FreeBSD 8.
I tryed to make backups with zfs(8) snapshots. The filesystem version is 14, and if I try to update the filesystem, it tells me that 14 is the latest version.
But some of my servers are Freebsd 9. There the zfs(8) filesystem version is 28.
So when I try to transfer snapshot from version 28 to version 14, I got nice fat error for version incompatibility.
I tryed to transfer it according the zfs(8) documentation using: zfs send -i tank/dana@snap1 tank/dana@snap2 | ssh host2 zfs recv newtank/dana ssh

So my question is if there is a way to update zfs drivers on FreeBSD 8, then update the filesystem version, without updating the whole OS and everything running on this server?

Thank you.

Last edited by gnoma; September 17th, 2012 at 06:03.
Reply With Quote
  #2  
Old September 15th, 2012, 19:11
gkontos's Avatar
gkontos gkontos is offline
Senior Member
 
Join Date: Dec 2009
Location: Polidendri, GR
Posts: 1,298
Thanks: 44
Thanked 230 Times in 172 Posts
Default

Quote:
Originally Posted by gnoma View Post
Aloha,
I have a problem with my backup server. It is FreeBSD 8.
That doesn't say much. You will have to be more specific.

Quote:
Originally Posted by gnoma View Post
So my question is if there is a way to update zfs drivers on freebsd 8, then update the filesystem version, without updating the whole OS and everything running on this server?
You need to update both the kernel and the world also. The rest of the software is irrelevant.
__________________
Powered by BareBSD
Reply With Quote
  #3  
Old September 15th, 2012, 19:16
noobster noobster is offline
Junior Member
 
Join Date: Nov 2008
Posts: 79
Thanks: 1
Thanked 11 Times in 11 Posts
Default

Probably the simplest solution is to upgrade your FreeBSD 8 to version 8.3 because it has support for ZFS version 28. And in the future make sure you keep all your ZFS versions in sync, so only do an upgrade if you can upgrade all of them to the same new version.
Reply With Quote
  #4  
Old September 16th, 2012, 17:27
gnoma gnoma is offline
Member
 
Join Date: Nov 2009
Location: Bulgaria, Sofia
Posts: 123
Thanks: 7
Thanked 1 Time in 1 Post
Default

Hello,

Quote:
Probably the simplest solution is to upgrade your FreeBSD 8 to version 8.3 because it has support for ZFS version 28. And in the future make sure you keep all your ZFS versions in sync, so only do an upgrade if you can upgrade all of them to the same new version.
I'd love to do that, but this means to install same version of OS FreeBSD on each server.
So when I have new server, I should either install older version OS, or upgrade all other servers to the latest FreeBSD version.

Or may be there is a way to install latest version of OS, but when creating zpool to specify version 14, not 28 or later? Is this possible?
Because using # zpool create, it always creates the latest filesystem version supported by this driver.

If this is not possible, I think I'll find another backup solution

Thank you.

Last edited by SirDice; September 17th, 2012 at 09:30. Reason: Proper use of [cmd] tags: http://forums.freebsd.org/showthread.php?t=8816#cmd
Reply With Quote
  #5  
Old September 16th, 2012, 18:16
gkontos's Avatar
gkontos gkontos is offline
Senior Member
 
Join Date: Dec 2009
Location: Polidendri, GR
Posts: 1,298
Thanks: 44
Thanked 230 Times in 172 Posts
Default

You can always create earlier ZFS versions than the defaults. Just use the -o version= flag when creating the pool.
__________________
Powered by BareBSD
Reply With Quote
  #6  
Old September 17th, 2012, 06:03
gnoma gnoma is offline
Member
 
Join Date: Nov 2009
Location: Bulgaria, Sofia
Posts: 123
Thanks: 7
Thanked 1 Time in 1 Post
Default

Hello,

This is the workaround I need.

Thank you.
Reply With Quote
  #7  
Old September 17th, 2012, 18:51
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,178
Thanks: 43
Thanked 715 Times in 587 Posts
Default

Quote:
Originally Posted by gnoma View Post
I'd love to do that, but this means to install same version of OS FreeBSD on each server.
Re-read what the original post said. You don't need the same version of FreeBSD on every server. You need the same version of ZFS on each server.

Both FreeBSD 8.3 and 9.0 have the same version of ZFS: ZFSv28

Thus, if you upgrade your 8.x server to 8.3, then upgrade your pool, then upgrade your filesystems, everything will work. And, since you are doing a minor version upgrade (8.x to 8.x), you won't have to re-install your ports.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #8  
Old September 18th, 2012, 14:34
gnoma gnoma is offline
Member
 
Join Date: Nov 2009
Location: Bulgaria, Sofia
Posts: 123
Thanks: 7
Thanked 1 Time in 1 Post
Default

Yes, I saw that, but I was looking for permanent solution. This will probably help for the next year or two, may be even less. But I hope that this servers will remain running longer time and new servers will come up into the system.
For now I will update all Freebsd 8 systems to 8.3 and filesystem version 28. But from this moment on, looks like all new systems will be madden with ZFS version 28.

Thank you for the assist.
Reply With Quote
Reply

Tags
drivers, zfs

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to update system via Gnome Update macunkie Other Architectures 5 April 12th, 2013 21:08
ports update and freebsd-update utility romeor Installing & Upgrading 14 January 17th, 2012 18:24
Unable to update 7.1 because of freebsd-update bug slikts Installing & Upgrading 3 March 18th, 2011 21:07
using freebsd-update to update jails and their host Jago Installing & Upgrading 3 February 28th, 2011 11:58
Possible to use freebsd-update to update Jails? Sephiroth Installing & Upgrading 8 October 17th, 2010 04:38


All times are GMT +1. The time now is 08:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0