[Bug 924621] Re: btrfs: Option to create read-only snapshot does not exist
Jeff Strunk
jstrunk at math.utexas.edu
Wed May 9 14:07:23 UTC 2012
https://launchpad.net/~yofel/+archive/btrfs has an up to date package
for btrfs-tools with this functionality. The package in Precise appears
to be a snapshot from June 2010.
# dpkg -i btrfs-tools_0.19+20120421-0daily6~bzr457~precise1_amd64.deb
(Reading database ... 108869 files and directories currently installed.)
Preparing to replace btrfs-tools 0.19+20100601-3ubuntu3 (using btrfs-tools_0.19+20120421-0daily6~bzr457~precise1_amd64.deb) ...
Unpacking replacement btrfs-tools ...
Setting up btrfs-tools (0.19+20120421-0daily6~bzr457~precise1) ...
Processing triggers for man-db ...
# btrfs subvolume snapshot -r /export/ftp /export/ftp/.snapshot/hardy
Create a readonly snapshot of '/export/ftp' in '/export/ftp/.snapshot/hardy'
--
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