[ENBD] another 2TB issue in 2.4.33pre

Florian Frank florian at ffrank.net
Wed Jun 28 12:03:53 MDT 2006


Am Mittwoch, 28. Juni 2006 19:29 schrieb Peter T. Breuer:
> > enbd-client 11252: #2511 setkernelnbd: Failed set size 1229375668224 on
> > fd 4: File too large
>
> That's an interesting one. Line 2511 in enbd-client.c is
>
>
>         if (size64 > 0) {
>             err = setdevicesize (self, size64);
>             if (err < 0) {
>                 PERR ("Failed set size %Lu on fd %d: %m\n",
>                                 (unsigned long long)size64, dev);
>                 return -EINVAL;
>             }
>             DEBUG ("client (%d) set size %Lu\n", self->i,
>                             (unsigned long long)size64);
>         }
>
> so it looks like the setdevicesize routine failed with some error number
> that I don't know offhand ... EFBIG. 27. Can you switch on the DEBUG
> messages in that routine (same file) by replacing them with MSG
> calls?

The output now looks like:

enbd-client  7356: client (-1) will set size 1229375668224
enbd-client  7356: BLKGETSIZE failed
enbd-client  7356: sending ENBD_SET_SECTORS64 2401124352
enbd-client  7356: ENBD_SET_SECTORS64 succeeded
enbd-client  7356: client (-1) set device size 1229375668224
enbd-client  7356: #2511 setkernelnbd: Failed set size 1229375668224 on fd 4: 
File too large
enbd-client  7356: client (-1) sets session slots to 0-1
enbd-client  7356: #3416 introduction: Failed/5: File too large
enbd-client  7356: #3441 introduction: client (-1) introduction bails out on 
storage3:1035
enbd-client  7356: client (-1) waits 5s after 7s before retry 1

BTW: The device which i could access for testing has only 1.1 TB capacity. But 
the error does also happen at this size.

Regards,

Flo


More information about the ENBD mailing list