[Bug 924621] Re: btrfs: Option to create read-only snapshot does not exist

Stefan Lasiewski stefan at stefanco.com
Wed May 9 17:11:24 UTC 2012


Just confirming that this also happens in Precise. I recently upgraded
to Precise, and I get this same error.


$ cat /etc/issue
Ubuntu 12.04 LTS \n \l

$ btrfs subvolume snapshot -r /u1 /u1/.snapshot/test
ERROR: 'subvolume snapshot' requires 2 arg(s)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to btrfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/924621

Title:
  btrfs: Option to create read-only snapshot does not exist

Status in “btrfs-tools” package in Ubuntu:
  Confirmed

Bug description:
  According to the Btrfs wiki [1], Btrfs supports read-only snapshots.

      NEWS
      Linux 2.6.38 released (March 2011) LZO compression. Forced read-only mode for handling filesystem errors. Read-only snapshots.

  Read-only snapshots should be created with the command `btrfs
  subvolume snapshot -r volume nameofsnapshot [2] [3].

  However, the option to support this does not exist on Ubuntu 11.10:

      $ btrfs subvolume snapshot -r /u1 /u1/.snapshot/test
      ERROR: 'subvolume snapshot' requires 2 arg(s)

  [1] https://btrfs.wiki.kernel.org/#News
  [2] http://article.gmane.org/gmane.comp.file-systems.btrfs/14173/match=read+only+snapshot
  [3] http://blog.dailystuff.nl/2012/01/btrfs-and-readonly-snapshots/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/924621/+subscriptions




More information about the foundations-bugs mailing list