Added a debug output when removing the storage directory.
sample output:
[EMAIL PROTECTED]: ~/software/sbin/pvfs2-server --rmfs ~/pvfs2-test/
fs.conf
[S 09/05 17:40] PVFS2 Server on node fs1 version
2.7.0pre1-2007-09-05-220717 starting...
[D 17:40:52.197864] dbpf_thread_initialize: initialized
[D 17:40:52.198001] dbpf_thread_function started
[D 17:40:52.201153] Removing //pvfsdata/test/fs1-surveyor/
storage_attributes.db
[D 17:40:52.201297] Removing //pvfsdata/test/fs1-surveyor/
collections.db
-> [D 17:40:52.201380] Removing //pvfsdata/test/fs1-surveyor
failure removing storage space: Permission denied
[D 17:40:52.213966] dbpf_thread_function ending
[D 17:40:52.214014] dbpf_thread_finalize: finalized
Kevin Harms
Index: src/io/trove/trove-dbpf/dbpf-mgmt.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/trove/trove-dbpf/dbpf-mgmt.c,v
retrieving revision 1.98
diff -a -u -p -r1.98 dbpf-mgmt.c
--- src/io/trove/trove-dbpf/dbpf-mgmt.c 15 Mar 2007 21:45:23
-0000 1.98
+++ src/io/trove/trove-dbpf/dbpf-mgmt.c 5 Sep 2007 22:48:02 -0000
@@ -664,6 +664,7 @@ int dbpf_storage_remove(char *stoname,
}
DBPF_GET_STORAGE_DIRNAME(path_name, PATH_MAX, stoname);
+ gossip_debug(GOSSIP_TROVE_DEBUG, "Removing %s\n", path_name);
if (rmdir(path_name) != 0)
{
perror("failure removing storage space");
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers