On 15/06/2024 13:19, Phil Ashby wrote:
Hi Phil, long time no see! I trust all is well.
On 15/06/2024 12:00, Laurie Brown laurie@brownowl.com wrote:
... Disk /dev/mapper/ddf1_RAID10: 931 GiB, 999653638144 bytes, 1952448512 sectors
Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes ... Device Boot Start End Sectors Size Id Type /dev/mapper/ddf1_RAID10-part1 1 4294967295 4294967295 2T ee GPT ... So it has a partition - but I can't find a way to mount it.> mount /dev/mapper/ddf1_RAID10-part1 /mnt/test mount: /mnt/test: special device /dev/mapper/ddf1_RAID10-part1 does not exist.
Hi Laurie, I'd guess that whatever distro you are running doesn't like the GPT partition format, so hasn't created the device file(s) for each
I'm running the latest Mint Cinnamon, based on the latest Ubuntu, kernel 5.15.0-91-generic. This is because it's what I already have here.
I only have 4 sata connections in this machine (which is the only one which will see the BIOS in the LSI card I dumped), so as the RAID10 disks take them all, I'm using the Live CD in a USB stick.
partition. I'd go for the simple option of creating a loopback device using the sector size & offsets in the partition table: # losetup -o 512 -b 512 -f /dev/mapper/ddf1_RAID0
This should make you a new /dev/loop<n> that avoids existing ones (probably your USB boot stick), which you can mount as NTFS or whatever.
If losetup doesn't like having a block device underneath, then more messing with dmsetup should be able to achieve the same (but I've never done that...)
I've never used a loopback device deliberately, so this is uncharted territory to me...
Good luck, Phil.
Thanks. I need it!
PS: Did you check in /dev/disk/... for those partitions?
Yes, they are there, as follows:
---- cut here ---- /dev/disk/by-id: total 0 drwxr-xr-x 2 root root 280 Jun 14 14:25 . drwxr-xr-x 7 root root 140 Jun 14 14:24 .. lrwxrwxrwx 1 root root 9 Jun 14 14:25 ata-WDC_WDS100T1R0A-68A4W0_241337801697 -> ../../sdc lrwxrwxrwx 1 root root 9 Jun 14 14:25 ata-WDC_WDS100T1R0A-68A4W0_241444800870 -> ../../sda lrwxrwxrwx 1 root root 9 Jun 14 14:25 ata-WDC_WDS100T1R0A-68A4W0_241444800946 -> ../../sdd lrwxrwxrwx 1 root root 9 Jun 14 14:25 ata-WDC_WDS100T1R0A-68A4W0_241444801060 -> ../../sdb lrwxrwxrwx 1 root root 10 Jun 14 14:25 dm-name-ddf1_RAID10 -> ../../dm-0 lrwxrwxrwx 1 root root 10 Jun 14 14:25 dm-uuid-DMRAID-ddf1_RAID10 -> ../../dm-0 lrwxrwxrwx 1 root root 9 Jun 14 14:25 usb-SanDisk_Ultra_4C531000461128109501-0:0 -> ../../sde lrwxrwxrwx 1 root root 10 Jun 14 14:25 usb-SanDisk_Ultra_4C531000461128109501-0:0-part1 -> ../../sde1 lrwxrwxrwx 1 root root 9 Jun 14 14:25 wwn-0x5001b448c4d0ea34 -> ../../sdd lrwxrwxrwx 1 root root 9 Jun 14 14:25 wwn-0x5001b448c4dbeaad -> ../../sdc lrwxrwxrwx 1 root root 9 Jun 14 14:25 wwn-0x5001b448c4dcdb20 -> ../../sdb lrwxrwxrwx 1 root root 9 Jun 14 14:25 wwn-0x5001b448c4dcdb3f -> ../../sda ---- cut here ----
and
---- cut here ---- /dev/disk/by-path: total 0 drwxr-xr-x 2 root root 240 Jun 14 14:25 . drwxr-xr-x 7 root root 140 Jun 14 14:24 .. lrwxrwxrwx 1 root root 9 Jun 14 14:25 pci-0000:00:11.0-ata-1 -> ../../sda lrwxrwxrwx 1 root root 9 Jun 14 14:25 pci-0000:00:11.0-ata-1.0 -> ../../sda lrwxrwxrwx 1 root root 9 Jun 14 14:25 pci-0000:00:11.0-ata-2 -> ../../sdb lrwxrwxrwx 1 root root 9 Jun 14 14:25 pci-0000:00:11.0-ata-2.0 -> ../../sdb lrwxrwxrwx 1 root root 9 Jun 14 14:25 pci-0000:00:11.0-ata-3 -> ../../sdc lrwxrwxrwx 1 root root 9 Jun 14 14:25 pci-0000:00:11.0-ata-3.0 -> ../../sdc lrwxrwxrwx 1 root root 9 Jun 14 14:25 pci-0000:00:11.0-ata-4 -> ../../sdd lrwxrwxrwx 1 root root 9 Jun 14 14:25 pci-0000:00:11.0-ata-4.0 -> ../../sdd lrwxrwxrwx 1 root root 9 Jun 14 14:25 pci-0000:00:12.2-usb-0:1:1.0-scsi-0:0:0:0 -> ../../sde lrwxrwxrwx 1 root root 10 Jun 14 14:25 pci-0000:00:12.2-usb-0:1:1.0-scsi-0:0:0:0-part1 -> ../../sde1 ---- cut here ----
It doesn't illuminate things for me, really.
Cheers, Laurie.