What UU PDP expects from copies you stopped thinking about
What "deleted" actually means on a Linux filesystem
rm deletes a file, it calls the unlink() syscall. This removes the directory entry and decrements the inode's link count. The inode is the filesystem record that points to the file's data blocks. When the link count reaches zero and no process still holds the file open, the filesystem marks the inode and its blocks as free in its allocation bitmaps. The data in those blocks is not overwritten. It stays on disk until something else is written there.
Databases behave similarly. A DELETE in MySQL marks rows as deleted. InnoDB purges them later and reuses the space, but the old bytes can sit in data files, undo logs, and binary logs for a while.
The next layer down is the block device. On SSDs and thin-provisioned storage, the filesystem can send a discard (TRIM) command to say these blocks are no longer used. Discard only happens if the filesystem is mounted with discard, or if fstrim runs periodically. On an SSD, TRIM tells the drive's flash translation layer the blocks are unused, and the firmware erases them during garbage collection on its own schedule. On thin LVM, ZFS, or Ceph, discard lets the host reclaim space, but only if the hypervisor passes discard through from the guest's virtual disk.
You can check whether a device advertises discard support with a read-only command:
BASH
# Non-zero DISC-GRAN and DISC-MAX mean the device accepts discard
lsblk -D
# Show mount options; look for 'discard' on the filesystems that held personal data
findmnt -o TARGET,SOURCE,OPTIONSSnapshots, replicas, and object versioning keep their own references
used value of a snapshot shows roughly how much data only that snapshot is keeping alive. Destroying the VM in some setups removes its snapshots too, but orphaned snapshots and cloned volumes are common after migrations. This happens especially when someone cloned a disk "just in case" before cutover.
Replication adds more copies. Asynchronous replication (ZFS send/receive, Ceph mirroring, database replicas, rsync to a DR box) creates a full, independent copy on another machine. Shutting down the primary does not touch the replica. If the DR target was at the old provider or in a second region, it is often the copy everyone forgets.
Object storage has its own version of this. With bucket versioning enabled on S3-compatible storage, a delete request usually adds a delete marker. Earlier object versions stay stored until you delete them by version ID or a lifecycle rule expires them. A backup bucket that looks empty in a normal listing can still hold every old dump.
BASH
# Lists all versions and delete markers under a prefix (read-only)
aws s3api list-object-versions --bucket old-backups-bucket --prefix db/Tape and offsite archives: when you can't delete one record
- Let the copy expire on its documented retention schedule, and keep that schedule short and justified.
- Destroy the media at end of life and get a destruction record from whoever holds it.
- Use crypto-shredding. If the backup was encrypted with a key you control, securely destroying every copy of that key makes the backup unreadable without touching the media.
Finding the leftovers and getting proof of erasure
BASH
# Proxmox: snapshots of one VM, and every volume on a storage
qm listsnapshot 101
pvesm list local-lvm
# LVM: all logical volumes, including thin snapshots and their origins
lvs -a -o lv_name,vg_name,origin,pool_lv,lv_size
# ZFS: every snapshot and the space it holds
zfs list -t snapshot -o name,used,referenced
# Ceph RBD: snapshots of one image
rbd snap ls rbd/vm-101-disk-0- Confirm the new platform has a verified, restorable copy of everything you still need.
- Confirm which records a retention obligation requires you to keep.
- Get sign-off from whoever owns the data.
