4.12.10 Deleting Snapshots of the root File System

To delete a snapshot:

  1. Mount the top level of the file system, for example:

    # mount -o subvolid=5 /dev/mapper/vg_btrfs-lv_root /mnt

  2. Change directory to the mount point and delete the snapshot.

    # cd /mnt
    # btrfs subvolume delete install
    Delete subvolume '/mnt/install'

  3. Change directory to / and unmount the top level of the file system.

    # cd /
    # umount /mnt 

    The list of subvolumes now does not include install.

    # btrfs subvolume list / 
    ID 260 top level 5 path root_snapshot_1