On Sunday I manually shut down my proxmox ve server for a planned power outage. During this process I did the following:
1: shut down my samba file server container (#107)
2: deleted an old test VM (VM105)
-there was an option to included purging unreferenced disks, I wanted to recover the storage space so I enabled this thinking it would ONLY purge the storage referenced by THIS vm (vm105).
3: shut down my other vm's and containers (pfsense, etc)
4: shut down the host after waiting for all tasks to complete
Upon starting the host after power was restored the subvolume for the file server was gone (no trace of subvolume 107 on /rpool2 anymore).
I did some searching and found a command to check the snapshots for a copy and...I have no snapshots. Something I thought I had configured previously, but here I am.
root@pve:/# zfs list -t snapshot
no datasets available
root@pve:/# zfs list -t snapshot /rpool2
no datasets available
Question 1:
I think I already know the answer, but is there any possibility of 'undeleting' the missing subvolume short of recreating it and restoring from an external backup?
Question 2:
Was it the purge option from step 2 which may have caused this to happen? I'm trying to understand what happened and learn something useful from it.
1: shut down my samba file server container (#107)
2: deleted an old test VM (VM105)
-there was an option to included purging unreferenced disks, I wanted to recover the storage space so I enabled this thinking it would ONLY purge the storage referenced by THIS vm (vm105).
3: shut down my other vm's and containers (pfsense, etc)
4: shut down the host after waiting for all tasks to complete
Upon starting the host after power was restored the subvolume for the file server was gone (no trace of subvolume 107 on /rpool2 anymore).
I did some searching and found a command to check the snapshots for a copy and...I have no snapshots. Something I thought I had configured previously, but here I am.
root@pve:/# zfs list -t snapshot
no datasets available
root@pve:/# zfs list -t snapshot /rpool2
no datasets available
Question 1:
I think I already know the answer, but is there any possibility of 'undeleting' the missing subvolume short of recreating it and restoring from an external backup?
Question 2:
Was it the purge option from step 2 which may have caused this to happen? I'm trying to understand what happened and learn something useful from it.