unable to start/mount container

AxelTwin

Well-Known Member
Oct 10, 2017
133
6
58
39
Hi everybody.
We are having trouble to start containers that we imported from another node.
They were not moved from backup/restore process, we transfered the disk and the config file from old to new server.

here is the output when we try to mount the container:

Code:
root@proxmox1:~# pct mount 112
cannot open 'rpool/subvol-112-disk-0': dataset does not exist
mounting container failed
command 'zfs set 'acltype=posixacl' rpool/subvol-112-disk-0' failed: exit code 1

root@proxmox1:~# zpool list
NAME    SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
rpool  7.19T   302G  6.89T         -     1%     4%  1.00x  ONLINE  -

root@proxmox1:~# zfs list
NAME                      USED  AVAIL  REFER  MOUNTPOINT
rpool                     349G  6.62T   264G  /rpool
rpool/subvol-100-disk-0  1.43G  8.57G  1.43G  /rpool/subvol-100-disk-0
rpool/subvol-102-disk-0  1.71G  18.3G  1.71G  /rpool/subvol-102-disk-0
rpool/subvol-104-disk-0  3.61G  36.4G  3.61G  /rpool/subvol-104-disk-0
rpool/subvol-106-disk-0  1.63G  28.4G  1.63G  /rpool/subvol-106-disk-0
rpool/subvol-113-disk-0  2.45G  47.5G  2.45G  /rpool/subvol-113-disk-0
rpool/vm-201-disk-0      12.4G  6.63T  3.69G  -
rpool/vm-203-disk-0      30.9G  6.65T  4.95G  -
rpool/vm-206-disk-0      30.9G  6.63T  18.7G  -

root@proxmox1:~# ls -l /rpool/
total 77
drwxr-xr-x 21 100000 100000 21 Jun 29 13:40 subvol-100-disk-0
drwxr-xr-x 21 root   root   21 Jun 29 09:23 subvol-102-disk-0
drwxr-xr-x 21 100000 100000 21 Jun 29 09:23 subvol-104-disk-0
drwxr-xr-x 21 root   root   22 Jun 29 12:14 subvol-106-disk-0
drwxr-xr-x 21 root   root   22 Jun 29 09:23 subvol-107-disk-0
drwxr-xr-x 21 root   root   22 Jun 20 19:13 subvol-109-disk-0
drwxr-xr-x 22 root   root   25 Jun 29 11:55 subvol-112-disk-0
drwxr-xr-x 21 100000 100000 21 Jun 29 12:15 subvol-113-disk-0
drwxr-xr-x 21 root   root   25 Jun 20 19:14 subvol-119-disk-0
 
Last edited:
cannot open 'rpool/subvol-112-disk-0': dataset does not exist
root@proxmox1:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 349G 6.62T 264G /rpool
rpool/subvol-100-disk-0 1.43G 8.57G 1.43G /rpool/subvol-100-disk-0
rpool/subvol-102-disk-0 1.71G 18.3G 1.71G /rpool/subvol-102-disk-0
rpool/subvol-104-disk-0 3.61G 36.4G 3.61G /rpool/subvol-104-disk-0
rpool/subvol-106-disk-0 1.63G 28.4G 1.63G /rpool/subvol-106-disk-0
rpool/subvol-113-disk-0 2.45G 47.5G 2.45G /rpool/subvol-113-disk-0
rpool/vm-201-disk-0 12.4G 6.63T 3.69G -
rpool/vm-203-disk-0 30.9G 6.65T 4.95G -
rpool/vm-206-disk-0 30.9G 6.63T 18.7G -

there is no subvolume 'subvol-112-disk-0' .. i am not sure you transferred the disks, but this disk is still missing
 
the disk has been transfered.
apparently we are facing issues with the disks where acl are set to "enable". the container doesn't start if they are not set to default. I did it and the container started but it messes up everything with samba. the AD not working, people can't access their shares....
I am having really bad time with the cuistomers right now.
I don't know what to do, I opened a ticket with support, hope,they will pick it up soon and find a solution
 
the disk has been transfered.
did you only transfer the data and not the actual subvolume?

if yes, then what you have to do is:

1. move the data away (e.g. mv /rpool/subvol.... /rpool/tmpsubvolu...)
2. create the subvolume by hand ( zfs create /rpool/subvol.... )
3. copy the data back
 
we had to transfer the subvolume from rpool/data and the config file to a new proxmox on a new zfs pool
 
rsync from old proxmox to new one
I created a subvolume and transfered the data inside the old subvolume to the new one
the zfs-pool and dataset were created during installation.
 
did you only transfer the data and not the actual subvolume?

if yes, then what you have to do is:

1. move the data away (e.g. mv /rpool/subvol.... /rpool/tmpsubvolu...)
2. create the subvolume by hand ( zfs create /rpool/subvol.... )
3. copy the data back

This seems to work
 

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!