[PVE-User] create zfs pool issue - workaround exists

Pongrácz István pongracz.istvan at gmail.com
Wed Jul 29 22:12:41 CEST 2015


 Hi,

I reproduced the situation. There is a workaround with the new packages, check the las few steps below.

Steps:

 
I installed a new PVE 3.4 from iso.
 
Changed the pve repository to pve-no-subscription
 
and did an apt-get update, apt-get dist-upgrade
 
kernel and zfs got upgraded, including newly generated initramfs images
 
reboot
 
tried to create a new pool using new drives -> zpool create -o ashift=12 -f tank2 mirror ata-VBOX_HARDDISK_VB1da9b627-78ce7cfc ata-VBOX_HARDDISK_VB33d82a74-c68d4c2e mirror ata-VBOX_HARDDISK_VB747687a6-65a6e895 ata-VBOX_HARDDISK_VBb90fec86-d12f314e
 cannot create 'tank2': invalid argument for this pool operation
 
specified an old format:
 zpool create -o ashift=12 -o version=28 -f tank2 mirror ata-VBOX_HARDDISK_VB1da9b627-78ce7cfc ata-VBOX_HARDDISK_VB33d82a74-c68d4c2e mirror ata-VBOX_HARDDISK_VB747687a6-65a6e895 ata-VBOX_HARDDISK_VBb90fec86-d12f314e
 -> it worked
 
pool: tank2
 state: ONLINE
 status: The pool is formatted using a legacy on-disk format. The pool can
 still be used, but some features are unavailable.
 action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
 pool will no longer be accessible on software that does not support
 feature flags.
 scan: none requested
 config:
 NAME STATE READ WRITE CKSUM
 tank2 ONLINE 0 0 0
 mirror-0 ONLINE 0 0 0
 ata-VBOX_HARDDISK_VB1da9b627-78ce7cfc ONLINE 0 0 0
 ata-VBOX_HARDDISK_VB33d82a74-c68d4c2e ONLINE 0 0 0
 mirror-1 ONLINE 0 0 0
 ata-VBOX_HARDDISK_VB747687a6-65a6e895 ONLINE 0 0 0
 ata-VBOX_HARDDISK_VBb90fec86-d12f314e ONLINE 0 0 0
 
I tried to upgrade the new pool: 
 zpool upgrade tank2
 This system supports ZFS pool feature flags.
 Successfully upgraded 'tank2' from version 28 to feature flags.
 Enabled the following features on 'tank2':
 async_destroy
 empty_bpobj
 lz4_compress
 spacemap_histogram
 enabled_txg
 hole_birth
 extensible_dataset
 embedded_data
 bookmarks
 cannot set property for 'tank2': invalid argument for this pool operation
 
creating new "filesystems" under tank2 is working
 
reboot -> surprise -> tank 2 started using sdg/sdh etc. instead of their IDs
 
still got cannot set property for 'tank2': invalid argument for this pool operation on zpool upgrade
 
zpool destroy tank2 is working
 
creating tank2 without -o version=28 failed again
 
creating tank2 with -o version=28 is working
 
 


So, at this moment that's all. I will check it later.

Bye,

István



 

 

 

 

 

>
>
>
> 
>
>
>
> 
>
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20150729/5a29d9d5/attachment.htm>


More information about the pve-user mailing list