Proxmox 3.x ZFS did not mount after node reboot.

pvenoob24

New Member
Dec 29, 2016
8
0
1
63
I recently started working at a location that uses Proxmox 3.x with kernel Linux ilsbnode2 2.6.32-48-pve #1 SMP Fri Nov 25 06:28:35 CET 2016 x86_64 GNU/Linux. There are several openVZ containers. There is just one node. There is a ZFS filesystem. Since the system was built, the ZFS file system had grown to petabytes. Things I noticed. No multi node cluster. Single point of failure, local storage and no backups. I was going to start planning a redesign with a four node HA cluster after some study. The node rebooted unexpectingly on 12/19/2016. As a result, the ZFS file system failed to mount. The openVZ containers would not start because ZFS file systems failed to mount. The conclusion was to plan an upgrade to version 4 and preserve the ZFS data. I was able to ssh in remotely to the node and run the GUI and see the containers. Once I came back to the server room, I found that the pve services are not running and I cannot find the ZFS data.
 
You should put a question, to get an answer.

Anyway, the reason why you are not able to see them is because they are not mounted. They are not mounted because the folder structure is already there when zfs mount runs. Search for this, there were some solutions.
 
  • Like
Reactions: pvenoob24
I did find these.

root@ilsbnode2:/var/lib/ssd2# ls -la
total 20
drwxr-xr-x 5 root root 4096 Nov 21 2014 .
drwxr-xr-x 69 root root 4096 Dec 27 12:26 ..
drwxr-xr-x 2 root root 4096 Nov 10 2015 dump
drwxr-xr-x 8 root root 4096 Feb 9 2016 private
drwxr-xr-x 2 root root 4096 Feb 9 2016 vztmp
root@ilsbnode2:/var/lib/ssd2# cd dump
root@ilsbnode2:/var/lib/ssd2/dump# ls -la
total 6849580
drwxr-xr-x 2 root root 4096 Nov 10 2015 .
drwxr-xr-x 5 root root 4096 Nov 21 2014 ..
-rw-r--r-- 1 root root 852 Nov 2 2015 vzdump-openvz-105-2015_11_02-12_15_12.log
-rw-r--r-- 1 root root 4452848872 Nov 2 2015 vzdump-openvz-105-2015_11_02-12_15_12.tar.lzo
-rw-r--r-- 1 root root 687 Nov 2 2015 vzdump-openvz-108-2015_11_02-12_47_14.log
-rw-r--r-- 1 root root 1077343784 Nov 2 2015 vzdump-openvz-108-2015_11_02-12_47_14.tar.lzo
-rw-r--r-- 1 root root 2839 Nov 10 2015 vzdump-openvz-109-2015_11_10-16_35_13.log
-rw-r--r-- 1 root root 1028910028 Nov 10 2015 vzdump-openvz-109-2015_11_10-16_35_13.tar.lzo
-rw-r--r-- 1 root root 686 Nov 2 2015 vzdump-openvz-116-2015_11_02-12_51_47.log
-rw-r--r-- 1 root root 447962705 Nov 2 2015 vzdump-openvz-116-2015_11_02-12_51_47.tar.lzo
root@ilsbnode2:/var/lib/ssd2/dump#
 
Is there a way to upgrade to version 4.0 without losing my ZFS data? I have looked but have yet to find any concrete answers.
 
You should put a question, to get an answer.

Anyway, the reason why you are not able to see them is because they are not mounted. They are not mounted because the folder structure is already there when zfs mount runs. Search for this, there were some solutions.

Thank you for the reassurance on that.
 

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!