[SOLVED] Access to proxmox files on ZFS

Duce

Member
Oct 13, 2016
2
0
21
www.sitvps.ru
I have pve (root filesystem) installed on zfs raid1 (3 mirrored hdds). I decided to turn off my swap (swapoff -a) and edited fstab file not to load swap at boot time. As I know, I needed to do two more things: 'update-initramfs -u' and 'update-grub'.... but unfortunately at this time we had power crash accident in our server room, and pve server was powered off before executing two magic commands.
Now i can't boot my system having error at boot time:
DSC_0240.jpg
I tryed to mount/import rpool to another system and i see created zfs/datasets with all my VMs, but I don't see my /etc/fstab of pve system on that hdd.
How can i access to /etc/fstab file of pve system to change back swap loading to start the system? Or may be any other solutionts to start the system... Thanks in advance
 
Disabling swap has nothing to do with your problem. Swap is loaded from systemd, your problem is booting the initramfs. If you can import the pool on another machine, just chroot into the system, mount your environment and run update-initramfs to build a new one. Check if there is zfs support with lsinitramfs on your newly created initramfs. Check also the commandline if it is still correct.
 

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!