Re: cannot resize (grow) fs

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

 



On 24 September 2010 07:41, Lubos Kolouch <lubos.kolouch@xxxxxxxxx> wrote:
> Hello,
>
> I added disk to raid5 array on one of the backup hosts, running btrfs.
>
> So on /dev/md2 I have plenty of space now.
>
> However when I run
>
> btrfs filesystem resize max Â/dev/md2
>
> I get
>
> Resize '/dev/md2' of 'max'
> ERROR: unable to resize '/dev/md2'
>
> The same result when I try resize +1g.
>
> strace gives me http://paste.pocoo.org/show/266523/
>
> Any ideas why and how can I extend the filesystem to fill the whole
> volume?
>
> Thank you
>
> Lubos
>
> --
> 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
>

Hi Lubos,

Firstly if I understood the documentation right, you have to specify
the mount point rather than the drive itself.
Secondly, I posted about this issue a while ago. It seems that it will
only extend the filesystem on the hard drive that has devid 1. If you
do not have any drives with devid 1 (e.g because you removed it), you
can't resize your drive.

I hope this is something that the btrfs developers will look into
ASAP, because as it is now, resizing the FS on RAID arrays is
impossible.

Regards,
Sebastian J.
--
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