[ENBD] enbd-2.4.32 and Supermount

Julien Rennard jrennard at cri74.org
Tue Jan 13 03:39:20 MST 2004


On Tue, 2004-01-13 at 11:14, Peter T. Breuer wrote:
> "Also sprach Julien Rennard:"
> > 	I just want to say that the new way of treating the media check in
> > enbd-2.4.32 make it incompatible with supermount-ng.
> 
> Mmmm ... not necesssarily.

> > here is the error :
> > localhost:~# tail /var/log/kern.log
> > Jan 13 09:25:18 localhost kernel: ENBD enbd.c #5496[13]:
> > enbd_media_changed change nda replied (0) with -967324672
> 
> It sent out a request for a media check over the net and got a reply OK
> (0) but the contents of that reply were like nothing intended!
> It looks random. A nonzero value means OK, so by luck you got OK
> results all the way until ...
I don't understand everything but it don't seems to be "rodam" the error
always happen (and at the same moment)

> > Jan 13 09:25:18 localhost kernel: ENBD enbd.c #5488[14]:
> > enbd_media_changed change nda received
> > Jan 13 09:25:18 localhost kernel: ENBD enbd.c #5496[14]:
> > enbd_media_changed change nda replied (0) with 582
> > Jan 13 09:25:18 localhost kernel: ENBD enbd.c #5488[15]:
> > enbd_media_changed change nda received
> > Jan 13 09:25:18 localhost kernel: ENBD enbd.c #5496[15]:
> > enbd_media_changed change nda replied (0) with -1070870952
> > Jan 13 09:25:18 localhost kernel: ENBD enbd.c #5488[16]:
> > enbd_media_changed change nda received
> > Jan 13 09:25:18 localhost kernel: ENBD enbd.c #5496[16]:
> > enbd_media_changed change nda replied (0) with 0
> 
>  ... By chance you got a 0 reply, which means the media disappeared.
> 
> > Jan 13 09:25:18 localhost kernel: ENBD enbd.c #5527[8]: enbd_revalidate
> > revalidate called on nda
> > Jan 13 09:25:18 localhost kernel: ENBD enbd.c #5533[8]: enbd_revalidate
> > revalidate done on nda
> > Jan 13 09:25:18 localhost kernel: SUPERMOUNT WARNING [dev=/dev/nda]
> > opened files during media change
> 
> And supermount thinks you changed the remote disk.
> 
> > It happens when you make a 'ls' or something similar in a directory
> > mounted with supermount form a /dev/ndX enbd drive.
> 
> No .. it happens whenever anybody feels like checking the media, and
> the response seems unfortunately to be arbitrary. I'm not sure why.
> It didn't happen here when I tested.
> 
> While I investigate, you might want to grep down to the "replied"
> line in the code and temporarily add after it "x = 0;".
> 
> Meanwhile, can you tell me if you are using the correct (new)
> enbd_ioctl.o module? I think you must be, but I would like
> confirmation.
Yes I have checked ! I don't want to loose time so stupidly 
once again :-)  
> 
> > Everything works well if you not use supermount.
> > (I am not asking for help I will use 2.4.31 :-))
> 
> 
> Peter
> _______________________________________________
> ENBD mailing list
> ENBD at lists.community.tummy.com
> http://lists.community.tummy.com/mailman/listinfo/enbd
> 



More information about the ENBD mailing list