On 2/21/21 1:15 PM, George R Goffe via test wrote:
I have converted a large ext4 filesystem to btrfs and by accident deleted an 
important users home directory. Reading btrfs doc seems to imply that the 
directory can be recovered without reverting the filesystem to ext4.

First, you should never try converting important data without a backup...

What I've read seems to be telling me to mount the subvolume ext2_saved and 
then mount the image file residing in that directory.

I am VERY new to btrfs and am seeing some troubling output (see below).

Here's what I've done and what I'm seeing. Could someone help me with this 
please?

ls -al /ext2_saved
total 1699142444
drwxr-xr-x   1 root root            10 Feb 16 06:07 .
dr-xr-xr-x. 81 root root         12288 Feb 21 12:51 ..
-r--------   1 root root 1777055391744 Feb 16 06:07 image
fc35-bash 5.1 ~#
fc35-bash 5.1 ~#
fc35-bash 5.1 ~# mount -t ext4 -o loop,ro /ext2_saved/image /ext4
mount: /ext4: can't read superblock on /dev/loop0.

I don't know much about btrfs, but what does "file /ext2_saved/image" say?
_______________________________________________
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to