Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install an Ubuntu Server with a btrfs filesystem (in a RAID1 way).

The problem is that I can't see the option in the installer to make more subvolumes. The installer creates two by default: @ and @home, and I want to separate also @var, @tmp, ...

Is there any option to do this? Maybe with the shell... but I think the installer doesn't understand the subvolumes feature of btrfs, so you can't mount each partition in each subvolume...

share|improve this question

This should be easy enough to change after you have finished your initial install.

  • One neat way is to take two snapshots of @, calling them @var and @tmp.
  • Then delete everything in @var except for @var/var, them move the contents of @var/var/* up to @var/* and delete @var/var. Same for @tmp/tmp/.
  • Then modify /etc/fstab with the new subvolume mount points for /var and /tmp.
  • Reboot.
  • Finally (I'm not so sure about this last bit) you should be able to delete the original contents of @/var and @/tmp by mounting the subvolume @ under /mnt (so the same subvolume is mounted twice, once as / and once as /mnt) and deleting /mnt/var and /mnt/tmp.
share|improve this answer
Some documentation about working with snapshots in Ubuntu:… – ermannob Jun 23 '13 at 9:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.