On Thu, Aug 17, 2017 at 10:59:33PM +0200, Goffredo Baroncelli wrote:
> Patches will follow shortly
With your patches applied:
~ # btrfs fi du -s /mnt/red/\@backup/
/mnt/red/\@backup/.snapshot/monthly_2017-08-01_05\:30\:01/ /mnt/red/\@svn/
/mnt/red/\@svn/.snapshot/weekly_2017-08-05_04\:20\:02/
On 08/18/2017 09:12 AM, Nikolay Borisov wrote:
>
>
> On 18.08.2017 10:09, Goffredo Baroncelli wrote:
>> On 08/18/2017 08:34 AM, Nikolay Borisov wrote:
[...]
>>> It would be awesome if you manage to introduce xfstests for this case
>>
>> I am not sure if this is the right thing to do: the bugs
t1
>>>> Total Exclusive Set shared Filename
>>>> 0.00B 0.00B 0.00B test1
>>>> # btrfs fi du -s test1.snap
>>>> Total Exclusive Set shared Filename
>>>> ERROR: cannot check space of 'test1.snap': I
0.00B test1
>>> # btrfs fi du -s test1.snap
>>> Total Exclusive Set shared Filename
>>> ERROR: cannot check space of 'test1.snap': Inappropriate ioctl for device
>>> #
>>>
>>
>> tanks for the test case. Now I was able to reproduc
st1.snap
>> Create a snapshot of 'test1' in './test1.snap'
>> # btrfs fi du -s test1
>> Total Exclusive Set shared Filename
>> 0.00B 0.00B 0.00B test1
>> # btrfs fi du -s test1.snap
>> Total Exclusive Set shared Filename
&
-s test1
> Total Exclusive Set shared Filename
> 0.00B 0.00B 0.00B test1
> # btrfs fi du -s test1.snap
> Total Exclusive Set shared Filename
> ERROR: cannot check space of 'test1.snap': Inappropriate ioctl for device
> #
>
tanks for the test cas
test1
# btrfs fi du -s test1.snap
Total Exclusive Set shared Filename
ERROR: cannot check space of 'test1.snap': Inappropriate ioctl for device
#
Pretty strace here:
https://pastebin.com/raw/ibnha9Sx
Ugly MUA strace here for the archive:
# strace btrfs fi du -s test1.snap
execve
Hi,
On 08/15/2017 12:57 AM, Piotr Szymaniak wrote:
> and... some issues:
> ~ # btrfs fi du -s /mnt/red/\@backup/
> Total Exclusive Set shared Filename
> ERROR: cannot check space of '/mnt/red/@backup/': Inappropriate ioctl for
> device
could you share the output of
es:
>> > ~ # btrfs fi du -s /mnt/red/\@backup/
>> > Total Exclusive Set shared Filename
>> > ERROR: cannot check space of '/mnt/red/@backup/': Inappropriate ioctl for
>> > device
>>
>>
>> It's a bug, but I don't know if any devs ar
lename
> > ERROR: cannot check space of '/mnt/red/@backup/': Inappropriate ioctl for
> > device
>
>
> It's a bug, but I don't know if any devs are working on a fix yet.
>
> The problem is that the subvolume being snapshot, contains subvolumes.
> The resulting snapshot
On Mon, Aug 14, 2017 at 4:57 PM, Piotr Szymaniak <szar...@grubelek.pl> wrote:
>
> and... some issues:
> ~ # btrfs fi du -s /mnt/red/\@backup/
> Total Exclusive Set shared Filename
> ERROR: cannot check space of '/mnt/red/@backup/': Inappropriate ioctl for
> de
Exclusive Set shared Filename
ERROR: cannot check space of '/mnt/red/@backup/': Inappropriate ioctl for device
and it works for other subvols:
~ # btrfs fi du -s /mnt/red/\@svn/
Total Exclusive Set shared Filename
52.22GiB10.59MiB 4.13GiB /mnt/red/@svn/
~ # btrfs fi du -s /mnt/red
[root@f25h mnt]# btrfs fi du -s home.20170104
Total Exclusive Set shared Filename
ERROR: cannot check space of 'home.20170104': Inappropriate ioctl for device
The command works on this snapshot's parent.
kernel 4.8.15
btrfs-progs 4.8.5
What's interesting is the parent contains nested
up root id - Inappropriate ioctl for device
ERROR: cannot check space of '/media/RAID/owncloud/': Unknown error -1
$ sudo btrfs fi du /media/RAID/apps
Total Exclusive Set shared Filename
500.00KiB 0.00B - /media/RAID//apps/Drive Snapshot
167.96MiB 0.00B - /media/
2016-03-27 22:26 GMT+02:00 Peter Becker :
> Hi i found the descriped error in if i execute du with btrfs-progs
> v4.5 with kernel v4.5.
>
> floyd@nas ~ $ sudo btrfs version
> btrfs-progs v4.5
>
> floyd@nas ~ $ uname -r
> 4.5.0-040500-generic
>
> floyd@nas ~ $ sudo btrfs fi
Hi i found the descriped error in if i execute du with btrfs-progs
v4.5 with kernel v4.5.
floyd@nas ~ $ sudo btrfs version
btrfs-progs v4.5
floyd@nas ~ $ uname -r
4.5.0-040500-generic
floyd@nas ~ $ sudo btrfs fi show
Label: 'RAID' uuid: 3247737b-87f9-4e8c-8db3-2beed50fb104
Total devices 4 FS
space
problem(DF shows free space but I can't create/update and sometimes
delete files)
So as the wiki suggest I try to issue a balance command to get the
Inappropriate ioctl for device
On some of my servers I can successfully use the command one however
after that I get the same error
System
On 25 July 2015 at 10:56, Mojtaba ker...@rp2.org wrote:
System is debian wheezy or Jessie.
This is Debian Jessie:
root@s2:/# uname -a
Linux s2 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
That's a way too old kernel to be running Btrfs on. You should be
running on at least
the dependencies during the upgrade. You may want to choose
initramfs-tools from backports rather than dracut which was offered as a
replacement for initramfs-tools.
[snip]
I've successfully run balance on this system once a few days ago
however after that I'm getting Inappropriate ioctl
Thanks Martin for helping with the data.
Unfortunately no matter what I try I couldn't reproduce the
Inappropriate ioctl for device
But I got INVALD which is wrong as well. So I sent a patch for
that. EIO is appropriate in this case.
Next, Passing a devid to delete a device - yes it would
On 06/04/15 14:32, Anand Jain wrote:
btrfs fi show -d
That gives:
# btrfs fi show -d
warning, device 3 is missing
warning devid 3 not found already
warning, device 3 is missing
warning devid 3 not found already
Label: 'btrfs_root' uuid: 92452e9a-2775-45c4-922c-f01b2afd51c2
Total
Martin,
presumably kernel failed to read SB from disk /dev/sdf5,
bit strange it saw 'Inappropriate ioctl for device',
logically that don't explain.
Curios to know what does 'btrfs fi show -d' say ?
and output of blkid if you could. The situation here
is not same as destroying the SB
btrfs device delete /dev/sdf5 /mnt/data2
ERROR: error removing the device '/dev/sdf5' - Inappropriate ioctl for
device
very strange. 'btrfs fi show -m' shows btrfs fs(s) that are mounted.
- Anand
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body
On 01/04/15 08:06, Anand Jain wrote:
btrfs device delete /dev/sdf5 /mnt/data2
ERROR: error removing the device '/dev/sdf5' - Inappropriate ioctl for
device
very strange. 'btrfs fi show -m' shows btrfs fs(s) that are mounted.
Looks like my /dev/sdf isn't responding with anything useful
/sdf5 /mnt/data2
ERROR: error removing the device '/dev/sdf5' - Inappropriate ioctl for
device
very strange. 'btrfs fi show -m' shows btrfs fs(s) that are mounted.
Looks like my /dev/sdf isn't responding with anything useful at all... A
firmware crash?... (This is for a 256GB SSD.)
# btrfs
for reporting.
Anand
On 04/01/2015 06:54 PM, Martin wrote:
On 01/04/15 08:06, Anand Jain wrote:
btrfs device delete /dev/sdf5 /mnt/data2
ERROR: error removing the device '/dev/sdf5' - Inappropriate ioctl
for
device
very strange. 'btrfs fi show -m' shows btrfs fs(s) that are mounted
On 31/03/15 18:37, David Sterba wrote:
On Mon, Mar 30, 2015 at 09:59:05PM +0100, Martin wrote:
btrfs device delete /dev/sdf5 /mnt/data2
ERROR: error removing the device '/dev/sdf5' - Inappropriate ioctl for
device
Strange, that would mean that the ioctl number is not handled at all. I
On Mon, Mar 30, 2015 at 09:59:05PM +0100, Martin wrote:
btrfs device delete /dev/sdf5 /mnt/data2
ERROR: error removing the device '/dev/sdf5' - Inappropriate ioctl for
device
Strange, that would mean that the ioctl number is not handled at all. I
haven't found any change in device delete
Help welcomed...
Trying to delete one device from a btrfs raid1 across 3 devices gives
for my example:
btrfs device delete /dev/sdf5 /mnt/data2
ERROR: error removing the device '/dev/sdf5' - Inappropriate ioctl for
device
That part of the filesystem is:
Label: 'btrfs_data2' uuid: 3aaee716
- Inappropriate ioctl for device
ERROR: get_df failed Inappropriate ioctl for device
#mount
/dev/sda6 on / type ext4 (rw,relatime,data=ordered)
/dev/sda8 on /home type btrfs (rw,relatime,ssd,space_cache)
A reinstallation of the btrfs-progs did not help.
Is the system bad packaged by opensuse
filesystem df /dev/sda8
ERROR: couldn't get space info - Inappropriate ioctl for device
ERROR: get_df failed Inappropriate ioctl for device
#mount
/dev/sda6 on / type ext4 (rw,relatime,data=ordered)
/dev/sda8 on /home type btrfs (rw,relatime,ssd,space_cache)
A reinstallation of the btrfs-progs did
.
ERROR: couldn't get space info - Inappropriate ioctl for device
ERROR: get_df failed Inappropriate ioctl for device
#mount
/dev/sda6 on / type ext4 (rw,relatime,data=ordered)
/dev/sda8 on /home type btrfs (rw,relatime,ssd,space_cache)
A reinstallation of the btrfs-progs did not help
media_ro.20140222_11:12:53
ERROR: send ioctl failed with -25: Inappropriate ioctl for device
Or more simply:
gargamel:/mnt/btrfs_pool1# btrfs send media_ro.20140222_11:12:53 | less
At subvol media_ro.20140222_11:12:53
ERROR: send ioctl failed with -25: Inappropriate ioctl for device
gargamel:/mnt
On Tue, Nov 01, 2011 at 08:36:00PM +0100, Helmut Hullen wrote:
The bundle uses the devices /dev/sdb1, /dev/sdc1 and /dev/sdg1, btrfs
filesystem show shows these informations.
Mounting doesn't work immediately; most times I have to run the mount
command three times - strange.
I observed
the error message
ERROR: getting dev info for scrub failed: Inappropriate ioctl for
device
I don't use udev, ls -l /dev/sdb1 shows
brw-r- 1 root disk 8, 17 29. Apr 1995 /dev/sdb1
Running the command via strace shows the last lines
set_thread_area({entry_number:-1 - 6, base_addr
ERROR: getting dev info for scrub failed: Inappropriate ioctl for
device
Scrubber runs on a mounted filesystem.
Thanks,
Ilya
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
, without any error.
There seems to be another problem.
When I run
btrfs scrub start -r /dev/sdb1
(or another of the three disks) then I only get the error message
ERROR: getting dev info for scrub failed: Inappropriate ioctl for
device
Scrubber runs on a mounted filesystem.
df
in:
ioctl:: Inappropriate ioctl for device
I believe you'll also get this same error message if there's not enough
space to do the shrinking, so be aware of that.
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo
E.g. btrfsctl -r -4000m /dev/sda5
results in:
ioctl:: Inappropriate ioctl for device
Distribution: Ubuntu 10.10
Kernel: 2.6.35-22-generic
According to the Synaptic Package manager, the version of btrfs-tools is
0.19+20100601-3
Other information that can be of interest:
- I started Ubuntu
from git and compile them
yourself the version of btrfs-progs on LiveCD is old.
Latest version I use for example is: v0.19-35-g1b444cd
results in:
ioctl:: Inappropriate ioctl for device
Distribution: Ubuntu 10.10
Kernel: 2.6.35-22-generic
According to the Synaptic Package manager
40 matches
Mail list logo