Re: “Bug”-report: inconsistency kernel - tools

2012-08-31 Thread Goffredo Baroncelli
On 08/30/2012 08:24 PM, Goffredo Baroncelli wrote: And magically the filesystem is now composed by three disks. However 4 physical devices are show. This because the disk /dev/vdi superblock says that the disk is still valid (after the btrfs device del the disk is not touched any more) I have

[BTRFS-PROGS][BUG][PATCH] Incorrect detection of a removed device [was Re: “Bug”-report: inconsistency kernel - tools]

2012-08-31 Thread Goffredo Baroncelli
Hi all, Yan, On 08/31/2012 09:08 PM, Goffredo Baroncelli wrote: However making a test I found both the behaviours: sometime the removed disk disappears from the output of btrfs fi show and sometime not... May be that there is a bug somewhere... I became crazy looking at this bug. I found

Re: “Bug”-report: inconsistency kernel - tools

2012-08-30 Thread Goffredo Baroncelli
On 08/28/2012 09:52 PM, M G Berberich wrote: Hello, We had set up a btrfs-fs over 6 hot-plugable SAS-disks for testing and got it into a state where kernel and btrfs-tools do not agree any more about the state of the filesystem. We do not remember exaclty what we did, but roughly it was

Re: “Bug”-report: inconsistency kernel - tools

2012-08-30 Thread Hugo Mills
On Thu, Aug 30, 2012 at 08:24:53PM +0200, Goffredo Baroncelli wrote: On 08/28/2012 09:52 PM, M G Berberich wrote: (7) reinserted disk (and rebooted) At some point before reboot the first 10 sectors of one disk were zeroed to test if the disk gets removed from the btrfs. IIRC the

“Bug”-report: inconsistency kernel - tools

2012-08-28 Thread M G Berberich
Hello, We had set up a btrfs-fs over 6 hot-plugable SAS-disks for testing and got it into a state where kernel and btrfs-tools do not agree any more about the state of the filesystem. We do not remember exaclty what we did, but roughly it was something like this (on the running system). THIS IS