Re: btrfsctl -A not returning useful information

2008-07-18 Thread Chris Mason
On Fri, 2008-07-18 at 20:28 +0300, Ahmed Kamal wrote:
> [EMAIL PROTECTED] progs-unstable]# btrfsctl -A /dev/sdb
> ioctl returns 0
> [EMAIL PROTECTED] progs-unstable]# btrfsctl -A /dev/sdc
> ioctl returns 0
> 
> 
> /dev/sdb has a btrfs, while /dev/sdc is blank. What's that output
> supposed to mean ? Is it a bug ?

It isn't an error to scan a partition that doesn't have btrfs on it.
btrfsctl -A is just a single shot scan of a single device.  It is meant
for use by programs like udev to scan storage.

It think what you want is btrfs-show.

-chris


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: btrfsctl -A not returning useful information

2008-07-18 Thread Linda Knippers

Ahmed Kamal wrote:

Thanks Linda, I located the kernel message. Is it normal such issues
are not tracked in the project's bugzilla:
http://oss.oracle.com/bugzilla/buglist.cgi?product=Btrfs
which only contains 5 bugs ?!


I suppose it depends on whether its a bug with something that's
supposed to work or whether its a feature that's not quite
implemented yet.  I think in this case, btrfsctl is providing
some basic capabilities to assist development and testing and
is quite likely to evolve, so to me this wasn't a bugzilla item.
Chris might have different advice though.

-- ljk


On Fri, Jul 18, 2008 at 8:50 PM, Linda Knippers <[EMAIL PROTECTED]> wrote:

Ahmed Kamal wrote:

[EMAIL PROTECTED] progs-unstable]# btrfsctl -A /dev/sdb
ioctl returns 0
[EMAIL PROTECTED] progs-unstable]# btrfsctl -A /dev/sdc
ioctl returns 0


/dev/sdb has a btrfs, while /dev/sdc is blank. What's that output
supposed to mean ? Is it a bug ?

I think not so much of a bug as not completely implemented.
If you look in /var/log/messages or where every your kernel
messages go, you'll see information about the file system on
the device.  At least that's how it worked for me.

-- ljk

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html




--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: btrfsctl -A not returning useful information

2008-07-18 Thread Ahmed Kamal
Thanks Linda, I located the kernel message. Is it normal such issues
are not tracked in the project's bugzilla:
http://oss.oracle.com/bugzilla/buglist.cgi?product=Btrfs
which only contains 5 bugs ?!

On Fri, Jul 18, 2008 at 8:50 PM, Linda Knippers <[EMAIL PROTECTED]> wrote:
> Ahmed Kamal wrote:
>>
>> [EMAIL PROTECTED] progs-unstable]# btrfsctl -A /dev/sdb
>> ioctl returns 0
>> [EMAIL PROTECTED] progs-unstable]# btrfsctl -A /dev/sdc
>> ioctl returns 0
>>
>>
>> /dev/sdb has a btrfs, while /dev/sdc is blank. What's that output
>> supposed to mean ? Is it a bug ?
>
> I think not so much of a bug as not completely implemented.
> If you look in /var/log/messages or where every your kernel
> messages go, you'll see information about the file system on
> the device.  At least that's how it worked for me.
>
> -- ljk
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
>> the body of a message to [EMAIL PROTECTED]
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: btrfsctl -A not returning useful information

2008-07-18 Thread Linda Knippers

Ahmed Kamal wrote:

[EMAIL PROTECTED] progs-unstable]# btrfsctl -A /dev/sdb
ioctl returns 0
[EMAIL PROTECTED] progs-unstable]# btrfsctl -A /dev/sdc
ioctl returns 0


/dev/sdb has a btrfs, while /dev/sdc is blank. What's that output
supposed to mean ? Is it a bug ?


I think not so much of a bug as not completely implemented.
If you look in /var/log/messages or where every your kernel
messages go, you'll see information about the file system on
the device.  At least that's how it worked for me.

-- ljk

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


btrfsctl -A not returning useful information

2008-07-18 Thread Ahmed Kamal
[EMAIL PROTECTED] progs-unstable]# btrfsctl -A /dev/sdb
ioctl returns 0
[EMAIL PROTECTED] progs-unstable]# btrfsctl -A /dev/sdc
ioctl returns 0


/dev/sdb has a btrfs, while /dev/sdc is blank. What's that output
supposed to mean ? Is it a bug ?
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html