[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.