Re: can't import gnbd ?

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

 



On Wed, Mar 11, 2009 at 10:45:00AM +0800, Figaro Yang wrote:
> Dear Ben :
> 
> Thank you for your kindly reply. I still have another question as follows:
> 
> the host client is one of GNBD client in my cluster, does it need to start
> cman service at client host? 
> The host client is not suppose to be included in /etc/cluster/cluster.conf.

Both the GNBD clients and the servers need to be included in
/etc/cluster/cluster.conf, and have cman running on them.

> 
> My cluster architecture is as below:
> 
> Hosta ( GFS / GNBD Server )  ---------|
> Hostb ( GFS / GNBD Server )  ---------| ------------ SAN Storage
> Hostc ( GFS / GNBD Server )  ---------|
>        |
>        |
>        |
>        --------------- client ( GNBD Client )
> 
> 
> -----Original Message-----
> From: linux-cluster-bounces@xxxxxxxxxx
> [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of Benjamin Marzinski
> Sent: Wednesday, March 11, 2009 1:27 AM
> To: linux clustering
> Subject: Re:  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@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/linux-cluster
> 
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster
> 
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster

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

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux