Search found 2 matches

by hollymcr
18 Nov 2023, 19:04
Forum: Filesystem repair
Topic: Mounting a filesystem with dmsetup
Replies: 1
Views: 19184

Re: Mounting a filesystem with dmsetup

FWIW I have solved the problem a different way:

# Locate the EXT4 partition using grep
$ sudo grep -obaU -m 1 -e $'\x53\xef' /dev/sdf
136315960:S▒

# Mount it
$ sudo mkdir /mnt/sdf
$ sudo mount -o loop,offset=$((136315960-1080)) /dev/sdf /mnt/sdf


I don't know how those numbers relate to ...
by hollymcr
18 Nov 2023, 18:36
Forum: Filesystem repair
Topic: Mounting a filesystem with dmsetup
Replies: 1
Views: 19184

Mounting a filesystem with dmsetup

I have a disk removed from an mdadm RAID1 array which mdadm refuses to work with. However testdisk can find the EXT4 filesystem and browse the files.

There are several TB of files to recover which I need to rsync to a new disk so I would like to mount the filesystem using dmsetup but I'm not having ...