Re: [PATCH v2] Btrfs-progs: add support for device replace procedure

2013-02-16 Thread Martin Steigerwald
Am Dienstag, 11. Dezember 2012 schrieb Stefan Behrens: This is the user mode part of the device replace patch series. Thank you for working on this. The command group btrfs replace is added with three commands: - btrfs replace start srcdev|srcdevid targetdev [-Bfr] mount_point - btrfs

Re: [btrfs-progs] testing btrfs hierarchical quotas

2013-02-16 Thread Hugo Mills
On Sat, Feb 16, 2013 at 06:55:09PM +1100, Dave Chinner wrote: On Fri, Feb 15, 2013 at 08:59:06PM +, Hugo Mills wrote: Hi, Hemanth, Here's a question -- what are you testing? (Not just here, but in general, with your test infrastructure) There are (at least) three

Why does btrfs send /mnt/btrfs-root fail with ERROR: /mnt/btrfs-root is not read-only. even when mounted with option ro?

2013-02-16 Thread Adam Ryczkowski
Question as in title. I did remount my btrfs partition as read-only (i.e. I did sudo mount /dev/sda9 /mnt/btrfs-root -o ro) And when I did btrfs send /mnt/btrfs-root /dev/null I received ERROR: /mnt/adama-docs is not read-only. Although, when I sudo touch /mnt/btrfs-root/foo I get touch:

Re: Why does btrfs send /mnt/btrfs-root fail with ERROR: /mnt/btrfs-root is not read-only. even when mounted with option ro?

2013-02-16 Thread Hugo Mills
On Sat, Feb 16, 2013 at 11:07:28PM +0100, Adam Ryczkowski wrote: Question as in title. I did remount my btrfs partition as read-only (i.e. I did sudo mount /dev/sda9 /mnt/btrfs-root -o ro) And when I did btrfs send /mnt/btrfs-root /dev/null I received ERROR: /mnt/adama-docs is not

Re: How to clone btrfs partition?

2013-02-16 Thread Hugo Mills
On Sun, Feb 17, 2013 at 12:14:30AM +0100, Adam Ryczkowski wrote: Welcome, I need to clone btrfs partition. Not a single snapshot, but the whole lot of snapshots. I thought that send receive can help me. Can it? When I try to use btrfs send /mnt/btrfs-root /dev/null I get ERROR:

[PATCH v2] fs: encode_fh: return FILEID_INVALID if invalid fid_type

2013-02-16 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com This patch is a follow up on below patch: [PATCH] exportfs: add FILEID_INVALID to indicate invalid fid_type commit: 216b6cbdcbd86b1db0754d58886b466ae31f5a63 Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Vivek Trivedi