Displaying 20 results from an estimated 7000 matches similar to: "[RFC] btrfs auto snapshot"
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 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
2012 Aug 01
17
[PATCH] add crtime to the snapshot list
From: Anand <anand.jain@oracle.com>
This patch adds creation-time to the snapshot list display,
which would help user to better manage the snapshots when
number of snapshots grow substantially. This patch is developed
and on top of the send/receive btrfs and btrfs-progs repo at
git://github.com/ablock84/linux-btrfs.git (send-v2)
git://github.com/ablock84/btrfs-progs.git (send-v2)
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
2012 Apr 10
3
Snapper packages for Ubuntu
Hi,
I''ve created snapper packages for Ubuntu, available on
https://launchpad.net/~snapper/+archive/stable. For those new to
snapper, it''s a tool for managing btrfs snapshots
(http://en.opensuse.org/Portal:Snapper). It depends on libblocxx
available from https://launchpad.net/~bjoern-esser-n/+archive/blocxx ,
and currently uses git source up to commit 50dec40. I''ve done
2013 Feb 10
3
Re: Diff using send-receive code
Hello,
We''re a team of 4 final year computer science students and are
working on generating a diff between file system snapshots using the
send receive code.
The output of our utility looks like this-
(I''ve tested it on a small subvol with minimal changes just to give an idea)
root@nafisa-M-6319:/mnt/btrfs# btrfs sub diff -p /mnt/btrfs/snap1
/mnt/btrfs/snap2
2008 Aug 07
3
Bug in rnorm? (PR#12016)
Full_Name: Paul Eckermann
Version: 2.7.1
OS: Windows XP Service Pack 2
Submission from: (NULL) (129.127.183.12)
This is the first time I have submitted a bug report, so apologies if I have not
followed the correct protocol.
If I enter
length(rnorm(100*.29))
it returns 28 rather than 29.
y<-(1:100)/100
z<-sapply(y,function(x) length(rnorm(x*100)))
z!=100*y
indicates that it has
2024 Jun 17
2
vfs_snapper
is this module still maintained and working?
https://www.samba.org/samba/docs/current/man-html/vfs_snapper.8.html
starting to set up the pieces, I have snapshots in btrfs with snapper
itself but so far nothing visible on the windows explorer side.
As always I rtfm all over ;-)
I assume I have to do some extra magic to allow the winbind users/groups
in ...
in the related snapper-config I
2013 Mar 27
1
BTRFS and the steadily lit LED
Hi guys,
After having received strong advice from the people in this list to
upgrade my kernel to the latest one, I have installed 3.8.0-14-generic
#24-Ubuntu SMP x86_64 on several (4) machines.
In the hope of improving systems speed I had also removed all snapshots
then defragged the FSes - the snapshots have been recreated since, as I
use the excellent SuSE "Snapper" tool.
But well,
2013 Aug 20
7
[PATCH] btrfs-progs: use btrfs error code for kernel errors
Now with the below kernel patch, the excl operations like dev
add/replace/resize and balance returns the btrfs error
code defined in btrfs.h, this patch will help btrfs-progs
(and thus user) to know the error string on the terminal
(instead of /var/log/messages as previously kernel did).
This patch depends on the btrfs kernel patch:
btrfs: return btrfs error code for dev excl ops err
2013 Apr 03
2
[bug] btrfs fi df doesn't show raid type after balance
Did something break.. ? we are not reporting raid type after balance.
-----------
# btrfs fi df /btrfs
Data, RAID0: total=2.00GB, used=2.03MB
Data: total=8.00MB, used=0.00
System, RAID0: total=16.00MB, used=4.00KB
System: total=4.00MB, used=0.00
Metadata, RAID0: total=2.00GB, used=216.00KB
Metadata: total=8.00MB, used=4.00KB
# btrfs bal /btrfs
Done, had to relocate 5 out of 5 chunks
# btrfs fi
2013 Dec 02
3
[PATCH 1/3] btrfs-progs: Turning ON incompat isn't an error
Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
mkfs.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/mkfs.c b/mkfs.c
index de1beed..0843600 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -1196,8 +1196,7 @@ static void process_fs_features(u64 flags)
for (i = 0; i < ARRAY_SIZE(mkfs_features); i++) {
if (flags & mkfs_features[i].flag) {
- fprintf(stderr,
2012 Mar 10
8
kernel BUG at fs/btrfs/transaction.c:1337!
[11558.527680] ------------[ cut here ]------------
[11558.527708] kernel BUG at fs/btrfs/transaction.c:1337!
[11558.527730] invalid opcode: 0000 [#1] PREEMPT SMP
[11558.527764] CPU 1
[11558.527776] Modules linked in: loop nls_cp437 vfat fat dm_mod xfs
exportfs jfs usb_storage uas fuse ext4 jbd2 mbcache snd_hda_codec_hdmi
snd_hda_codec_realtek arc4 iwlwifi snd_hda_intel snd_hda_codec
uvcvideo
2013 Oct 25
8
[PATCH] btrfs: add framework to read fs info from btrfs-control
This adds ioctl BTRFS_IOC_GET_FSIDS which reads the fs
info through the btrfs-control
Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
fs/btrfs/super.c | 47 ++++++++++++++++++++++++++++++++++++++-----
fs/btrfs/volumes.c | 33 ++++++++++++++++++++++++++++++
fs/btrfs/volumes.h | 2 +
include/uapi/linux/btrfs.h | 19 +++++++++++++++++
4 files changed,
2012 Oct 07
29
BTRFS, getting darn slower everyday
Hi,
I have 4 machines, all converted to BTRFS about 6 months ago, now all
running Ubuntu Quantal with kernel 3.5.0-17
The matter is that all these machines are now getting slower and slower
everyday, every disk access causing the disk to be 100% busy for long
periods, to the point that I''m now seriously considering migrating
everything back to ext4...
From the start BTRFS was "not
2024 Jun 20
1
vfs_snapper
Am 20.06.24 um 17:32 schrieb Stefan G. Weichinger via samba:
> Am 19.06.24 um 14:21 schrieb Stefan G. Weichinger via samba:
>
>> opened a ticket at https://github.com/openSUSE/snapper/issues/917 as well
>
> Did some debugging with their devs, now I found this samba-bug:
>
> https://bugzilla.samba.org/show_bug.cgi?id=14896
>
> comment 2 might point out the actual
2024 Jun 21
1
vfs_snapper
Am 20.06.24 um 17:51 schrieb Stefan G. Weichinger via samba:
> So my alternative might be dropping snapper and do the btrfs-snapshots
> plus the rotation etc with self-written (=copied) scripts and timers.
>
> vfs_shadow_copy2 worked in my tests, I only switched to vfs_snapper
> because it looked promising to have all the rotation and cleanup of
> snapshots done by snapper
2013 Mar 21
4
[PATCH] btrfs-progs: make btrfs dev scan multi path aware
We should avoid using non multi-path (mp) path for mp disks
As of now there is no good way (like api) to check that.
A workaround way is to check if the O_EXCL open is unsuccessful.
This is safe since otherwise the BTRFS_IOC_SCAN_DEV ioctl would
fail if the disk-path can not be opened with the flag O_EXCL set.
This patch also includes some (error) print format changes related
to the btrfs
2024 Jun 20
1
vfs_snapper
Am 19.06.24 um 14:21 schrieb Stefan G. Weichinger via samba:
> opened a ticket at https://github.com/openSUSE/snapper/issues/917 as well
Did some debugging with their devs, now I found this samba-bug:
https://bugzilla.samba.org/show_bug.cgi?id=14896
comment 2 might point out the actual issue with the code, I don't know
2013 Jun 25
3
[PATCH] btrfs-progs: avoid memory leak in btrfs_close_devices
Three kind of structures need to be freed on close:
* All struct btrfs_device managed by fs_devices
* The name field for each struct btrfs_device
* The above items for seed_devices
Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
---
volumes.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/volumes.c b/volumes.c
index