Unable to clone VM - directory is expected to be a mount point but is not mounted: '/mnt/pve/data-1'

simonjcarr

New Member
Apr 30, 2021
7
0
1
56
Hi, I have 4 nodes in a ProxMox cluster (cloud1, cloud2, ....) , one each node I have created directory storage on `/dev/sdb` with names (data-1, data-2 ....). Each directory is shared and mounted on all the other nodes also.

On Cloud3 I have created a ubuntu VM. When I click `Clone` I choose

Target Node: cloud1
VM ID: 107
Target Storage: data-1
name: k8s-1-1
Format: QEMU Image format (qcow2)

I click clone, but it fails with error message


Code:
create full clone of drive scsi0 (data-3:102/vm-102-disk-0.qcow2)
TASK ERROR: clone failed: unable to activate storage 'data-1' - directory is expected to be a mount point but is not mounted: '/mnt/pve/data-1'


I am getting this issue on all my nodes, although cloning locally to the same source works OK.

Here is the contents of `/etc/pve/storage.cfg` on cloud3


Code:
dir: local
    path /var/lib/vz
    content backup,vztmpl,iso

lvmthin: local-lvm
    thinpool data
    vgname pve
    content rootdir,images

nfs: nfs_primary
    export /volume1/cloud_primary_storage
    path /mnt/pve/nfs_primary
    server 192.168.1.11
    content iso,backup,images,snippets,rootdir,vztmpl
    prune-backups keep-all=1

dir: data-1
    path /mnt/pve/data-1
    content iso,images,backup,rootdir,snippets,vztmpl
    is_mountpoint 1
    nodes cloud1,cloud2,cloud3,cloud4
    prune-backups keep-last=3
    shared 1

dir: data-2
    path /mnt/pve/data-2
    content vztmpl,rootdir,snippets,backup,images,iso
    is_mountpoint 1
    nodes cloud4,cloud2,cloud1,cloud3
    prune-backups keep-last=3
    shared 1

dir: data-3
    path /mnt/pve/data-3
    content vztmpl,iso,images,backup,rootdir,snippets
    is_mountpoint 1
    nodes cloud4,cloud3,cloud1,cloud2
    prune-backups keep-last=3
    shared 1

dir: data-4
    path /mnt/pve/data-4
    content iso,snippets,rootdir,images,backup,vztmpl
    is_mountpoint 1
    nodes cloud3,cloud2,cloud1,cloud4
    prune-backups keep-last=3
    shared 1

dir: backup
    path /backups
    content iso,rootdir,snippets,backup,images,vztmpl
    nodes cloud1,cloud2,cloud3,cloud4
    prune-backups keep-last=3,keep-monthly=1
    shared 1
 
Hi,
Hi, I have 4 nodes in a ProxMox cluster (cloud1, cloud2, ....) , one each node I have created directory storage on `/dev/sdb` with names (data-1, data-2 ....). Each directory is shared and mounted on all the other nodes also.

On Cloud3 I have created a ubuntu VM. When I click `Clone` I choose

Target Node: cloud1
VM ID: 107
Target Storage: data-1
name: k8s-1-1
Format: QEMU Image format (qcow2)

I click clone, but it fails with error message


Code:
create full clone of drive scsi0 (data-3:102/vm-102-disk-0.qcow2)
TASK ERROR: clone failed: unable to activate storage 'data-1' - directory is expected to be a mount point but is not mounted: '/mnt/pve/data-1'


I am getting this issue on all my nodes, although cloning locally to the same source works OK.

Here is the contents of `/etc/pve/storage.cfg` on cloud3


Code:
dir: local
    path /var/lib/vz
    content backup,vztmpl,iso

lvmthin: local-lvm
    thinpool data
    vgname pve
    content rootdir,images

nfs: nfs_primary
    export /volume1/cloud_primary_storage
    path /mnt/pve/nfs_primary
    server 192.168.1.11
    content iso,backup,images,snippets,rootdir,vztmpl
    prune-backups keep-all=1

dir: data-1
    path /mnt/pve/data-1
    content iso,images,backup,rootdir,snippets,vztmpl
    is_mountpoint 1
    nodes cloud1,cloud2,cloud3,cloud4
    prune-backups keep-last=3
    shared 1

dir: data-2
    path /mnt/pve/data-2
    content vztmpl,rootdir,snippets,backup,images,iso
    is_mountpoint 1
    nodes cloud4,cloud2,cloud1,cloud3
    prune-backups keep-last=3
    shared 1

dir: data-3
    path /mnt/pve/data-3
    content vztmpl,iso,images,backup,rootdir,snippets
    is_mountpoint 1
    nodes cloud4,cloud3,cloud1,cloud2
    prune-backups keep-last=3
    shared 1

dir: data-4
    path /mnt/pve/data-4
    content iso,snippets,rootdir,images,backup,vztmpl
    is_mountpoint 1
    nodes cloud3,cloud2,cloud1,cloud4
    prune-backups keep-last=3
    shared 1

dir: backup
    path /backups
    content iso,rootdir,snippets,backup,images,vztmpl
    nodes cloud1,cloud2,cloud3,cloud4
    prune-backups keep-last=3,keep-monthly=1
    shared 1
please post the output of pveversion -v on both cloud1 and cloud3 and cat /proc/mounts on cloud3.