You are not logged in.

#1 2023-03-18 14:56:31

Trayambak
Member
Registered: 2023-03-18
Posts: 1

Accidentally resized Btrfs filesystem, mount syscalls now fail

Greetings, I recently tried to do something pretty stupid with my partition. I tried resizing the root partition from 111GB to 110GB. And, now when I try to mount the filesystem now, it just gives these errors:

> device total_bytes should be at most 118094823424 but found 119800856576
> failed to read chunk tree: -22
> open_ctree failed

I have truncated these error messages because I can't type everything out right now. I tried to use cfdisk to restore the original size, but now it just says that is unable to resize the partition without any further information.

Is there *any* way I can restore this partition, or at least recover the data? To add the cherry on top of the cake, this partition is encrypted with LUKS. Any help would be appreciated. Thanks.

Offline

Board footer

Powered by FluxBB