-
I'm at it.

Originally Posted by
DirkS
The method I tried (twice) on Knoppix 7.0 was, after becoming root:
Code:
# mkdir /media/test-cloop
# mount /media/sdc2/sda1_2017-03-04.cloop /media/test-cloop -o loop=/dev/cloop3,ro
I didn't even need to specify the filesystem type.
This method also works in 7.3 but fails in 7.4.2, 7.7.0 and 7.7.1
For the following tests I used /media/sr0 as mountpoint instead of creating a directory named /media/test-cloop.
Using the commands that are contained in the cloop file at the beginning, slightly modified:
Code:
#modprobe cloop file=/media/sdd2/sda1_2017-03-01.cloop; echo $?
# mount -r -t auto /dev/cloop3 /media/sr0
This works in 7.4.2, even though it took me several tries to find the correct number after /dev/cloop. But this method does not work in 7.7.0 and 7.7.1:
Code:
root@Microknoppix:/media/sdd2# mount -r -t auto /dev/cloop3 /media/sr0
mount: /dev/cloop3: Superblock konnte nicht gelesen werden (Translation: Superblock could not get read)
Also failed with all other cloop devices.
Your method:
Code:
root@Microknoppix:/media/sdd2# losetup --verbose --read-only /dev/cloop6 /media/sdd2/sda1_2017-03-04.cloop
root@Microknoppix:/media/sdd2# mount --verbose /dev/cloop6 /media/sr0
works in 7.7.0. Yay!
I have to reboot to test it in 7.7.1 and/or older versions, but I wanted to write this post with the results so far first.
By the way, while still being root I was able to do
Code:
root@Microknoppix:/media/sde2# df | grep sr0; echo $?
/dev/cloop6 307196 233384 73812 76% /media/sr0
0
root@Microknoppix:/media/sdd2# umount /dev/sr0
root@Microknoppix:/media/sdd2# df | grep sr0; echo $?
1
so umounting as root works for me. But I cannot free/detach /dec/cloop6:
Code:
root@Microknoppix:/media/sdd2# losetup --verbose -d /dev/cloop6
losetup: /dev/cloop6: Benutzung des Gerätes ist fehlgeschlagen: Erfolg (Translation: Using the device failed: Success - sorry, that's what it says.)
So indeed, at this point a reboot is required.
Last edited by DirkS; 03-12-2017 at 10:21 PM.
Reason: added some info.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99

Lot of 5 Cisco 10G SFP+ 850nm 300m Transceiver Module P/N: SFP-10G-SR-10-2415-03
$15.00

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

Cisco 10G SFP+ 850nm P/N: SFP-10G-SR (10-2415-03) *NEW SEALED
$25.00

New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US
$17.00

Cisco QSFP-40G-SR-BD Module 10-2945-02 NEW CLAMSHELL
$45.50