[sheepdog] bug: Invalid free space size '0': must be an integer between 0

Jens WEBER jweber at tek2b.org
Sun Aug 5 15:05:57 CEST 2012


testing new features, gateway-only do not start

with -g sheep crashes, so I try -s 0 and get

Invalid free space size '0': must be an integer between 0 and 18446744073709551615
*                case 's':
*                        free_space = strtoll(optarg, &p, 10);
*                        if (optarg == p || free_space <= 0 ||
*                            UINT64_MAX < free_space) {
*                                fprintf(stderr, "Invalid free space size '%s': "
*                                        "must be an integer between 0 and %lu\n",
*                                        optarg, UINT64_MAX);
*                                exit(1);

-g sets sys->disk_space = 0; <- I think that caused the problem later
*        if (nr_vnodes == 0) {
*                sys->gateway_only = 1;
*                sys->disk_space = 0;
*        }

Thanks, Jens



More information about the sheepdog mailing list