* Inappropriate ioctl
@ 2014-03-26 21:05 Johannes Stemmler
2014-03-26 21:14 ` Josef Bacik
2014-03-26 22:50 ` Hugo Mills
0 siblings, 2 replies; 3+ messages in thread
From: Johannes Stemmler @ 2014-03-26 21:05 UTC (permalink / raw)
To: linux-btrfs
Sorry for reporting this issue to you, but I have not found any helpful
information elsewhere.
I have installed a new opensuse-system 12.3 from scratch and selected an
ext4-fs for /
and btrfs for /home
The installation works and the access to the /home btrfs works also.
But the btrfs-progs doesn't.
show works
# btrfs filesystem show /dev/sda8
Label: lx_home uuid: 5a6857e3-b421-4a68-92f4-0c7e5f9fcb4c
Total devices 1 FS bytes used 74.40GiB
devid 1 size 262.63GiB used 77.04GiB path /dev/sda8
df does not work
# btrfs 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 not help.
Is the system bad packaged by opensuse or is my constellation forbidden?
Best regards,
Johannes Stemmler
p.s. the btrfs is on a ssd-partition
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Inappropriate ioctl
2014-03-26 21:05 Inappropriate ioctl Johannes Stemmler
@ 2014-03-26 21:14 ` Josef Bacik
2014-03-26 22:50 ` Hugo Mills
1 sibling, 0 replies; 3+ messages in thread
From: Josef Bacik @ 2014-03-26 21:14 UTC (permalink / raw)
To: Johannes Stemmler, linux-btrfs
On 03/26/2014 05:05 PM, Johannes Stemmler wrote:
> Sorry for reporting this issue to you, but I have not found any helpful
> information elsewhere.
>
> I have installed a new opensuse-system 12.3 from scratch and selected an
> ext4-fs for /
> and btrfs for /home
> The installation works and the access to the /home btrfs works also.
>
> But the btrfs-progs doesn't.
>
> show works
> # btrfs filesystem show /dev/sda8
> Label: lx_home uuid: 5a6857e3-b421-4a68-92f4-0c7e5f9fcb4c
> Total devices 1 FS bytes used 74.40GiB
> devid 1 size 262.63GiB used 77.04GiB path /dev/sda8
>
> df does not work
> # btrfs 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 not help.
> Is the system bad packaged by opensuse or is my constellation forbidden?
>
btrfs filesystem df /home
Josef
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Inappropriate ioctl
2014-03-26 21:05 Inappropriate ioctl Johannes Stemmler
2014-03-26 21:14 ` Josef Bacik
@ 2014-03-26 22:50 ` Hugo Mills
1 sibling, 0 replies; 3+ messages in thread
From: Hugo Mills @ 2014-03-26 22:50 UTC (permalink / raw)
To: Johannes Stemmler; +Cc: linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 1676 bytes --]
On Wed, Mar 26, 2014 at 10:05:19PM +0100, Johannes Stemmler wrote:
> Sorry for reporting this issue to you, but I have not found any helpful
> information elsewhere.
>
> I have installed a new opensuse-system 12.3 from scratch and selected an
> ext4-fs for /
> and btrfs for /home
> The installation works and the access to the /home btrfs works also.
>
> But the btrfs-progs doesn't.
>
> show works
> # btrfs filesystem show /dev/sda8
> Label: lx_home uuid: 5a6857e3-b421-4a68-92f4-0c7e5f9fcb4c
> Total devices 1 FS bytes used 74.40GiB
> devid 1 size 262.63GiB used 77.04GiB path /dev/sda8
>
> df does not work
> # btrfs filesystem df /dev/sda8
^^^ this needs to be a location of the *mounted* filesystem, not a
device. Most of the btrfs functions do this, although not all of them
-- check the man pages, or the online help, which should state either
<device> or <mountpoint>.
Hugo.
> 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.
> Is the system bad packaged by opensuse or is my constellation forbidden?
>
> Best regards,
> Johannes Stemmler
>
> p.s. the btrfs is on a ssd-partition
--
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- Well, you don't get to be a kernel hacker simply by looking ---
good in Speedos. -- Rusty Russell
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-03-26 22:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-26 21:05 Inappropriate ioctl Johannes Stemmler
2014-03-26 21:14 ` Josef Bacik
2014-03-26 22:50 ` Hugo Mills
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox