Unable to perform online resize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using btrfs-progs latest git head in gentoo, along with a 2.6.37 kernel.
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 = ~/.wine/drive_c):
---------------------------------------------------------------------------------------------------------------
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e3826
 ÂDevice Boot   ÂStart     End   ÂBlocks  Id ÂSystem
/dev/sda1 Â Â Â Â Â Â Â63 Â1953520064 Â 976760001 Â Â5 ÂExtended
/dev/sda5 Â Â Â1009797705 Â1953520064 Â 471861180 Â 83 ÂLinux
/dev/sda6 Â Â Â 642391218 Â1009797704 Â 183703243+ Â83 ÂLinux
/dev/sda7 Â Â Â Â Â Â 189 Â Â41945714 Â Â20972763 Â Â7 ÂHPFS/NTFS
/dev/sda8 Â Â Â Â41945778 Â 104856254 Â Â31455238+ Â83 ÂLinux
/dev/sda9 Â Â Â 104856318 Â 209712509 Â Â52428096 Â 83 ÂLinux
/dev/sda10 Â Â Â386250858 Â 468166229 Â Â40957686 Â 83 ÂLinux
Partition table entries are not in disk order
---------------------------------------------------------------------------------------------------------------
For 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux