Tag Info

Hot answers tagged

9

When you format a drive you don't erase any of the data that on it. You only overwrite the part that keeps track of where files are (the filesystem). The only way to get rid of the data is to overwrite it. If you overwrite it with zeros as Azz suggests, an attacker will know which parts are information and which parts are zeroes instantly. Random data looks ...


6

The lack of output from losetup -a, and that fact that losetup -f gives you the first free device as /dev/loop0, shows that you haven't yet associated that loopback device with any physical storage. What unused physical partition or LVM volume do you wish to use as the actual storage for your loopback encrypted device? If it's, say, /dev/sd2a, then bind ...


2

I think your assumption about things going into read only mode when the connection to the network drive is lost is correct. I made a simple test with a just a small file on a Samba share and the same thing happens if I yank the network cable. As for a solution to the problem, I would go about it like this: Depending on how you actually do the backup, I ...


2

Loop devices are provided by a kernel module. Therefore, you need special privileges to access them. You also need them to be exposed into your container, or you need to manually create the device files. The quick answer docker run --privileged=true ... An alternative sudo losetup /dev/loop0 test.img mount /dev/loop0 /mnt docker run -v /mnt:/mnt ... ...



Only top voted, non community-wiki answers of a minimum length are eligible