From: Mikael Andersson <mikael@develog.se>
To: linux-btrfs@vger.kernel.org
Subject: 'ioctl:: Inappropriate ioctl for device' when trying to shrink partition
Date: Wed, 12 Jan 2011 19:45:15 +0100 [thread overview]
Message-ID: <1294857915.7377.14.camel@develog-laptop> (raw)
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 on a live CD
- before invoking the btrfsctl command I invoked apt-get update.
I have googled but have not found anything that seems to help me.
I have searched for "resize" on the following pages but have not find
anything:
https://btrfs.wiki.kernel.org/index.php/Problem_FAQ
https://btrfs.wiki.kernel.org/index.php/Gotchas
Thanks,
Mikael
next reply other threads:[~2011-01-12 18:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-12 18:45 Mikael Andersson [this message]
2011-01-12 19:48 ` 'ioctl:: Inappropriate ioctl for device' when trying to shrink partition Leonidas Spyropoulos
2011-01-13 11:33 ` Brian Rogers
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=1294857915.7377.14.camel@develog-laptop \
--to=mikael@develog.se \
--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;
as well as URLs for NNTP newsgroup(s).