[Pvfs2-developers] patches: admin utilities

Phil Carns pcarns at wastedcycles.org
Fri Oct 12 16:34:57 EDT 2007


These are a few patches that either add new admin utilities or modify 
existing ones:

pvfs2-check-server-gen-mntent.patch
-----------------------------------
This patch does two things.  First, it adds a utilty function called 
PVFS_util_gen_mntent() that can be used to create a mntent structure in 
memory without parsing a tabfile.  Previously there wasn't any clean way 
to construct this on the fly.  Secondly, it adds a utility (using the 
gen_mntent() function) called pvfs2-check-server.  pvfs2-check-server 
can be used to probe a specific pvfs2 server to see if it is running and 
responding to protocol requests.  Since it does not rely on a tab file, 
it can talk directly to one specific server without having to retrieve 
configuration information from the primary server listed in the tab 
file.  This utility is useful for watchdog purposes when you want to 
find out if one specific server is working properly.

pvfs2-change-fsid.patch
-----------------------
This patch adds a new admin utility called pvfs2-change-fsid.  It can be 
used to modify the fsid on an existing file system.  This is helpful if 
you duplicate a file system (from backup, clone, etc.) and want to make 
sure that the new one does not conflict with the old one.

pvfs2-validate-repair.patch
---------------------------
This patch fills in some repair functionality that was missing from 
pvfs2-validate.  Specifically, it adds the ability to move stranded 
files or datafiles into the lost+found directory.  This patch is rather 
old, and I think pvfs2-fsck has had some substantial fixes since then, 
so this may be duplicating some functionality at this point.

-Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pvfs2-change-fsid.patch
Type: text/x-patch
Size: 16914 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20071012/9448f90c/pvfs2-change-fsid-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pvfs2-check-server-gen-mntent.patch
Type: text/x-patch
Size: 9057 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20071012/9448f90c/pvfs2-check-server-gen-mntent-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pvfs2-validate-repair.patch
Type: text/x-patch
Size: 30565 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20071012/9448f90c/pvfs2-validate-repair-0001.bin


More information about the Pvfs2-developers mailing list