Displaying 20 results from an estimated 9000 matches similar to: "snapshot/subvol deletion"
2011 Oct 16
2
unresolved ref root error
Hello,
On a newly created filesystem with btrfs-progs-git-20111009 and the 3.1.0-rc8
kernel I am getting the following error when doing btrfsck after main OS
installation
fs tree 256 refs 2
unresolved ref root 256 dir 256 index 2 namelen 8 name __active error 600
found 4215058432 bytes used err is 1
total csum bytes: 3962760
total tree bytes: 157192192
total fs tree bytes: 146976768
2012 Dec 27
4
problems with dracut mounting subvols
I've just tried putting usr in a subvol. Installation proceeds normally, no errors, but I'm dropped to a dracut prompt which indicates mount of /usr failed. dmesg follows:
[ 14.025215] systemd[1]: Starting dracut initqueue hook...
[ 14.077890] Btrfs loaded
[ 14.129987] device label fedora_f18v devid 1 transid 31 /dev/sda1
[ 14.313607] device label fedora_f18v devid 1 transid 31
2010 Oct 25
2
[PATCH] Btrfs: allow subvol deletion by unprivileged user with -o user_subvol_rm_allowed
Add a mount option user_subvol_rm_allowed that allows users to delete a
(potentially non-empty!) subvol when they would otherwise we allowed to do
an rmdir(2). We duplicate the may_delete() checks from the core VFS code
to implement identical security checks (minus the directory size check).
Signed-off-by: Sage Weil <sage@newdream.net>
---
fs/btrfs/ctree.h | 1 +
fs/btrfs/ioctl.c |
2010 Oct 25
14
[PATCH 0/6] Btrfs commit fixes, async subvol operations
Hi Chris,
This is the extent of my current queue of Btrfs snapshot/subvol/commit
stuff. Most of these were posted several months ago. Can be sent
upstream during this merge window? Not having this functionality is
becoming a bit of a roadblock for our efforts to keep the Ceph data in a
consistent state.
These patches are also available from
2014 Oct 10
5
missing btrfs subvol support
Is btrfs subvol support failing just for me? Looks like nothing adds the
required '@/' string. virt-ls uses the first variant of the command:
><rescue> mount -vo subvol=var/spool,ro /dev/sda2 /sysroot/
[ 113.852047] BTRFS info (device sda2): disk space caching is enabled
[ 113.852869] BTRFS: has skinny extents
mount: mount(2) failed: No such file or directory
><rescue>
2010 May 19
10
R: default subvolume abilities/restrictions
Hi Anthony,
I think that for you may be interested to read this thread
http://kerneltrap.org/mailarchive/linux-btrfs/2009/11/20/6588643/thread
and to read a my blog about this argument
http://kreijack.blogspot.com/2010/01/linux-btrfs-example-of-layout.html
Regards
Goffredo
>----Messaggio originale----
>Da: anthony@extof.me
>Data: 19/05/2010 8.50
>A:
2011 Apr 06
3
[PATCH V2] Btrfs: fix subvolume mount by name problem when default mount subvolume is set
We create two subvolumes (meego_root and meego_home) in
btrfs root directory. And set meego_root as default mount
subvolume. After we remount btrfs, meego_root is mounted
to top directory by default. Then when we try to mount
meego_home (subvol=meego_home) to a subdirectory, it failed.
The problem is when default mount subvolume is set to
meego_root, we search meego_home in meego_root but can not
2014 Oct 17
1
Re: missing btrfs subvol support
On Friday 17 October 2014 11:25:03 Olaf Hering wrote:
> On Thu, Oct 16, Olaf Hering wrote:
> > I can probably add a check somewhere to catch the whatever=="@". A
> > better fix would be to check if a given subvolume is for the entire
> > partition.
>
> So after talking to David Sterba there is no way to tell if a given
> subvolume is for the entire
2012 Nov 01
41
[Request for review] [RFC] Add label support for snapshots and subvols
From: Anand Jain <anand.jain@oracle.com>
(This patch is for the review/test not yet for the integration).
Here is an implementation of the feature to add label to the
subvolume and snapshots. Which would help sysadmin to better manager
the subvol and snapshots.
This can be done in two ways, one - using attr which is user land
only changes but drawback is able to change the label
2014 Oct 16
2
Re: missing btrfs subvol support
On Fri, Oct 10, Mike Latimer wrote:
> On Friday, October 10, 2014 03:07:51 PM Olaf Hering wrote:
> > Thanks for the pointers. I will poke around. At least augtool on the
> > host seems to behave correctly:
>
> I don't think this is related to Augeas. Instead, I think it's the naming
> convention SUSE uses for the root btrfs subvolume (@).
It does not look like
2012 Mar 27
13
Create subvolume from a directory?
Hi all,
Just a quick question but can''t find an obvious answer.
Can I create/convert a existing (btrfs) directory into a subvolume?
It would be very helpful when transferring ''partitions'' into btrfs.
I found a similar question way back in google, but that site is
down now generally.
Thanks in advance.
--
To unsubscribe from this list: send the line
2013 Jul 01
1
[PATCH v2] xfstests: btrfs/316: cross-subvolume sparse copy
This testscript creates reflinks to files on different subvolumes,
overwrites the original files and reflinks, and moves reflinked files
between subvolumes.
Originally submitted as testcase 302, changes are made based on comments
from Eric: http://oss.sgi.com/archives/xfs/2013-03/msg00231.html
Two new common/rc functions used in this script (_require_cp_reflink and
_verify_reflink) have been
2013 Aug 30
3
[PATCH] btrfs: commit transaction after deleting a subvolume
Alex pointed out the consequences after a transaction is not committed
when a subvolume is deleted, so in case of a crash before an actual
commit happens will let the subvolume reappear.
Original post:
http://www.spinics.net/lists/linux-btrfs/msg22088.html
Josef''s objections:
http://www.spinics.net/lists/linux-btrfs/msg22256.html
While there''s no need to do a full commit for
2012 Feb 29
15
[RFC] [PATCH] Add btrfs autosnap feature
From: anand jain <anand.jain@oracle.com>
Anand Jain (1):
[RFC] Add btrfs autosnap feature
Makefile | 6 +-
autosnap.c | 1553 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
autosnap.h | 81 +++
btrfs-list.c | 140 +++++-
btrfs.c | 46 ++-
btrfs_cmds.c | 186 +++++++-
btrfs_cmds.h | 3 +-
scrub.c | 1 +
8 files changed, 1982 insertions(+), 34
2012 Jun 29
12
[PATCH 1/3] Btrfs-progs: add support to set subvolume/snapshot readonly
Setting subvolume/snapshot readonly has been missing for a long time.
With this patch, we can set a subvolume/snapshot readonly via:
o btrfs subvolume set-ro <path>
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
cmds-subvolume.c | 40 ++++++++++++++++++++++++++++++++++++++++
ioctl.h | 7 +++++++
2 files changed, 47 insertions(+), 0 deletions(-)
diff --git
2013 Nov 14
2
is mounting subvolumes with a read-only root subvolume allowed?
Hi,
I have a box with / and /home being subvolumes from the same btrfs filesystem.
/etc/fstab:
UUID=c0686... / btrfs subvol=root,x-systemd.device-timeout=0 1 1
UUID=c0686... /home btrfs subvol=home,x-systemd.device-timeout=0 1 1
...
/ is initially mounted readonly by the initramfs, and then after switching
to the real system, /home is attempted to be mounted in parallel with /
2013 Dec 17
9
[PATCH] Btrfs-progs: receive: fix the case that we can not find subvolume
If we change our default subvolume, btrfs receive will fail to find
subvolume. To fix this problem, i have two ideas.
1.make btrfs snapshot ioctl support passing source subvolume''s objectid
2.when we want to using interval subvolume path, we mount it other place
that use subvolume 5 as its default subvolume.
We''d better use the second approach because it won''t bother
2010 Dec 11
1
[RFC] Improve btrfs subvolume find-new command
Hi all,
enclose a patch to improve the "btrfs subvolume find-new" command. This is a
RFC because it is not finished, but it is an usable state and may be
discussed. The aim of this patch is:
- take in account not only an update of the extent but also an update of the
inode and xattr (which includes the acl)
- extract the generation reference number directly from a snapshot
The new
2013 Nov 16
16
[PATCH] BTRFS-PROG: recursively subvolume snapshot and delete
Hi All,
the following patches implement the recursively snapshotting and
deleting of a subvolume.
To snapshot recursively you must pass the -R switch:
# btrfs subvolume create sub1
Create subvolume ''./sub1''
# btrfs subvolume create sub1/sub2
Create subvolume ''sub1/sub2''
# btrfs subvolume snapshot -R sub1 sub1-snap
Create a snapshot of
2013 Jan 05
14
/boot as a btrfs subvolume
As of the latest updates to anaconda and grub2 for Fedora 18, it is now
possible to install with /boot as a btrfs subvolume. The way that grub2
is handling this is the "reach down" to the files it needs as if the
subvolume was a directory.
Is this OK?
At this point I am not worried about snapshots or any other
complexities. If the subvolume name is known. should grub2 be able to