Cannot Move Disk To ZFS Storage, Name Does Not Match

May 18, 2019
231
15
38
Varies
Code:
# cat /etc/pve/storage.cfg
lvmthin: lvmt_containers1-nvme1
        thinpool lvmt_containers1
        vgname lvmt_containers1
        content images,rootdir
        nodes node2

dir: local
        disable
        path /var/lib/vz
        content snippets
        maxfiles 0
        shared 0

zfspool: zfs-storage-sdx5
        pool zfs-storage-sdx5
        blocksize 128k
        content images,rootdir
        sparse 1

dir: dir_zfs-storage-sdx5
        path /mnt/storage/backups-pve
        content backup,iso,vztmpl,snippets
        maxfiles 2

Code:
# df -h
Filesystem        Size  Used Avail Use% Mounted on
udev               16G     0   16G   0% /dev
tmpfs             3.2G  7.8M  3.2G   1% /run
/dev/md0           49G  5.1G   42G  11% /
tmpfs              16G   43M   16G   1% /dev/shm
tmpfs             5.0M     0  5.0M   0% /run/lock
tmpfs              16G     0   16G   0% /sys/fs/cgroup
/dev/sda1         487M  5.3M  481M   2% /boot/efi
zfs-storage-sdx5  3.3T  921G  2.4T  29% /mnt/storage
zfs-dedup-sdx4    193G  128K  193G   1% /zfs-dedup-sdx4
/dev/fuse          30M   28K   30M   1% /etc/pve
tmpfs             3.2G     0  3.2G   0% /run/user/1000


Code:
# zpool list
NAME               SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
zfs-dedup-sdx4     199G  1.41M   199G        -         -     0%     0%  1.00x    ONLINE  -
zfs-storage-sdx5  3.31T   923G  2.41T        -         -     0%    27%  1.00x    ONLINE  -

I used `zfs set mountpoint=/mnt/storage/ zfs-storage-sdx5` after creating the pool. If I try to move a container volume to this ZFS pool, it shows up as available:

wyNlJFc.png


but when I try to move I get `TASK ERROR: cannot open directory //zfs-storage-sdx5: No such file or directory `

Do I have to use the default mountpoint or is there a way to inform pve of the mountpoint (by editing storage.cfg)?

PS All software is current version.
 
Do I have to use the default mountpoint or is there a way to inform pve of the mountpoint (by editing storage.cfg)?
You can't change the mount point.
This is hardcoded and can't be changed.
 
I never test it.
But why you do the symlink not in the other direction?
 
  • Like
Reactions: Proxygen

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!