[Gluster-users] RAID-1 volumes

Lakshmipathi Ganapathi lakshmipathi at gluster.com
Thu Dec 10 12:51:18 UTC 2009


Running glusterfs-volgen produces two volume files.(server and client files)

First the start the glusterfs server (say,xen-0)  using command 
glusterfsd -f /path/to/server/export.vol -l gs.log 
then check your log file to make sure server started successfully.Then login to client machine (xen-1) and start glusterfs client,
glusterfsd -f /path/to/client/mount.vol /your_mount_point -l gc.log 

run df command to verify glusterfs is mounted.

More docs can found on 
http://gluster.com/community/documentation/index.php/Storage_Server_Installation_and_Configuration

Cheers,
Lakshmipathi.G


----- Original Message -----
From: "gilberto nunes" <gilberto.nunes at selbetti.com.br>
To: gluster-users at gluster.org
Sent: Thursday, December 10, 2009 5:08:35 PM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi
Subject: [Gluster-users] RAID-1 volumes

Hi folks...

I have some (many) doubt with repicated volumes with GlusterFS...

I have to nodes, with CentOS, kernel 2.6.18.8 compile with Xen-unstable 
(with remus support).
Here the server config file:

## file auto generated by /usr/local/bin/glusterfs-volgen (export.vol)
# Cmd line:
# $ /usr/local/bin/glusterfs-volgen --name cluster --raid 1 
xen-0:/data/export/sda5 xen-1:/data/export/sda5

volume posix1
  type storage/posix
  option directory /data/export/sda5
end-volume

volume locks1
    type features/locks
    subvolumes posix1
end-volume

volume brick1
    type performance/io-threads
    option thread-count 8
    subvolumes locks1
end-volume

volume server-tcp
    type protocol/server
    option transport-type tcp
    option auth.addr.brick1.allow *
    option transport.socket.listen-port 6996
    option transport.socket.nodelay on
    subvolumes brick1
end-volume

[root at xen-0 glusterfs]# df
Sist. Arq.           1K-blocos      Usad Dispon.   Uso% Montado em
/dev/sda2             50994936  12797368  35565320  27% /
tmpfs                   480764         0    480764   0% /dev/shm
/dev/sda5            102348276       544 102347732   1% /data/export/sda5



My question is: how I configure the client site???

Thanks a lot....

-- 
*Gilberto Nunes Ferreira*
*TI*
*Selbetti Gestão de Documentos*
*Telefone: +55 (47) 3441-6004*
*Celular: +55 (47) 8861-6672*



/"Bendita a nação cujo Deus é o SENHOR!"/
*99* <><

_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users



More information about the Gluster-users mailing list