linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ali Lown <ali@lown.me.uk>
To: linux-btrfs@vger.kernel.org
Subject: Unable to perform online resize
Date: Tue, 12 Apr 2011 23:15:55 +0100	[thread overview]
Message-ID: <BANLkTin8vD6CaxA5SgrpzcCdYpFjSB6LEQ@mail.gmail.com> (raw)

I am using btrfs-progs latest git head in gentoo, along with a 2.6.37 k=
ernel.
I am unable to resize the filesystem online (or offline - though that
doesn't seem to be an option).

with brtfs:
-----------------------------------------------------------------------=
----------------------------------------
alipc-gentoo% sudo btrfs filesystem resize +20g ~/.wine/drive_c
Resize '/home/ali/.wine/drive_c' of '+20g'
ERROR: unable to resize '/home/ali/.wine/drive_c'
-----------------------------------------------------------------------=
----------------------------------------

with btrfs-ctl:
-----------------------------------------------------------------------=
----------------------------------------
alipc-gentoo% sudo btrfsctl -r +20g ~/.wine/drive_c
ioctl:: File too large
-----------------------------------------------------------------------=
----------------------------------------

fdisk -l of the the drive that partiion is on (sda9 =3D ~/.wine/drive_c=
):
-----------------------------------------------------------------------=
----------------------------------------
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units =3D sectors of 1 * 512 =3D 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e3826
=C2=A0 =C2=A0Device Boot =C2=A0 =C2=A0 =C2=A0Start =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 End =C2=A0 =C2=A0 =C2=A0Blocks =C2=A0 Id =C2=A0System
/dev/sda1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A063 =C2=A01953=
520064 =C2=A0 976760001 =C2=A0 =C2=A05 =C2=A0Extended
/dev/sda5 =C2=A0 =C2=A0 =C2=A01009797705 =C2=A01953520064 =C2=A0 471861=
180 =C2=A0 83 =C2=A0Linux
/dev/sda6 =C2=A0 =C2=A0 =C2=A0 642391218 =C2=A01009797704 =C2=A0 183703=
243+ =C2=A083 =C2=A0Linux
/dev/sda7 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 189 =C2=A0 =C2=A041=
945714 =C2=A0 =C2=A020972763 =C2=A0 =C2=A07 =C2=A0HPFS/NTFS
/dev/sda8 =C2=A0 =C2=A0 =C2=A0 =C2=A041945778 =C2=A0 104856254 =C2=A0 =C2=
=A031455238+ =C2=A083 =C2=A0Linux
/dev/sda9 =C2=A0 =C2=A0 =C2=A0 104856318 =C2=A0 209712509 =C2=A0 =C2=A0=
52428096 =C2=A0 83 =C2=A0Linux
/dev/sda10 =C2=A0 =C2=A0 =C2=A0386250858 =C2=A0 468166229 =C2=A0 =C2=A0=
40957686 =C2=A0 83 =C2=A0Linux
Partition table entries are not in disk order
-----------------------------------------------------------------------=
----------------------------------------
=46or help in comprehending this, here is an image from gparted:
http://img833.imageshack.us/i/gpartedd.png/

Apart from the hideous numbering and arrangement - I used gparted, and
made it up gradually, as and when I needed partitions.
In short for sda9, it is a logical partition inside an extended
partion (sda1), and has approximately 85GB of unpartioned space
(inside the extended partition) following it, into which I would like
to resize it.
Thanks.
-Ali
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2011-04-12 22:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12 22:15 Ali Lown [this message]
2011-04-12 22:41 ` Unable to perform online resize Jan Steffens

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=BANLkTin8vD6CaxA5SgrpzcCdYpFjSB6LEQ@mail.gmail.com \
    --to=ali@lown.me.uk \
    --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).