Skip to contentSkip to conversation

Is parralel device remove possible ?

DISCUSSION Ondřej Kunc 1 participant 1 message Sep 19, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi,

I'm just removing about 8 drives from btrfs pool and I issued this command:

btrfs dev del /dev/sd[bmghkqps]

According to munin graphs it is removing drives sequentially and ... I can see it is reading that drive which it is actually removing ... but it is doing big writes(so it is probably moving data there) to other drives which will be removed later.

Would it be possible to do this in parallel ... to restrict next writing to drives to fasten this operation ?

Now it is running about 3 days and it has removed 5 drives.

And second question ... is there way how to see progress of drive removing ? In dmesg I can see relocating block group ... and the number of group is decreasing ... but sometimes it changes direction, so it doesn't provide so useful estimation.

Thanks,

Ondřej

Signature · 7 lines
S pozdravem,

Ondřej Kunc, Senior Linux Administrator

IGNUM s.r.o., Vinohradská 190, Praha 3, 130 61, CZE
Mobil: +420 603 111 111 | Fax: +420 296 332 222
www.ignum.cz | www.domena.cz | www.webcloud.cz