Re: migrating drives (device delete)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Helmut Hullen
Date: Wednesday, November 10, 2010 - 4:31 am

Hallo, Oliver,

Du meintest am 10.11.10:


What tells "df": about 300 GByte in use?



I've tried (with the above device names)

        btrfs device delete /dev/sda2 /
        btrfs filesystem balance /

Ok - I don't try these commands under "/" ...
And I haven't told the system to make a "raid0". I've created the first  
btrfs partition only with

        mkfs.btrfs /dev/sdxn

And I haven't used "degraded" after balancing the 2 partitions.

The "balance" command may take a long time; I've just seen about 2 days  
for 1.5 TByte.

As long as "balance" works it throws messages into "/var/log/messages"  
and can be watched with "top".

When "balance" has finished:

        btrfs filesystem show 2>/dev/null

shouldn't show the "deleted" partition.

Viele Gruesse!
Helmut
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: migrating drives (device delete), Helmut Hullen, (Wed Nov 10, 4:31 am)
Re: migrating drives (device delete), Oliver Večernik, (Wed Nov 10, 5:15 am)