Re: 'ioctl:: Inappropriate ioctl for device' when trying to shrink partition

2011-01-13 Thread Brian Rogers
On 01/12/2011 11:48 AM, Leonidas Spyropoulos wrote: On 12 January 2011 18:45, Mikael Anderssonmik...@develog.se wrote: E.g. btrfsctl -r -4000m /dev/sda5 Hey Mikael, btrfsctl is deprecated, you should use btrfs In the previous example: btrfs filesystem resize -4000m /dev/sda5 The command

'ioctl:: Inappropriate ioctl for device' when trying to shrink partition

2011-01-12 Thread Mikael Andersson
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

Re: 'ioctl:: Inappropriate ioctl for device' when trying to shrink partition

2011-01-12 Thread Leonidas Spyropoulos
On 12 January 2011 18:45, Mikael Andersson mik...@develog.se wrote: E.g. btrfsctl -r -4000m /dev/sda5 Hey Mikael, btrfsctl is deprecated, you should use btrfs In the previous example: btrfs filesystem resize -4000m /dev/sda5 Check the help of btrfs And also good to download latest btrfs-progs