Replies: 2 comments 1 reply
-
It sounds like from within the VM you can run |
Beta Was this translation helpful? Give feedback.
-
You're right, |
Beta Was this translation helpful? Give feedback.
-
It sounds like from within the VM you can run |
Beta Was this translation helpful? Give feedback.
-
You're right, |
Beta Was this translation helpful? Give feedback.
-
System information
Describe the problem you're observing
I'm trying to get a valid image of a live zpool. I expected that
zpool checkpoint
should do this for me, but I'm at least running into some issue (perhaps a PEBCAK).The pool in question has a single-vdev (~1TB). I want to capture an image of it, and import the image in a VM to diagnose a presumably unrelated problem. (I could bring the system down to single-user mode, unmount the pool, make the image, and then bring the computer back up, but I wanted to try something more elegant. I'm also not sure if I'm just doing something dumb right now.)
Describe how to reproduce the problem
On the host
(
/dev/poolvdev
is the disk not the partition on the disk).Then, add the associated qcow2 to the VM as
/dev/vdb
.On the guest, get txgid from
zdb -k -l /dev/vdb1
:Finally:
I get
Include any warning/errors/backtraces from the system logs
With
all_syslog.sh
enabled for zed, there are no dmesg entries, and no new zed output upon running the zpool import commands.I did try
zpool import -f --rewind-to-checkpoint poolname
(which failed) before the above---could that have contributed to the problem?Beta Was this translation helpful? Give feedback.
All reactions