OpenVZ Forum


Home » General » Support » [answered] VE on GFS/GFS2
Re: VE on GFS/GFS2 [message #33784 is a reply to message #33783] Mon, 10 November 2008 07:59 Go to previous messageGo to previous message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi Frank,

surely gfs will be fixed in future releases.
For now please, use older kernel with working gfs module or you can fix gfs in the current kernel by yourself and recompile the kernel.

The fix is extremely easy:

--- old/fs/gfs/proc.c	2008-10-24 12:52:30.000000000 +0400
+++ new/fs/gfs/proc.c	2008-10-24 12:53:43.000000000 +0400
@@ -474,7 +474,7 @@ gfs_proc_init(void)
 	spin_lock_init(&gfs_proc_margs_lock);
 	spin_lock_init(&gfs_req_lock);
 
-	pde = create_proc_entry("src/fs/gfs", S_IFREG | 0600, NULL);
+	pde = create_proc_entry("fs/gfs", S_IFREG | 0600, NULL);
 	if (!pde)
 		return -ENOMEM;
 
@@ -494,6 +494,6 @@ gfs_proc_uninit(void)
 {
 	if (gfs_proc_margs)
 		kfree(gfs_proc_margs);
-	remove_proc_entry("src/fs/gfs", NULL);
+	remove_proc_entry("fs/gfs", NULL);
 }


Hope this helps.

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...

[Updated on: Mon, 10 November 2008 07:59]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using private ip for containers with public ip for the hardware node
Next Topic: [solved] Samba in VE
Goto Forum:
  


Current Time: Mon Aug 26 16:16:07 GMT 2024

Total time taken to generate the page: 0.03183 seconds