Recover vm after lvresize

13 views
Skip to first unread message

Filippo Merli

unread,
Aug 24, 2020, 3:31:53 PM8/24/20
to qubes-users

Hi,

after shrink a standalone vm volume with lvresize is not possible anymore access the volume data.
The vm start but is not possible to open a terminal. Is there a way to access the data from another vm or from dom0?

Ty

awokd

unread,
Aug 24, 2020, 5:19:13 PM8/24/20
to qubes...@googlegroups.com
Filippo Merli:
Enabling debug mode in Qube Settings might get you a terminal so you can
see what's wrong. Also can try sudo xl console [vmname] in dom0 when
it's powered on. It is possible to copy the volume to a file to attempt
recovery in another VM.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

Filippo Merli

unread,
Aug 25, 2020, 5:17:38 AM8/25/20
to qubes-users
Thanks, with sudo `xl console [vmname]`  I have been able to open a terminal in the damaged vm and solve the problem. The problem was that the block count of `xvdb`, the shrinked volume mounted in /rw , exceeded the size of the device. So I just set the device size with `lvresize` to a bigger one and everything seems to work.
Reply all
Reply to author
Forward
0 new messages