Recently i moved from pair of 500GB to pair of 1000GB. This is how i did it.
ZFSpool - name of my old pool
ZFSpool1 - name of ma new pool
in proxmox GUI i deleted storage ZFSpool. Imported ZFSpool1 as ZFSpool and at this moment everything worked fine - ive seen data both in CLI and GUI. But i noticed that i forgot to add MIRROR at new pool creation, so i destroyed pool and remade it again. I did the same, but this time, when i imported ZFSpool and added storage in GUI i found that nothing is there (in gui CONTENT list) and my containers which have their volumes on this storage didnt start. But storage in CLI looks fine ...
I was adding and deleting storage in GUI couple times. But it didnt help.
ZFSpool - name of my old pool
ZFSpool1 - name of ma new pool
Code:
zfs snapshot ZFSpool@now
zpool create ZFSpool1 /dev/sdc /dev/sdd
zfs send ZFSpool@now | zfs receive ZFSpool1@now
in proxmox GUI i deleted storage ZFSpool. Imported ZFSpool1 as ZFSpool and at this moment everything worked fine - ive seen data both in CLI and GUI. But i noticed that i forgot to add MIRROR at new pool creation, so i destroyed pool and remade it again. I did the same, but this time, when i imported ZFSpool and added storage in GUI i found that nothing is there (in gui CONTENT list) and my containers which have their volumes on this storage didnt start. But storage in CLI looks fine ...
Code:
root@nas:~# zpool status
pool: ZFSpool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
ZFSpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
wwn-0x500003976440494c ONLINE 0 0 0
wwn-0x50004cf20e7c6946 ONLINE 0 0 0
errors: No known data errors
root@nas:~# ls -la /ZFSpool
total 44
drwxr-xr-x 16 root root 16 Oct 21 18:40 .
drwxr-xr-x 23 root root 4096 Nov 6 22:10 ..
drwxr-xr-x 2 root root 2 Oct 20 09:36 backupy
drwxr-xr-x 2 root root 2 Oct 20 19:02 basevol-100-disk-1
drwxr-xr-x 2 root root 2 Oct 21 18:08 basevol-104-disk-1
drwxr-xr-x 3 root root 3 Oct 20 09:35 dokuwiki
drwxr-xr-x 4 root root 4 Oct 21 17:24 gitea
drwxr-xr-x 3 root root 4 Apr 9 2018 gogs
drwxr-xr-x 4 root root 4 Oct 21 19:12 nextcloud
drwxrws--- 2 root rdma 2 Nov 5 21:12 pobierane
drwxr----- 4 root root 4 Nov 6 21:46 subvol-101-disk-1
drwxr----- 5 root root 5 Nov 6 21:46 subvol-102-disk-1
drwxr----- 2 root root 2 Oct 21 16:05 subvol-103-disk-1
drwxr----- 5 root root 5 Nov 6 21:46 subvol-105-disk-1
drwxrwsrwx 5 root rdma 5 Apr 14 2018 udostepnione
drwxrwsr-x 4 root root 4 Mar 28 2018 www
root@nas:~#
I was adding and deleting storage in GUI couple times. But it didnt help.