On 6 January 2011 20:01, Olaf van der Spek olafvds...@gmail.com wrote:
Hi,
Does btrfs support atomic file data replaces?
Hi Olaf,
Yes btrfs does support atomic replace, since kernel 2.6.30 circa June 2009. [1]
Special handling was added to ext3, ext4, btrfs (and probably other
Linux FSs) for
On 12 June 2011 00:32, Tomasz Chmielewski man...@wpkg.org wrote:
I'm trying to remove some files on a btrfs filesystem which has 26 GB free:
/dev/sdb4 336G 310G 26G 93% /mnt/btrfs
Unfortunately, removing some of the files fails, due to No space left on
device:
On 20 February 2014 02:49, Gui Hecheng guihc.f...@cn.fujitsu.com wrote:
When exec btrfs-debug-tree as non-root user, we get a segment fault.
Because the btrfs_scan_block_devices return a success 0 when we fail
to open a device. Now we just return the errno if this case happens.
Signed-off-by:
Hi,
I am trying to enhance GParted (http://www.gparted.org/) to better
support btrfs, specifically multi-device ones. GParted displays the
busy status (mounted or not) and the mount point of each partition.
For a single device file system this is easy. Entry in /proc/mounts
for the partition
On 25 February 2014 03:01, Anand Jain anand.j...@oracle.com wrote:
# mkfs.btrfs /dev/sdb2 /dev/sdb3 /dev/sdb4
# mount /dev/sdb2 /mnt/1
# btrfs device delete /dev/sdb2 /mnt/1
So /dev/sdb2 is no longer part of the file system, but it's still
mounted using it.
# grep btrfs /proc/mounts
On 25 February 2014 10:28, Mike Fleetwood mike.fleetw...@googlemail.com wrote:
On 25 February 2014 03:01, Anand Jain anand.j...@oracle.com wrote:
# mkfs.btrfs /dev/sdb2 /dev/sdb3 /dev/sdb4
# mount /dev/sdb2 /mnt/1
# btrfs device delete /dev/sdb2 /mnt/1
So /dev/sdb2 is no longer part
On 29 April 2014 16:56, David Sterba dste...@suse.cz wrote:
Changes:
* btrfs filesystem disk_usage - renamed to usage
* added a section of overall filesystem usage, that used to be in the
'fi df' output
* btrfs device disk_usage - renamed to usage
* the device size prints both
On 29 April 2014 17:02, David Sterba dste...@suse.cz wrote:
The entire device size may not be available to the filesystem, eg. if
it's modified via resize. Print this information if it can be obtained
from the DEV_INFO ioctl.
Print the device ID on the same line as the device name and move
On 20 May 2014 08:51, Qu Wenruo quwen...@cn.fujitsu.com wrote:
When using parse_size(), even non-numeric value is passed, it will only
give error message ERROR: size value is empty, which is quite
confusing for end users.
This patch will introduce more meaningful error message for the
On 4 June 2014 14:30, Russell Coker russ...@coker.com.au wrote:
On Wed, 4 Jun 2014 13:19:16 Stefan Malte Schumacher wrote:
I have created multiple filesystems with btrfs, in all cases directly
on the devices themself without creating partitions beforehand.
I do that sometimes, it works well.
On 26 August 2011 07:37, Arne Jansen sensi...@gmx.net wrote:
On 26.08.2011 01:01, Gregory Maxwell wrote:
On Wed, Aug 24, 2011 at 9:11 AM, Berend Dekens bt...@cyberwizzard.nl wrote:
It seems to me that if someone created a block device which recorded
all write operations a rather excellent
It seems overly harsh to fail a resize of a btrfs file system to the
same size when a shrink or grow would succeed. User app GParted trips
over this error. Allow it by bypassing the shrink or grow operation.
Signed-off-by: Mike Fleetwood mike.fleetw...@googlemail.com
---
Example failed resize
On Fri, Nov 18, 2011 at 03:52:00PM +1100, Chris Samuel wrote:
On 18/11/11 08:04, Mike Fleetwood wrote:
It seems overly harsh to fail a resize of a btrfs file system to the
same size when a shrink or grow would succeed. User app GParted trips
over this error. Allow it by bypassing
It seems overly harsh to fail a resize of a btrfs file system to the
same size when a shrink or grow would succeed. User app GParted trips
over this error. Allow it by bypassing the shrink or grow operation.
Signed-off-by: Mike Fleetwood mike.fleetw...@googlemail.com
---
v2: Fix FS shrink
On 12 May 2010 06:02, Yan, Zheng yanzh...@21cn.com wrote:
On Tue, May 11, 2010 at 11:45 PM, Bruce Guenter br...@untroubled.org wrote:
On Tue, May 11, 2010 at 08:10:38AM +0800, Yan, Zheng wrote:
This is because the snapshot deleting ioctl only removes the a link.
Right, I understand that.
On 17 November 2012 16:04, Goffredo Baroncelli kreij...@gmail.com wrote:
On 11/17/2012 03:52 AM, Yangtse Su wrote:
I have an btrfs part on /dev/sda5,Then I install windows8 with the
windows8 installer.I remove this btrfs part and install windows8 on
it.Now in my Linux,'btfrs filesystem show'
On 30 April 2012 18:10, Hubert Kario h...@qbs.com.pl wrote:
On Sunday 29 of April 2012 08:13:48 Martin Steigerwald wrote:
Am Donnerstag, 26. April 2012 schrieb Bart Noordervliet:
On Thu, Apr 26, 2012 at 11:06, Thomas Rohwer troh...@ennit.de wrote:
As for the two filesystems shown in btrfs
On 1 July 2012 05:53, Zhi Yong Wu zwu.ker...@gmail.com wrote:
HI,
Do anyone know where btrfs_print_tree is invoked? thanks.
--
Regards,
Zhi Yong Wu
Is this the answer you are after?
$ grep -r btrfs_print_tree fs/btrfs/
fs/btrfs/print-tree.c:void btrfs_print_tree(struct btrfs_root *root,
On 30 July 2014 04:25, Satoru Takeuchi takeuchi_sat...@jp.fujitsu.com wrote:
From: Satoru Takeuchi takeuchi_sat...@jp.fujitsu.com
There are many duplicated codes to check if the given string is
correct subvolume name. Introduce test_issubvolname() for this
purpose for simplicity.
On 7 November 2014 18:16, David Sterba dste...@suse.cz wrote:
On Fri, Nov 07, 2014 at 10:07:43AM +0800, Gui Hecheng wrote:
The @fi_args-num_devices in @get_fs_info() does not include seed devices.
We could just correct it by searching the chunk tree and count how
many dev_items there are in
On 22 January 2013 17:22, Gene Czarcinski g...@czarc.net wrote:
This adds the archive target to the Makefile which simply executes
do-archive.sh. It also adds the remove of btrfs-progs.spec.in to
I think you mean btrfs-progs.spec without the .in as that's the generated file.
make clean.
On 20 February 2013 13:05, Audrius Butkevicius
audrius.butkevic...@elastichosts.com wrote:
On 01/02/2013 10:30, Hugo Mills wrote:
On Fri, Feb 01, 2013 at 09:59:49AM +, Audrius Butkevicius wrote:
Add '-b' and '--bytes' options to btrfs filesystem df and show, for
easier
integration with
On 25 February 2013 23:35, Suman C schakr...@gmail.com wrote:
Hi,
I think it would be great if there is a lvm volume or zfs zvol type
support in btrfs. As far as I can tell, there's nobody actively
working on this feature. I want to know what the core developers think
of this feature, is it
On 11 March 2013 10:12, Audrius Butkevicius
audrius.butkevic...@elastichosts.com wrote:
Add '--si', '-h'/'--human-readable' and '--block-size' global options,
which allow users to customize the way sizes are displayed.
Options and their format tries to mimic GNU ls utility.
Signed-off-by:
On 3 January 2014 06:10, Qu Wenruo quwen...@cn.fujitsu.com wrote:
Btrfs can be remounted without barrier, but there is no barrier option
so nobody can remount btrfs back with barrier on. Only umount and
mount again can re-enable barrier.(Quite awkward)
Also the mount options in the document
On 18 April 2015 at 14:59, Lauri Võsandi lauri.vosa...@gmail.com wrote:
This patch forces btrfs receive to issue chroot before
parsing the btrfs stream using command-line flag -C
to confine the process and minimize damage that could
be done via malicious btrfs stream.
Signed-off-by: Lauri
Hi,
I've done a quick test on changing the UUID of a btrfs. It worked, but
btrfstune -u didn't print the same current uuid that btrfs fi sh does.
It also upper cases the UUID where as btrfs fi sh and blkid don't.
Thanks,
Mike
# btrfs filesystem show /dev/sdb1 | fgrep uuid
Label: none uuid:
On 29 June 2015 at 09:08, Duncan 1i5t5.dun...@cox.net wrote:
Meanwhile, unlike many filesystems, btrfs uses the UUID as part of the
metadata, so changing the UUID isn't as simple as rewriting a superblock;
the metadata must be rewritten to the new UUID. There's actually a tool
now available
On 19 August 2015 at 11:11, fdman...@kernel.org wrote:
From: Filipe Manana fdman...@suse.com
If we partially clone one extent of a file into a lower offset of the
file, fsync the file, power fail and then mount the fs to trigger log
replay, we can get multiple checksum items in the csum tree
On 7 August 2015 at 10:47, Sjoerd sjo...@sjomar.eu wrote:
While we're at it: any idea why the default for SSD's is single for meta data
as described on the wiki?
(https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices#Filesystem_creation)
I was looking for an answer why my
On 17 September 2015 at 18:56, Gert Menke wrote:
> MD+LVM is very close to what I want, but md has no way to cope with silent
> data corruption. So if I'd want to use a guest filesystem that has no
> checksums either, I'm out of luck.
> I'm honestly a bit confused here - isn't
On 23 November 2015 at 12:56, Anand Jain wrote:
> In the newer kernel, supported kernel features can be known from
> /sys/fs/btrfs/features
> however this interface was introduced only after 3.14, and most the
> incompatible FS features were introduce before 3.14.
>
>
On 1 May 2016 at 13:47, Duncan <1i5t5.dun...@cox.net> wrote:
> Direct from that section of my /etc/sysctl.conf:
>
>
> # Virtual-machine: swap, write-cache
Hi Duncan,
You mean virtual memory.
Quoting from the kernel
On 18 February 2017 at 01:28, Liu Bo wrote:
> This is attempting to make __btrfs_map_block less scary :)
>
> The major changes are
>
> 1) split operations for discard out of __btrfs_map_block and we don't copy
> discard operations for the target device of dev replace since
On 12 September 2016 at 19:55, Austin S. Hemmelgarn
wrote:
> I'm not sure about gparted, but the default behavior for mkfs is as follows:
> 1. Is the device rotational? (check /sys/block//rotational). If
> not, do some extra stuff to try and ID it as an SSD. If it is an
On 1 December 2016 at 18:43, Austin S. Hemmelgarn wrote:
> Currently, `btrfs device stats` returns non-zero only when there was an
> error getting the counter values. This is fine for when it gets run by a
> user directly, but is a serious pain when trying to use it in a
On 6 December 2016 at 12:40, Кравцов Роман Владимирович
wrote:
> Hello.
>
> Why 'BTRFS used size' and 'du -s' are different?
>
>
> [root@OraCI2 ~]# btrfs --version
> btrfs-progs v4.8.3
> [root@OraCI2 ~]# btrfs fi show /dev/nvme0n1
> Label: 'OLD_PES' uuid:
On 17 September 2017 at 01:36, Satoru Takeuchi
wrote:
> It's messy to use "" to disable compression. Introduce the new value "no"
> which can also be used for this purpose.
>From an English language point of view, "none" would be better. None
says the absence of,
On 23 November 2017 at 11:47, ST wrote:
>
>> > I have following cron job to scrub entire root filesystem (total ca.
>> > 7.2TB and 2.3TB of them used) once a week:
>> > /bin/btrfs scrub start -r / > /dev/null
>> >
>> > Such scrubbing takes ca. 2 hours. How should I get notified
On 1 August 2018 at 04:45, MegaBrutal wrote:
> But there is still one question that I can't get over: if you store a
> database (e.g. MySQL), would you prefer having a BTRFS volume mounted
> with nodatacow, or would you just simply use ext4?
>
> I know that with nodatacow, I take away most of
40 matches
Mail list logo