question about last zfs release and your new iso

teleadmin

Renowned Member
May 31, 2008
12
0
66
Hi martin


I would like ask you somethings.


You send a new iso with last zfs release.
But if we have already install with the older one. Can we upgrate zfs from repository ?
I try apt-get upgrade but last zfs does not seem to be upgraded from the repository.
I think you will update it later.
Could you confirm.


best regards



pve1c-0675a24039

pve1c-00082d6d08
 
You want to upgrade ZFS tools/libs of ZFS pool versions ?

Not very clear.
Maybe i must answer i want upgrade all.

Martin say the new iso upgrade to latest stable ZFS 0.6.4.1.

Did the pool need be upgraded if tools/libs are upgraded to
ZFS 0.6.4.1. ?
My zfs pool is root and it's a RAID10 ZFS.

I want upgrade as if i have used the last iso for install my server .

actually my
zfs-initramfs is : Version: 0.6.3-2~wheezy
i suppose it must become 0.6.4.1~wheezy
but there is no package for this ...

And my question is :
Did we need reinstall everythings each time proxmox upgrade somethings with zfs ?
1-st ... it's not very easy on production server.
2-st ... each time i reinstall a server hardware id change ... so i get trouble with my souscription ... of course i can change it 3 times . but i already change it 1 time because i get a trouble with zfs and kernel 3.x (I don't know why but never use kernel 3.x with zfs , you will get unfixable performance trouble even if you come back to kernel 2.6, so i already reinstall one time).

Of course i can wait if you answer me that soft upgrade will follow later. But if not ... did i am stuck with
0.6.3-2 ?

That's why i am asking you if there is a soft way and if upgrade will follow later inside the repository ....

best regards,

romain

 
Proxmox provide ZFS in their repository. It`s comes already compiled and ready to use. Need only to reboot the system. As for ZFS pool after ZFS lib upgrade with new features you can see some information like this

Code:
# zpool status
  pool: rpool
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
    still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
    the pool may no longer be accessible by software that does not support
    the features. See zpool-features(5) for details.
  scan: scrub repaired 0 in 0h3m with 0 errors on Tue May  7 18:22:12 2013
config:

    NAME                                                    STATE     READ WRITE CKSUM
    rpool                                                   ONLINE       0     0     0
      usb-ADATA_USB_Flash_Drive_12C1219201250240-0:0-part2  ONLINE       0     0     0

errors: No known data errors

You need only to run 'zpool upgrade' to upgrade pool version (live, no reboot needed)

More about ZFS versions you can find here http://en.wikipedia.org/wiki/ZFS#Detailed_release_history
ZFS pool version support list http://en.wikipedia.org/wiki/ZFS#List_of_operating_systems_supporting_ZFS
Open ZFS features list http://open-zfs.org/wiki/Features

p.s. you can use your own ZFS lib like I do http://zfsonlinux.org/debian.html
 
Not very clear.
Maybe i must answer i want upgrade all.

Martin say the new iso upgrade to latest stable ZFS 0.6.4.1.

Did the pool need be upgraded if tools/libs are upgraded to
ZFS 0.6.4.1. ?
My zfs pool is root and it's a RAID10 ZFS.

I want upgrade as if i have used the last iso for install my server .

actually my
zfs-initramfs is : Version: 0.6.3-2~wheezy
i suppose it must become 0.6.4.1~wheezy
but there is no package for this ...

And my question is :
Did we need reinstall everythings each time proxmox upgrade somethings with zfs ?
1-st ... it's not very easy on production server.
2-st ... each time i reinstall a server hardware id change ... so i get trouble with my souscription ... of course i can change it 3 times . but i already change it 1 time because i get a trouble with zfs and kernel 3.x (I don't know why but never use kernel 3.x with zfs , you will get unfixable performance trouble even if you come back to kernel 2.6, so i already reinstall one time).

Of course i can wait if you answer me that soft upgrade will follow later. But if not ... did i am stuck with
0.6.3-2 ?

That's why i am asking you if there is a soft way and if upgrade will follow later inside the repository ....

best regards,

romain

Hi,
sounds that you don't have the actual repros? For non enterprise:
Code:
cat /etc/apt/sources.list.d/pve-no-subscription.list 
deb http://download.proxmox.com/debian wheezy pve-no-subscription

cat /etc/apt/sources.list.d/pve-enterprise.list 
#deb https://enterprise.proxmox.com/debian wheezy pve-enterprise
Udo
 
Hi,
sounds that you don't have the actual repros? For non enterprise:
Code:
cat /etc/apt/sources.list.d/pve-no-subscription.list 
deb http://download.proxmox.com/debian wheezy pve-no-subscription

cat /etc/apt/sources.list.d/pve-enterprise.list 
#deb https://enterprise.proxmox.com/debian wheezy pve-enterprise
Udo

No i have a suscription and so i get this repository (entreprise) :
root@bigz1:~# cat /etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian wheezy pve-enterprise


and it's working.

i have done:
apt-get update

apt-get dist-upgrade or apt-get upgrade
but my package zfs-initramfs is always : Version: 0.6.3-2~wheezy
So how change it to 0.6.4.1~wheezy ?
and same for:
Package: libzfs2
Priority: extra
Section: libs
Installed-Size: 288
Maintainer: Proxmox Support Team <support@proxmox.com>
Architecture: amd64
Source: zfs-linux
Version: 0.6.3-2~wheezy


so question remaindid the 0.6.4.1 are inside the entreprise repository or not ? and if not, when it will be available ?
Or i am wrong somewhere but ... ???

best regards,
romain
 
No i have a suscription and so i get this repository (entreprise) :
root@bigz1:~# cat /etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian wheezy pve-enterprise


and it's working.

i have done:
apt-get update

apt-get dist-upgrade or apt-get upgrade
but my package zfs-initramfs is always : Version: 0.6.3-2~wheezy
So how change it to 0.6.4.1~wheezy ?
and same for:
Package: libzfs2
Priority: extra
Section: libs
Installed-Size: 288
Maintainer: Proxmox Support Team <support@proxmox.com>
Architecture: amd64
Source: zfs-linux
Version: 0.6.3-2~wheezy


so question remaindid the 0.6.4.1 are inside the entreprise repository or not ? and if not, when it will be available ?
Or i am wrong somewhere but ... ???

best regards,
romain
Hi Romain,
I have following versions with pve-enterprise:
Code:
root@proxmox1:~# dpkg -l | grep zfs
ii  libzfs2                          0.6.4-3~wheezy                amd64        Native ZFS filesystem library for Linux
ii  zfs-doc                          0.6.3-3~wheezy                amd64        Native OpenZFS filesystem documentation and examples.
zfs-initramfs is not installed, but looks also not bad:
Code:
apt-cache showpkg zfs-initramfs
Package: zfs-initramfs
Versions: 
0.6.4-3~wheezy (/var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages
                  MD5: 0f12e9cf960fa2d4b64d1316e8624dfd

0.6.3-3~wheezy (/var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages
                  MD5: fb044591d900c52c8a5a00fccaff5881

0.6.3-2~wheezy (/var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages
                  MD5: fb044591d900c52c8a5a00fccaff5881


Reverse Depends: 
  zfsutils,zfs-initramfs
  zfsutils,zfs-initramfs
  zfsutils,zfs-initramfs
Dependencies: 
0.6.4-3~wheezy - initramfs-tools (0 (null)) zfsutils (0 (null)) 
0.6.3-3~wheezy - zfs-doc (0 (null)) zfsutils (0 (null)) 
0.6.3-2~wheezy - zfs-doc (0 (null)) zfsutils (0 (null)) 
Provides: 
0.6.4-3~wheezy - 
0.6.3-3~wheezy - 
0.6.3-2~wheezy - 
Reverse Provides:
Udo
 
Hi Romain,
I have following versions with pve-enterprise:
Code:
root@proxmox1:~# dpkg -l | grep zfs
ii  libzfs2                          0.6.4-3~wheezy                amd64        Native ZFS filesystem library for Linux
ii  zfs-doc                          0.6.3-3~wheezy                amd64        Native OpenZFS filesystem documentation and examples.
zfs-initramfs is not installed, but looks also not bad:
Code:
apt-cache showpkg zfs-initramfs
Package: zfs-initramfs
Versions: 
0.6.4-3~wheezy (/var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages
                  MD5: 0f12e9cf960fa2d4b64d1316e8624dfd

0.6.3-3~wheezy (/var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages
                  MD5: fb044591d900c52c8a5a00fccaff5881

0.6.3-2~wheezy (/var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages
                  MD5: fb044591d900c52c8a5a00fccaff5881


Reverse Depends: 
  zfsutils,zfs-initramfs
  zfsutils,zfs-initramfs
  zfsutils,zfs-initramfs
Dependencies: 
0.6.4-3~wheezy - initramfs-tools (0 (null)) zfsutils (0 (null)) 
0.6.3-3~wheezy - zfs-doc (0 (null)) zfsutils (0 (null)) 
0.6.3-2~wheezy - zfs-doc (0 (null)) zfsutils (0 (null)) 
Provides: 
0.6.4-3~wheezy - 
0.6.3-3~wheezy - 
0.6.3-2~wheezy - 
Reverse Provides:
Udo



Ok i am sincerely confuse.
I beleive i missread apt-cache show package-name and see the last line but it was showing all available package in the repository ....

and so i am already in 0.6.4-3~wheezy

root@bigz1:~# apt-cache showpkg libzfs2
Package: libzfs2
Versions:
0.6.4-3~wheezy (/var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages) (/var/lib/dpkg/status)
Description Language:
File: /var/lib/apt/lists/enterprise.proxmox.com_debian_dists_wheezy_pve-enterprise_binary-amd64_Packages
MD5: 88f44307dcd9d56b17121165b8481b6f
.....

and

root@bigz1:~# dpkg -l | grep zfs
ii libzfs2 0.6.4-3~wheezy amd64 Native ZFS filesystem library for Linux
ii zfs-doc 0.6.3-3~wheezy amd64 Native OpenZFS filesystem documentation and examples.
ii zfs-initramfs 0.6.4-3~wheezy amd64 Native ZFS root filesystem capabilities for Linux
ii zfsutils 0.6.4-3~wheezy amd64 command-line tools to manage ZFS filesystems

goups ....

So sorry for that.
But it's usefull for me to learn about about zpool upgrade

best regards,

romain
 
When you have new version installed... and yes you have. This Version works only with the newest Kernels pve-kernel-2.6.32-39-pve or pve-kernel-3.10.0-10-pve. You must reboot the machine to the new Kernel then you can upgrade the zpool

Code:
zpool upgrade -a

This is all.