You are not logged in.

#1 2016-05-04 04:01:54

harvie
Member
From: Prague
Registered: 2015-01-20
Posts: 14
Website

BtrFS convert from RAID1/DUP to SINGLE?

Hello, my coworker accidentaly created brtfs as DUP on 1TB partition resulting in filesystem exibiting only 500GB size.

I've tried to fix this using:
btrfs balance start -dconvert=single /mnt/point

and operation seems to finish succesfully, however df -h still shows 500GB size. even tried to unmount and remount. still no succes. also tried this:

btrfs balance start -f -dconvert=single -mconvert=dup /mnt/point


Any idea how to convert DUP btrfs to SINGLE while reclaiming space? It's stupid, because the underlying device is already RAID1, so from 2TB of diskspace i can now use 500GB :-D

ps. i know i can mkfs new btrfs and copy the data, but i'd like to know how can i fix this on existing btrfs, it can be done other way round (from single to dup), so i guess there has to be a way to do it.

Offline

Board footer

Powered by FluxBB