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

Re: [Linux-cluster] GFS Configuration



On 10-08-17 09:06 AM, Nilesh Attarde wrote:
> Hello All,
> 
> Can anybody tell me how to configure GFS on cluster ??
> 
> -- 
> Regards
> 
> Nilesh S. Attarde

Like this? (These are from my own notes)

The following example is designed for the cluster used in this paper.

- If you have more than 2 nodes, increase the -j 2 to the number of
nodes you want to mount this file system on.
- If your cluster is named something other than "an-cluster" (as set in
the cluster.conf file), change "-t an-cluster:iso_store" to match you
cluster's name. The "iso_store" can be whatever you like, but it must be
unique in the cluster. I tend to use a name that matches the LV name,
but this is my own preference and is not required.
- Change the path from "/dev/drbd_vg0/iso_store" to the actual device
that you are putting the partition on.

To format the partition run:

mkfs.gfs2 -p lock_dlm -j 2 -t an-cluster:iso_store /dev/drbd_vg0/iso_store

If you are prompted, press y to proceed.

Once the format completes, you can mount /dev/drbd_vg0/iso_store as you
would a normal file system.

Both:

To complete the example, lets mount the GFS2 partition we made just now
on /shared.

mkdir /shared
mount /dev/drbd_vg0/iso_store /shared

Done!

-- 
Digimer
E-Mail:         linux alteeve com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org


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