public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Hugo Mills <hugo@carfax.org.uk>
To: Johannes Stemmler <jobus@hat-hill.de>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Inappropriate ioctl
Date: Wed, 26 Mar 2014 22:50:59 +0000	[thread overview]
Message-ID: <20140326225059.GI7442@carfax.org.uk> (raw)
In-Reply-To: <5333410F.3010000@hat-hill.de>

[-- 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 --]

      parent reply	other threads:[~2014-03-26 22:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-26 21:05 Inappropriate ioctl Johannes Stemmler
2014-03-26 21:14 ` Josef Bacik
2014-03-26 22:50 ` Hugo Mills [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140326225059.GI7442@carfax.org.uk \
    --to=hugo@carfax.org.uk \
    --cc=jobus@hat-hill.de \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox