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

Re: [Linux-cluster] Bad day in writesville



On Tue, Dec 21, 2004 at 05:19:30PM -0800, Rick Stevens wrote:
> 2. Do I have to destroy the filesystem and reformat it using the "-p 
> lock_gulm" option?

To change the module permanently, you can unmount the filesystem on all
nodes and run the commands:

gfs_tool sb <device> proto <module>
gfs_tool sb <device> table <table>

If it's just a temporary thing, you can unmount the filesystem on all
nodes and mount with options to override the defaults in the superblock:

mount -o lockproto=<module>,locktable=<table>


<Module> is whatever you'd have for gfs_mkfs' -p and <table>
is whatever you'd have to gfs_mkfs' -t.


Note that you need to be careful when you do either of these things.
Running a mixed cluster where some machines are locking a FS with one
protocol/table and other machines are locking the same FS with a
different protocol/table is bad.  It is bound to end in great sadness.


-- 
Ken Preslan <kpreslan redhat com>


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