Hi,
Can anyone of you put some light in this subject, how to do to wipe files from a btrfs filesytem?
(wipe, sfill, shred, dd,..) I think most of them should work as long as there's not a taken snapshot, but im not sure about it...
Now, im using snaphots as a shrindding method, I'm taking a btrfs snapshot before adding files, then to wipe thoses files, I rollback to the previously snapshot, and then, i delete the subvolume with the files to be wiped, so this way (subvolume deleted) should prevent any information to be recovered,
and finally, i shrink the free filesystem space which should contain deleted subvolume (sfill -fvl /), but im not sure if this is enought..
(i'd like need to know if this method can be hacked, and files recovered)
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
secure wiping in BTRFS filesystem ?
Re: secure wiping in BTRFS filesystem ?
The crucial question to ask yourself is: does the disk's microcontroller delete everything I command it to delete? If you don't know the answer for sure, you cannot be rationally confident any software will delete everything. Somewhere, I read that some manufacturers make disks that do not erase everything, but I must be sincere to admit that I don't know that this was a joke.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.
Re: secure wiping in BTRFS filesystem ?
The btrfs code base is based on ext4, it is similar in many respects. Subvolumes are like files. But that does not even matter as if you overwrite the disk, then it cannot be recovered (albeit for major players like nation states usign creative means like firmware hacking, but let's just leave that aside for now). So if you dd over the disk space it does not matter whether the data is in btrfs or ext4 or even fat32. But I am not sure I undersatnd what you are asking and maybe I am not reponding to your concern?
Re: secure wiping in BTRFS filesystem ?
+1pylkko wrote:if you dd over the disk space it does not matter whether the data is in btrfs or ext4 or even fat32.
Precisely correct; everything else is irrelevant.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: secure wiping in BTRFS filesystem ?
ok,pylkko wrote:The btrfs code base is based on ext4, it is similar in many respects. Subvolumes are like files. But that does not even matter as if you overwrite the disk, then it cannot be recovered (albeit for major players like nation states usign creative means like firmware hacking, but let's just leave that aside for now). So if you dd over the disk space it does not matter whether the data is in btrfs or ext4 or even fat32. But I am not sure I undersatnd what you are asking and maybe I am not reponding to your concern?
So, readings all of your posts, We can conclude i was right.
As long as there arent any snapshot with the file we wish to erase, we can use any wipping regular method.
So that, we should ensure as well, the snapshots are also shredding if they contained the files to erase (sfill -fvl / from subvolume 0), to prevent any snapshot can be undeleted, just in case.
Thanks a lot.
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...