[PATCH 2/2] add detailed help messages to btrfs command

2011-01-23 Thread Hubert Kario
extend the btrfs cmd --help command to print detailed help message if available but fallback to basic help message if detailed is unavailable add detailed help message for 'filesystem defragment' command little tweaks in comments Signed-off-by: Hubert Kario ka...@wit.edu.pl ---

Re: [regression?] hang with 2.6.37 on a BTRFS test machine

2011-01-23 Thread Helmut Hullen
Hallo, Martin, Du meintest am 23.01.11: I have something I do not have the slightest clue on how to track down: Occasionally with 2.6.37 plain vanilla my ThinkPad T23 freezes in such a way, that when I type a command at the prompt, nothing will happen anymore. Same goes for login into a

Re: [regression?] hang with 2.6.37 on a BTRFS test machine

2011-01-23 Thread Martin Steigerwald
CCs restored. Its usual to keep CCs on Linux kernel related mailing lists. Am Sunday 23 January 2011 schrieb Helmut Hullen: Hallo, Martin, Du meintest am 23.01.11: I have something I do not have the slightest clue on how to track down: Occasionally with 2.6.37 plain vanilla my

Re: [PATCH 2/2] add detailed help messages to btrfs command

2011-01-23 Thread Goffredo Baroncelli
Hello Hubert, please update the man page too. Regards G.Baroncelli On 01/23/2011 01:42 PM, Hubert Kario wrote: extend the btrfs cmd --help command to print detailed help message if available but fallback to basic help message if detailed is unavailable add detailed help

Re: [regression?] hang with 2.6.37 on a BTRFS test machine

2011-01-23 Thread Helmut Hullen
Hallo, Martin, Du meintest am 23.01.11: Maybe it's the same problem ... I have (among my machines) a Thinkpad T22 on which I have run btrfs with kernel 2.6.37-rc4. Sometimes it hung, too. But it's an old machine, with old RAM, with some old disks. Is the hung comparable to what I have

Re: v0.19-35-g1b444cd btrfsck says snapshots have errors

2011-01-23 Thread Hugo Mills
On Sun, Jan 23, 2011 at 05:44:34AM -0500, Ian! D. Allen wrote: On Fri, Jan 21, 2011 at 09:15:49AM +0800, Yan, Zheng wrote: On Fri, Jan 21, 2011 at 6:52 AM, Ian! D. Allen idal...@idallen.ca wrote: Still getting btrfsck errors with this:

Re: [PATCH 2/2] add detailed help messages to btrfs command

2011-01-23 Thread Hubert Kario
On Sunday 23 of January 2011 15:07:09 Goffredo Baroncelli wrote: Hello Hubert, please update the man page too. I started to do it but then I noticed that you have made a few changes to the man page yourself. I'm quite new to the git/mail patch system of releases and I'm not sure if I should

Re: [PATCH 2/2] add detailed help messages to btrfs command

2011-01-23 Thread Helmut Hullen
Hallo, Goffredo, Du meintest am 23.01.11: extend the btrfs cmd --help command to print detailed help message if available but fallback to basic help message if detailed is unavailable add detailed help message for 'filesystem defragment' command little tweaks in comments

Re: [PATCH 2/2] add detailed help messages to btrfs command

2011-01-23 Thread Felix Blanke
Hi, no :) All those patches need to be applied to the current git. I'm sure there will be an e-mail if all those patches are applied. Regards, Felix On 23. January 2011 - 15:26, Helmut Hullen wrote: Date: 23 Jan 2011 15:26:00 +0100 From: Helmut Hullen hul...@t-online.de To:

Re: [PATCH 2/2] add detailed help messages to btrfs command

2011-01-23 Thread Goffredo Baroncelli
There are a lot of patches regarding the btrfs-tool. Unfortunately, the btrfs maintainer are very busy in other areas of the project. I don't know when (if) these patches will be applied. However I think that is better have a misaligned patch instead nothing. Regards G.Baroncelli On 01/23/2011

Re: snapshot strange behaviour

2011-01-23 Thread Lubos Kolouch
Goffredo Baroncelli, Sun, 23 Jan 2011 13:17:13 +0100: Hi Lubos, On 01/23/2011 08:17 AM, Lubos Kolouch wrote: Hello, During doing backups I found strange behaviour... 2.6.37, latest btrfs- progs from git nbgentoo ~ # btrfs subv crea a Create subvolume './a' nbgentoo ~ # cd a

Re: [PATCH 2/2] add detailed help messages to btrfs command

2011-01-23 Thread Hubert Kario
On Sunday 23 of January 2011 15:54:12 Goffredo Baroncelli wrote: There are a lot of patches regarding the btrfs-tool. Unfortunately, the btrfs maintainer are very busy in other areas of the project. I don't know when (if) these patches will be applied. However I think that is better have a

[PATCH] update man page to new defragment command interface

2011-01-23 Thread Hubert Kario
Update btrfs filesystem defragment command explanation. Add explanation of advanced parameters and notes about general usage. Add few notes about the btrfs command --help usage, fix related grammar. Signed-off-by: Hubert Kario ka...@wit.edu.pl --- man/btrfs.8.in | 33

Re: snapshot strange behaviour

2011-01-23 Thread Goffredo Baroncelli
On 01/23/2011 04:05 PM, Lubos Kolouch wrote: Goffredo Baroncelli, Sun, 23 Jan 2011 13:17:13 +0100: Hi Lubos, On 01/23/2011 08:17 AM, Lubos Kolouch wrote: Hello, Is this a bug or intended behaviour and I am missing something something? How to snapshot a subvolume, containing another

Re: Bug in mkfs.btrfs?!

2011-01-23 Thread Hugo Mills
Hi, Felix, On Sat, Jan 22, 2011 at 04:56:12PM +0100, Felix Blanke wrote: It was a simple: mkfs.btrfs -L backup -d single /dev/loop2 But it also happens without the options, like: mkfs.btrfs /dev/loop2 /dev/loop2 is a loop device, which is aes encrypted. The output of losetup

Re: Cannot Create Partition

2011-01-23 Thread Hugo Mills
On Sun, Jan 23, 2011 at 10:07:54AM -0800, cac...@quantum-sci.com wrote: On /dev/sda I have sda1 which is my / bootable filesystem for Debian formatted ext4. This is 256MB on a 2TB drive. I want to set up the rest of the drive as BTRFS for various functions, and I presume that I first

Re: snapshot strange behaviour

2011-01-23 Thread Chester
Also, btrfs already has a utility to scan for subvolumes in a directory btrfs subvolume list /path On Sun, Jan 23, 2011 at 12:02 PM, Goffredo Baroncelli kreij...@libero.it wrote: On 01/23/2011 04:05 PM, Lubos Kolouch wrote: Goffredo Baroncelli, Sun, 23 Jan 2011 13:17:13 +0100: Hi Lubos, On

Re: Bug in mkfs.btrfs?!

2011-01-23 Thread Goffredo Baroncelli
On 01/23/2011 07:18 PM, Hugo Mills wrote: Hi, Felix, On Sat, Jan 22, 2011 at 04:56:12PM +0100, Felix Blanke wrote: It was a simple: mkfs.btrfs -L backup -d single /dev/loop2 But it also happens without the options, like: mkfs.btrfs /dev/loop2 /dev/loop2 is a loop device, which is

Re: Bug in mkfs.btrfs?!

2011-01-23 Thread Felix Blanke
Hi Goffredo, you're damn right :) scooter ~ # losetup -a /dev/loop0: [0010]:3154 (/dev/disk/by-id/ata-INTEL_SSDSA2M160G2GC_CVPO939201JX160AGN-par) encryption=AES128 /dev/loop1: [0010]:4552 (/dev/disk/by-id/ata-INTEL_SSDSA2M160G2GC_CVPO939201JX160AGN-par) encryption=AES128 /dev/loop2:

Re: Bug in mkfs.btrfs?!

2011-01-23 Thread Hugo Mills
On Sun, Jan 23, 2011 at 11:02:16PM +0100, Goffredo Baroncelli wrote: On 01/23/2011 07:18 PM, Hugo Mills wrote: Hi, Felix, On Sat, Jan 22, 2011 at 04:56:12PM +0100, Felix Blanke wrote: It was a simple: mkfs.btrfs -L backup -d single /dev/loop2 But it also happens without the

Re: Bug in mkfs.btrfs?!

2011-01-23 Thread Felix Blanke
Hi, losetup is part of util-linux: http://www.kernel.org/pub/linux/utils/util-linux/ I'm using 2.17.2. Don't know if that is some kind of revision. I tried the newest version 2.19-rc1. There seems to be some kind of fix: scooter ~ # /home/fame/tmp/util-linux-2.19-rc1/mount/losetup -a

[PATCH] btrfs: check return value of btrfs_start_ioctl_transaction() properly

2011-01-23 Thread Tsutomu Itoh
btrfs_start_ioctl_transaction() returns ERR_PTR(), not NULL. So, it is necessary to use IS_ERR() to check the return value. Signed-off-by: Tsutomu Itoh t-i...@jp.fujitsu.com --- fs/btrfs/ioctl.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -urNp

Re: Cannot Create Partition

2011-01-23 Thread Fajar A. Nugraha
On Mon, Jan 24, 2011 at 1:07 AM, cac...@quantum-sci.com wrote: On /dev/sda I have sda1 which is my / bootable filesystem for Debian formatted ext4.  This is 256MB on a 2TB drive. Really? How do you know it's 256 MB? # fdisk /dev/sda WARNING: GPT (GUID Partition Table) detected on