time for "balance"
Hallo, linux-btrfs,
I'm working with btrfs for some days.
btrfs-progs-20101101, kernel 2.6.35.8 (both self compiled).
First step:
mkfs.btrfs /dev/sdd1
mount /dev/sdd1 /srv/MM
for a 2 TByte partition, worked well.
Copying about 1,5 TByte data to this partition worked well.
Second step:
btrfs device add /dev/sdc1 /srv/MM
btrfs filesystem balance /srv/MM
adds /dev/sdc1 with about 1,5 TByte ("df" tells so), and the system works the second line ("balance") since about 12 hours. How much time needs this "balance" command?
If the machine hangs somewhere and I have to restart it: how can/must I repair the btrfs system?
Viele Gruesse!
Helmut
Quoted 6 lines · Helmut Hullen
btrfs device add
/dev/sdc1/srv/MM
btrfs filesystem balance/srv/MMadds
/dev/sdc1with about 1,5 TByte ("df" tells so), and the system works the second line ("balance") since about 12 hours. How much time needs this "balance" command?
Enough time to rewrite every piece of data in the filesystem.
There are patches [1,2] for the kernel and userspace tools to allow
you to monitor the progress of a balance. I'll be putting out a new revision of them either tonight or tomorrow (depending on how awkward git is feeling).
[1] http://www.mail-archive.com/[email protected]/msg06558.html
[2] http://www.mail-archive.com/[email protected]/msg06561.html
Quoted 2 lines
If the machine hangs somewhere and I have to restart it: how can/must I repair the btrfs system?
No need. Even while the balance is running, the filesystem should
remain in a consistent state (assuming that you have working barriers). Note that if you restart the balance process, it will effectively start from the beginning again.
Hugo.
Signature · 4 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- Anyone using a computer to generate random numbers is, of ---
course, in a state of sin. Hallo,
I wrote am 09.11.10:
Quoted 13 lines
I'm working with btrfs for some days.
btrfs-progs-20101101, kernel 2.6.35.8 (both self compiled).
First step:
mkfs.btrfs
/dev/sdd1
mount/dev/sdd1/srv/MMfor a 2 TByte partition, worked well.
Copying about 1,5 TByte data to this partition worked well.
Quoted 8 lines
Second step:
btrfs device add
/dev/sdc1/srv/MM
btrfs filesystem balance/srv/MMadds
/dev/sdc1with about 1,5 TByte ("df" tells so), and the system works the second line ("balance") since about 12 hours. How much time needs this "balance" command?
Now the machine is ready, after working about 2 days ...
Viele Gruesse!
Helmut