Displaying 20 results from an estimated 40000 matches similar to: "How to remove a snapshot?"
2011 Oct 14
2
snapshot issues
Good afternoon btrfs,
I have been having issues with snapshots not reading the whole file tree
below them. I have installed new btrfs-progs from
git://git.darksatanic.net/repo/btrfs-progs-unstable.git
made and installed them. My tree is: /Btrfs |
|__ nfs1 |
|__ data |
2009 Nov 03
2
[PATCH]] Btrfs: fix destroy snapshot to get the right parent dentry
In snapshot destroy the dentry used for parent was the snapshot dentry
itself. Remove d_invalidate since always return EBUSY, making possible
to remove a snapshot using the btrfsctl -D option.
Signed-off-by: Rui Miguel Silva <rmfrfs@gmail.com>
---
fs/btrfs/ioctl.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index
2011 Nov 01
1
btrfs-progs
Hello,
I''ve just pulled btrfs-progs from the new git repo
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
However, when I come to make it fails like so:
gcc -Wp,-MMD,./.btrfsctl.o.d,-MT,btrfsctl.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -g -Werror -Os -c btrfsctl.c
gcc -g -Werror -Os -o btrfsctl btrfsctl.o ctree.o disk-io.o radix-tree.o extent-tree.o
2008 Jul 18
4
btrfsctl -A not returning useful information
[root@btrfs progs-unstable]# btrfsctl -A /dev/sdb
ioctl returns 0
[root@btrfs progs-unstable]# btrfsctl -A /dev/sdc
ioctl returns 0
/dev/sdb has a btrfs, while /dev/sdc is blank. What''s that output
supposed to mean ? Is it a bug ?
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info
2011 Jan 12
2
'ioctl:: Inappropriate ioctl for device' when trying to shrink partition
E.g. btrfsctl -r -4000m /dev/sda5
results in:
ioctl:: Inappropriate ioctl for device
Distribution: Ubuntu 10.10
Kernel: 2.6.35-22-generic
According to the Synaptic Package manager, the version of btrfs-tools is
0.19+20100601-3
Other information that can be of interest:
- I started Ubuntu on a live CD
- before invoking the btrfsctl command I invoked apt-get update.
I have googled but have not
2010 Jan 09
2
Still Problems with /dev/btrfs-control
Thanks for the quick reply!
But I still have problems with btrfsctl:
> stat /dev/btrfs-control
File: `/dev/btrfs-control''
Size: 0 Blocks: 0 IO Block: 4096 block special file
Device: ch/12d Inode: 659848 Links: 1 Device type: a,3e
Access: (0644/brw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2010-01-09 11:31:15.757979602 +0100
2009 Feb 06
2
How do I correctly mount a multidevice volume via fstab?
Hi all,
I am using a single volume across two devices sdb7 and sda1, initially
created on sdb7, and added sda1 using btrfs-vol later. The fstab entry:
/dev/disk/by-id/scsi-SATA_ST31000333AS_9TE12DSC-part7
/mnt/btrfs btrfs defaults 1 2
Now after boot I get:
----
device fsid c4822885057410c-d2d65a83c2f15fb4 devid 1
transid 73034 /dev/sdb7
btrfs: failed to read chunk tree on sdb7
----
So I have
2007 Aug 07
1
Subdirectory snapshots
Hi Chris and everyone else,
First let me congratulate you for the nice job on btrfs. I've been stress
testing it with parallel kernel compiles intermixed with snapshot taking, up
to about ~100 load avg on a dual core box and it's doing quite well :-)
I noticed that when creating snapshots it seems to always snapshot an entire
subvolume, that is if one does:
test1:/mnt# btrfsctl -s
2009 Jan 19
4
[Patch] Btrfs: use BTRFS_VOL_NAME_MAX for struct btrfs_ioctl_vol_args
I found userspace tool, btrfsctl, uses BTRFS_VOL_NAME_MAX, and
it also looks that this one is more proper.
Kill BTRFS_PATH_NAME_MAX since no one will use it.
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Cc: Chris Mason <chris.mason@oracle.com>
---
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index c2aa33e..f229950 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -472,7
2010 Apr 11
1
Can't mount removable device if device name changes.
I''ve got a btrfs on an sd card, which I''m using as the root fs on a
beagle. That''s not the problem :)
The machine I generate my images on has an internal sd reader, and I
also have a usb card reader. After creating the fs on the internal
reader, I ended up plugging it in on the external reader.
internal: sdd
external: sdh
mount /dev/sdh2 /mnt -t btrfs
> mount:
2011 Nov 07
2
[btrfs-progs: PATCH] scrub: fix build failure by restoring proper library ordering
From: Sergei Trofimovich <slyfox@gentoo.org>
$ LDFLAGS=-static make
gcc -lpthread -g -O0 -o btrfs btrfs.o btrfs_cmds.o scrub.o \
ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o root-tree.o dir-item.o file-item.o inode-item.o inode-map.o crc32c.o rbtree.o extent-cache.o extent_io.o volumes.o utils.o btrfs-list.o btrfslabel.o -static -luuid
scrub.o: In function
2013 Mar 12
2
[PATCH] btrfs-progs: add Makefile rule for static build of btrfs-find-root
From: Hugo Mills <h.r.mills@reading.ac.uk>
btrfs-find-root isn''t yet integrated into the main btrfs tool, and is
an important recovery tool, so it deserves to be built as a static
binary.
Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
---
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index d102dee..c519d21 100644
2010 Apr 16
2
[RFC] btrfs, udev and btrfs
Hi all,
below a configuration for udev/initramfs which I propose to scan the block
devices looking for a multi-volume btrfs filesystem.
Btrfs has the capability to span a file-system on multiple device. In order to
do that, the involved devices have to be "registered" in the kernel.
In order to do that there are two options:
# btrfs device scan <device> (or the old
2010 Feb 24
2
Resizing a btrfs managed partition
Hi,
Let me know if this is the wrong place to ask...
I''m using Fedora 12 x86_64, mostly with the newer 21.6.32 kernel, and
have a single btrfs filesystem within a 120Gb partition.
I''d like to extend the space btrfs can use. One option is presumably
add a new device to btrfs, but I was hoping to simple resize the
existing partition to say 160Gb.
With ext4 I might do
2008 Jan 15
2
[ANNOUNCE] Btrfs v0.10 available
Hello everyone,
Btrfs v0.10 is now available for download from:
http://oss.oracle.com/projects/btrfs/
Btrfs is still in an early alpha state, and the disk format is not finalized.
v0.10 introduces a new disk format, and is not compatible with v0.9.
The core of this release is explicit back references for all metadata blocks,
data extents, and directory items. These are a crucial building
2008 Jan 15
2
[ANNOUNCE] Btrfs v0.10 available
Hello everyone,
Btrfs v0.10 is now available for download from:
http://oss.oracle.com/projects/btrfs/
Btrfs is still in an early alpha state, and the disk format is not finalized.
v0.10 introduces a new disk format, and is not compatible with v0.9.
The core of this release is explicit back references for all metadata blocks,
data extents, and directory items. These are a crucial building
2009 Jan 13
0
[btrfs-progs 2/4] Add man/btrfsctl.8.in
Add man/btrfsctl.8.in
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@gmail.com>
---
man/btrfsctl.8.in | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
create mode 100644 man/btrfsctl.8.in
diff --git a/man/btrfsctl.8.in b/man/btrfsctl.8.in
new file mode 100644
index 0000000..e11f46a
--- /dev/null
+++ b/man/btrfsctl.8.in
@@ -0,0 +1,45 @@
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
2009 Nov 05
7
Unexpected ENOSPC on a SSD-drive after day of uptime, kernel 2.6.32-rc5
I''ve just finished installing onto an OCZ Agilent v2 SSD with btrfs as
filesystem. However to my surprise I''ve hit an ENOSPC condition one
one of the partitions within less than a day of uptime, while the
filesystem on that partition only reported 50% to be in use, which is
far from the 75% limit people mention on the ML.
Note that this occurs using a vanilla 2.6.32-rc5 kernel
2011 Feb 20
1
Cannot set-default back to ID 0
Hi,
a recent Ubuntu upgrade killed my system. Luckily I had done a btrfs
snapshot before, so I set the particular subvolume as default using
# btrfs subvolume set-default 261 /mnt
from a rescue system and was back up in no time. I then mounted the
original volume with subvolid=0 and repaired it. So far so good.
However, I fail to set the default volume back to the original.
# btrfs subvolume