Hi, I have the same issue, but the command does not work. Instead it outputs:
/dev/sdh is in use and contains a unknown filesystem.
Status:
# zpool status
pool: tank
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient...
Thanks for the response, Wolfgang.
Got it working, and wow it seems much easier than fiddling with uid mappings I’m surprised it isn’t suggested in the wiki or something... I had a hard time finding this was even an alternative over the current suggested uid mapping method in the wiki.
Enough to get it to work for me is
vzdump <vmid> --exclude-path /var/spool/postfix/dev/random --exclude-path /var/spool/postfix/dev/urandom
pct restore <vmid> <backup_file> --unprivileged
Would you mind giving an example on how to set the acl on the host to allow unprivileged containers access to a mounted directory/file? I'm having some trouble with this myself.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.