Re: Need help with btrfs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 21, 2021 at 2:34 PM Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
>
> On Sun, Feb 21, 2021 at 2:16 PM George R Goffe via test
> <test@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > fc35-bash 5.1 ~# mount -t ext4 -o loop,ro /ext2_saved/image /ext4
> > mount: /ext4: can't read superblock on /dev/loop0.
>
> Hmm. That's unexpected though. I'm going to try it in a VM. It should work.

Works for me. But I'm confused by your paths, i.e. are you really
creating /ext2_saved and /ext4 in the root directory?

Assume root user:

mount /dev/vdb /mnt/btrfs
mount -t ext4 -o ro,loop /mnt/btrfs/ext2_saved/image /mnt/ext4

That works for me. But you could alternatively try:

mount /dev/vdb /mnt/btrfs
losetup -r /dev/loop0 /mnt/btrfs/ext2_saved/image
blkid /dev/loop0

What file system does libblkid think it is? Could be ext2, ext3, or
ext4, in which case mount -t ext4 exclusively mounts ext4 and will
otherwise fail.


-- 
Chris Murphy
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux