Displaying 20 results from an estimated 900 matches similar to: "Changing node & leaf size on live partition."
2012 Apr 02
2
[PATCH 0/2] Fix btrfs blocksize and bind mkfs.btrfs (RHBZ#807905).
https://bugzilla.redhat.com/show_bug.cgi?id=807905
Currently if you specify the blocksize parameter to mkfs-opts with a
btrfs filesystem, then it fails, because mkfs.btrfs interprets the -b
option as meaning filesystem size.
The first patch fixes this by disallowing blocksize (it cannot be
mapped meaningfully into btrfs parameters).
The second patch adds the full /sbin/mkfs.btrfs utility to the
2012 May 07
2
Compile Error
Hi Rich,
A compiling error occurs here,
File "../ocaml/guestfs.ml", line 1, characters 0-1:
Error: The implementation ../ocaml/guestfs.ml
does not match the interface ../ocaml/guestfs.cmi:
Values do not match:
external mkfs_btrfs :
t ->
?allocstart:int64 ->
?bytecount:int64 ->
?datatype:string ->
2011 Feb 17
7
Re: [Bugme-new] [Bug 29302] New: Null pointer dereference with large max_sectors_kb
(switched to email. Please respond via emailed reply-to-all, not via the
bugzilla web interface).
On Thu, 17 Feb 2011 13:20:20 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=29302
>
> Summary: Null pointer dereference with large max_sectors_kb
> Product: IO/Storage
> Version: 2.5
> Kernel
2009 Jan 11
2
2.6.29-rc1: Cannot loopback mount btrfs formatted file
Since 2.6.29-rc1 contains btrfs I had to try it.
However the loopback mount of my btrfs formatted file fails:
user@host:~$ dd if=/dev/zero of=btrfs.img bs=1MB count=512
user@host:~$ mkfs.btrfs btrfs.img
fs created label (null) on btrfs.img
nodesize 4096 leafsize 4096 sectorsize 4096 size 488.28MB
Btrfs v0.16+da35ab2b0b54
user@host:~$ sudo mount -t btrfs -o loop btrfs.img /mnt/btrfs
mount:
2009 Nov 14
2
[PATCH] btrfs-progs: Check mount status of multidevice filesystems
Some programs like btrfsck should not be run on a mounted filesystem.
This patch adds a check in btrfs_open_devices() for the mount status
of every device belonging to the filesystem. The function check_mount()
gets improved support for loopback devices. It now detects if the
program is run on the file that is being used by the loopback device.
Signed-off-by: Andi Drebes
2012 Mar 20
13
[PATCH 0 of 3 v2] PV-GRUB: add support for ext4 and btrfs
Hi,
The following patches add support for ext4 and btrfs to
PV-GRUB. These patches are taken nearly verbatim from those provided
by Fedora and Gentoo.
We''ve been using these patches for the PV-GRUB images available in EC2
for some time now with no problems.
Changes from v1:
- Makefile has been changed to check the exit code from patch
- The btrfs patch has been rebased to apply
2013 Feb 12
10
[PATCH] Btrfs-progs: check out if the swap device
Currently, the following commands succeed.
# cat /proc/swaps
Filename Type Size Used Priority
/dev/sda3 partition 8388604 0 -1
/dev/sdc8 partition 9765884 0 -2
# mkfs.btrfs /dev/sdc8
WARNING! - Btrfs v0.20-rc1-165-g82ac345 IS EXPERIMENTAL
WARNING! - see
2013 Apr 11
2
[PATCH 1/2] btrfs-progs: replace blkid_probe_get_wholedisk_devno
blkid_probe_get_wholedisk_devno() isn''t available in some older
versions of libblkid. It was used to work around an old
bug in blkid_devno_to_wholedisk(), but that has been fixed since
5cd0823 libblkid: fix blkid_devno_to_wholedisk(), present in
util-linux 2.17 and beyond.
If we happen to be missing that fix, the worst that happens is
that we''d fail to detect that a device is
2012 Apr 20
44
Ceph on btrfs 3.4rc
After running ceph on XFS for some time, I decided to try btrfs again.
Performance with the current "for-linux-min" branch and big metadata
is much better. The only problem (?) I''m still seeing is a warning
that seems to occur from time to time:
[87703.784552] ------------[ cut here ]------------
[87703.789759] WARNING: at fs/btrfs/inode.c:2103
2013 Jan 03
33
Option LABEL
Hallo, linux-btrfs,
please delete the option "-L" (for labelling) in "mkfs.btrfs", in some
configurations it doesn''t work as expected.
My usual way:
mkfs.btrfs -d raid0 -m raid1 /dev/sdb /dev/sdc /dev/sdd ...
One call for some devices.
Wenn I add the option "-L mylabel" then each device gets the same label,
and therefore some other programs
2010 Aug 04
1
A reproducible crush of mounting a subvolume
Hello
I did the following commands and resulted in a segmentation fault.
[root@localhost ~]# mkfs.btrfs /dev/sda6
WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL
WARNING! - see http://btrfs.wiki.kernel.org before using
fs created label (null) on /dev/sda6
nodesize 4096 leafsize 4096 sectorsize 4096 size 46.93GB
Btrfs Btrfs v0.19
[root@localhost ~]# mount /dev/sda6 /mnt/btra
[root@localhost ~]#
2010 Oct 24
4
Determine if a given fs is a btrfs fs
Hi,
I''ve some btrfs fs which are encrypted with loopaes.
I decrypt them in a script during bootup. Now I want to determine if the decrypted fs
is a btrfs fs. If not I missspelled the password and I can handle that error in my
script.
Thanks for any help!
Felix
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to
2012 Jan 10
0
[PATCH V2] Btrfs: cleanup: move node-,leaf-,sectorsize to fs_info
moved the node-,leaf-,sectorsize from btrfs_root to btrfs_fs_info
since we don''t intend to allow different sizes between trees
also removed sectorsize from btrfs_block_group_cache because it now
can use the one in fs_info
updated all uses accordingly
please note in disk-io.c:
-static int __setup_root(nodesize, leafsize, sectorsize, stripesize,
- *root,
2012 Jul 27
2
[PATCH] btrfs-progs: btrfs-image.c: Added NULL pointer check.
Check for the return value of ''open_ctree()'' before dereferencing it.
Signed-off-by: Nageswara R Sastry <nasastry@in.ibm.com>
---
btrfs-image.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/btrfs-image.c b/btrfs-image.c
index f2bbcc8..2a33a55 100644
--- a/btrfs-image.c
+++ b/btrfs-image.c
@@ -491,6 +491,7 @@ static int create_metadump(const char *input, FILE *out,
2016 Feb 03
5
[PATCH 0/3] tests: Various fixes for btrfs and aarch64.
These patches fix btrfs on aarch64. You still need btrfs-progs 4.4
which was only released a few days ago.
Rich.
2008 Sep 30
5
GELI partition mount on boot fails after 7.0 -> 7.1-PRERELEASE upgrade
I was using a GELI partition for /usr/home on 7.0, so it attaches and mounts
on boot. The problem is it stopped working after the system was upgraded to
RELENG_7/7.1-PRERELEASE. Here's how it goes:
I have the following /etc/fstab:
/dev/ad0s1b none swap sw 0 0
/dev/ad0s1a / ufs rw 1 1
/dev/ad0s1d
2009 Feb 26
2
BUG: Mount/Unmount Loop
Hello Developers,
it seems that i discovered a bug in btrfs while testing it on a zSeries
mainframe :-)
## Test environment:
- IBM System z900 Mainframe
- Debian SID with 64 Bit Kernel
- GIT Sources from
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git
- System runs as z/VM guest
- 3 Virtual CPUs
- 1 GB RAM Storage
## Initial Test Setup
- Setup a Debian SID System with
2012 Apr 03
3
[PATCH] Btrfs: do not mount when we have a sectorsize unequal to PAGE_SIZE
Our code is not ready to cope with a sectorsize that''s not equal to PAGE_SIZE.
It will lead to hanging-on while writing something.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
fs/btrfs/disk-io.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 20196f4..b9866f2 100644
--- a/fs/btrfs/disk-io.c
+++
2012 Aug 16
2
Geom label lost after expanding partition
I have a GPT formatted disk where I recently expanded the size of a
partition. I used "gpart resize -i 6 ada1" first to expand the
partition to use the remaining free space and then growfs to modify
the FFS file system to use the full partition. This was all done in
single-user mode, of course, but when I enter "exit" to bring the
system up, it failed to mount /usr. This was
2011 Jun 13
2
[PATCH] New API: ufs-growfs to grow UFS filesystems.
This simple patch adds support for the BSD "growfs" command, so you
can grow BSD filesystems [in theory -- see below].
It also adds a new optional group called "ufsutils" which indicates if
the libguestfs API supports the guestfs_ufs_growfs call, since it's
not available on Fedora. (http://libguestfs.org/guestfs.3.html#availability)
I tested this on Debian, and although