Hello All,
I decided to re-build my plex server into an unprivileged container. Was going through the backup/restore method per PVE documentation, ran into the /dev/urandom issue with the backup restoration. Didn't have time at the moment so figured I'd deal with it later. Come in today, the LXC for plex is gone, as is the secondary drive for data I had on mp0. I run zpool history for ultimate sadness:
I'm guessing I fucked up here by not removing the data drive from mp0 before attempting the restore (the zfs destroy above happens right after the restore starts...)? I never ran a remove or purge on the CT nor deleted the disk from the PVE GUI.
Any ideas for restoring that disk/dataset? I don't have snapshots, but it was a mirror and there hasn't been a ton written to the zfs pool since.
I decided to re-build my plex server into an unprivileged container. Was going through the backup/restore method per PVE documentation, ran into the /dev/urandom issue with the backup restoration. Didn't have time at the moment so figured I'd deal with it later. Come in today, the LXC for plex is gone, as is the secondary drive for data I had on mp0. I run zpool history for ultimate sadness:
Code:
2021-01-01.11:44:35 zpool import -c /etc/zfs/zpool.cache -aN
2021-01-10.00:24:10 zpool scrub zfs_pool
2021-01-16.13:37:01 zfs destroy -r zfs_pool/subvol-103-disk-1
2021-01-17.16:44:00 zpool import -c /etc/zfs/zpool.cache -aN
I'm guessing I fucked up here by not removing the data drive from mp0 before attempting the restore (the zfs destroy above happens right after the restore starts...)? I never ran a remove or purge on the CT nor deleted the disk from the PVE GUI.
Code:
root@pve:/var/log# grep -r restore *
daemon.log.1:Jan 16 13:36:45 pve pvedaemon[2329]: <root@pam> starting task UPID:icarus:00003AF1:07C3D39D:6003323D:vzrestore:103:root@pam:
daemon.log.1:Jan 16 13:38:22 pve pvedaemon[15089]: unable to restore CT 103 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/103/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
daemon.log.1:Jan 16 13:38:22 pve pvedaemon[2329]: <root@pam> end task UPID:icarus:00003AF1:07C3D39D:6003323D:vzrestore:103:root@pam: unable to restore CT 103 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/103/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
Any ideas for restoring that disk/dataset? I don't have snapshots, but it was a mirror and there hasn't been a ton written to the zfs pool since.