Re: Brick replace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Emmanuel Dreyfus <manu@xxxxxxxxxx> wrote:

> I try getting tests/basic/pump.t to pass on NetBSD, but after a few
> experiments, it seems the brick replace functionality is just broken.

I found the problem(s).

First there are hardcoded /bin/umount path in glusterd, which works on
Linux but not other systems. Easy to fix: I introduce _PATH_UMOUNT,
defined per-OS in compat.h

Second problem, the feature seems to really rely on lazy unmount, a
Linux-only feature. On NetBSD, I have to unmount the maintenance client
without -l (lazy), and it fails with EBUSY. I can just avoid the unmount
operation and proceed, that lets brick-replace work. With that change,
NetBSD passes tests/basic/pump.t

I will try to see if the maintenance client can be cleaned up after
commit success: it also makes sense, and it has greater chances of
succeeding because brick-replace activity should be over.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@xxxxxxxxxx
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux