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

Re: [Linux-cluster] can't import gnbd ?



On Tue, Mar 10, 2009 at 05:20:57PM +0800, Figaro Yang wrote:
>    Hi , ALL ..
> 
> 
> 
>    I set up a File Cluster consist of 3 GNBD Server , using gnbd server for
>    fencing , in case , when I on client node to gnbd_import , system have
>    return some error message .. how can I solve it ? thank all ..
> 
> 
> 
>    [root client ~]# modprobe gnbd
> 
>    [root client ~]# gnbd_import -i io3
> 
>    gnbd_import: ERROR cannot get node name : No such file or directory
> 
>    gnbd_import: ERROR If you are not planning to use a cluster manager, use
>    -n

Did you start up the cman first?

Unless you are planning to use gnbd outside of a cluster (and if you
want fencing, you need to use run gnbd in a cluster), you need to start
cman first.  gnbd_import failed when it called cman_init(). The most
likely reason for this is that your cluster is not started yet.

-Ben

> 
>    [root client ~]# tail /var/log/messages
> 
>    Mar 10 04:44:54 client smartd[3719]: Device: /dev/sda, is SMART capable.
>    Adding to "monitor" list.
> 
>    Mar 10 04:44:54 client smartd[3719]: Monitoring 1 ATA and 0 SCSI devices
> 
>    Mar 10 04:44:55 client smartd[3721]: smartd has fork()ed into background
>    mode. New PID=3721.
> 
>    Mar 10 04:44:55 client pcscd: winscard.c:304:SCardConnect() Reader E-Gate
>    0 0 Not Found
> 
>    Mar 10 04:44:55 client last message repeated 3 times
> 
>    Mar 10 04:44:56 client kernel: mtrr: type mismatch for d8000000,2000000
>    old: uncachable new: write-combining
> 
>    Mar 10 05:15:15 client gnbd_import: ERROR [../../utils/gnbd_utils.c:78]
>    cman_init failed : No such file or directory
> 
>    Mar 10 05:15:17 client last message repeated 2 times
> 
>    Mar 10 05:15:21 client kernel: gnbd: registered device at major 252
> 
>    Mar 10 05:15:24 client gnbd_import: ERROR [../../utils/gnbd_utils.c:78]
>    cman_init failed : No such file or directory

> --
> Linux-cluster mailing list
> Linux-cluster redhat com
> https://www.redhat.com/mailman/listinfo/linux-cluster


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