Forum

Full Version: Filesystem Snapshots
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Are any parts of the xbian filesytstem on the sdcard (other than the boot partition) not snapped by the btrfs snapshots?

I'm unfamiliar with btrfs and I'm playing around with transcoding large files on the sdcard and they keep getting caught up in the snaps and wasting space after I've deleted them.

Thanks,

Hal.
Usually all subvolumes are snapshotted with one exception (AFAIR):

If you have xbian-package-tvheadend or xbian-package-transmission installed, a subvolume called storage will be created, and this is excluded from snapshots per default

Btw,
  1. You can edit file /etc/default/xbian-snap, variable EXCLUDESUB to add/remove subvolumes from snapshotting
  2. You can add your own subvolume by command sudo xbian-storager createvol --mount --exclude name /mount/point,
    for example
    sudo xbian-storager createvol --mount --exclude transcoding /home/xbian/transcoding
    --mount --> automount via /etc/fstab
    --exclude --> no autosnapshotting
    name --> name of subvolume
    /mount/point --> mountpoint of subvolume
Aha!

The "sudo xbian-storager createvol --mount --exclude" looks ideal.

Thank you Nachteule.
Reference URL's