Thread (25 messages) 25 messages, 6 authors, 2012-10-27

Re: device delete, error removing device [SOLVED]

From: Chris Murphy <hidden>
Date: 2012-10-24 19:13:01

On Oct 24, 2012, at 12:06 PM, Goffredo Baroncelli [off-list ref] wrote:
quoted
I was able to reproduce it:

- I filled the filesystem until I got "No space left on device".
I didn't even need to get that far.

So it seems that I spread all the data to the other disk, filling up the
smaller ones. So it stuck to "No space left on device".

Now I rebalanced with -dconvert=single, as suggested by Hugo, then I was
able to remove the disk:

Label: 'test2'  uuid: 11d0f1a8-2770-4ff2-8df5-f772f1056edc
	Total devices 3 FS bytes used 7.63GB
	devid    4 size 12.00GB used 9.48GB path /dev/vdf
	devid    3 size 3.00GB used 492.94MB path /dev/vdd
	devid    2 size 3.00GB used 64.00MB path /dev/vdc
It's an interesting solution, but difficult for a larger file system. Or at least, could be very time consuming.

Aside from the "no space left" problem, the 'device delete' behavior itself has kindof a high penalty: a successful 'device delete' on a five disk raid10 (one was added in advance of the delete), all disks are significantly written to, not merely a reconstruction of the replaced disk. It means a lot of writing to do disk removals in the face of an impending disk failure.


Chris Murphy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help