Re: btrfs filesystem resize <ID>:max not working

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

 



On Thu, Apr 9, 2015 at 10:03 AM, André-Sebastian Liebe <andre@xxxxxxxxx> wrote:
> Hey list,
>
> I've got a problem with resizing a multi drive filesystem.
> I had a 5 disk array of 4TB drives. Then I added a 5th (6TB) drive to
> the array and replaced one of the 4TB ones with a 6TB drive.

You did device add, device delete, then fi resize? It should work but
it's better to use btrfs replace start for this sort of operation
since it does all of that in one step.

> As you can
> see in my `btrfs fi sh` output below, my newly added drive (ID=6) has
> the expected size of 5.46TiB, but my replaced drive (ID=4) won't show up
> as 6TB as expected. Neither a `btrfs fi res max /data/pool0` nor a
> `btrfs fi res 4:max /data/pool0` had any effect.
>
> Any suggestions how to reclaim the 2TB free space of drive 4?

Not sure, this has always worked for me in the past, online. You could
try unmounting and doing a btrfs dev scan, remounting, and then
retrying the command. There's nothing in dmesg? There should be
something there whether it succeeds or fails.


-- 
Chris Murphy
--
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