ZFS Guest Storage Help

thestupidone

New Member
Aug 5, 2022
1
0
1
Hello,

I have come to a situation where I need to mount a ZFS dataset that contains a guest storage block as Read/Write. I can not seem to be able to manipulate the files I need to rescue myself. I have tried using `zfs mount -o remount,noatime,rw rpool` to set the permission I need then mounting using `mount /dev/zd0p2 /media/windows/' I have even tried using the -o rw option, but, to no success. Can anyone give me some pointers?

For context, my guest is running Windows Server 2019, and I need to get a file changed to rescue an admin account.
 
Last edited:
I need then mounting using `mount /dev/zd0p2 /media/windows/' I have even tried using the -o rw option, but, to no success. Can anyone give me some pointers?
That is normally the way to go it the zvol (zd0p2) is the correct one. What error do you get? I suppose some errors mounting due to not clean?
 
Besides getting the actual error to see what can be done, consider that you can also access VM disks stored on a ZFS pool via /dev/zvol/<pool>/<optional datasets>/vm-....-part.... They are symlinks to the actual /dev/zdX device paths, but match the output you get from zfs list.
 

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!