VMware

This Question is Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
5 Replies Last post: Feb 29, 2008 6:43 AM by Arrfab  

ocfs2 on OpenSuse 10.2 posted: Feb 20, 2007 7:51 AM

Click to view SyverDude's profile Enthusiast 68 posts since
Feb 20, 2007
Hello,
I am wondering if anyone is using ocfs2 for a shared storage solution with VMWare Server. I have successfully installed it using guest os opensuse 10.2 accessing a shared disk from 2 guests. Seems to work fine and is fairly easy to configure.

What I would like to do is use ocfs on multiple vmware server hosts and shared storage for a low cost solution using opensuse 10.2 and ocfs2 on fiberchannel storage.

VMWare server seems to work fine on opensuse 10.2

This would facilitate a low cost esx solution that vmfs provides to esx on fiberchannel.

Thanks,

Jon

Re: ocfs2 on OpenSuse 10.2

1. Mar 30, 2007 12:45 PM in response to: SyverDude
Click to view HansH111's profile Novice 4 posts since
Mar 19, 2007
Hi Jon,

I am using the vmware server on x blades with Linux on it.
Attached to the blades we have an emc storage which we mounted on all blades with ocfs2.
The .vmdk files are placed on the ocfs2 filesystem, so we can switch vm to each blade depending performance.
Also I use a seperate vm which connects to the other vm's and syncs the datadisks to a backup datadisk using rsync. That way I have a uptime of 24 hours.

Only problem so far is when I place the vmx file on the ocfs2 storage, then when starting the image, vmware crashes.

using rhel4 as host and ubuntu 704 as client

Hans

Re: ocfs2 on OpenSuse 10.2

2. Apr 1, 2007 3:20 PM in response to: HansH111
Click to view devzero's profile Master 2,749 posts since
Dec 27, 2004
Only problem so far is when I place the vmx file on the ocfs2 storage,
then when starting the image, vmware crashes.

try setting mainmem.usenamedfile="FALSE" in your VM`s configuration

Re: ocfs2 on OpenSuse 10.2

3. Feb 28, 2008 11:54 PM in response to: devzero
Click to view Arrfab's profile Lurker 3 posts since
Feb 24, 2006

Thanks a lot devzero ! I was setting up the same thing : two ibm blades with CentOS 5.1 x86_64 with VMware server 1.0.4 using a iScsi shared disk with ocfs2 on top.

I had the same problem as described above and your tip did the job .. Just out of curiosity, what does the " mainmem.usenamedfile="FALSE" " parameter means, from a vmware server point of view ?

Just for info (and hoping that google indexes this as well .. ) , here is the info i had before applying the tip :

VMServerd IPC closed the connection with thread /path/to/my.vmx (0x8301af0)
Feb 29 10:54:20: app| Lost connection to /path/to/my.vmx (/path/to/my.vmx) unexpectedly.
Feb 29 10:54:20: app| vmdbPipe_Streams Couldn't read: OVL_STATUS_EOF
Feb 29 10:54:20: app| VM suddenly changed state: poweredOff.
Feb 29 10:54:20: app| Removing from running vm list: /path/to/my.vmx
Feb 29 10:54:21: app| VM suddenly changed state: poweredOff.
Feb 29 10:54:21: app| VM suddenly changed state: poweredOff.
Feb 29 10:54:21: app| VM suddenly changed state: poweredOff.

Re: ocfs2 on OpenSuse 10.2

4. Feb 29, 2008 1:07 AM in response to: Arrfab
Click to view devzero's profile Master 2,749 posts since
Dec 27, 2004
Just out of curiosity, what does the " mainmem.usenamedfile="FALSE" " parameter means, from a vmware server point of view ?
vmware is creating a virtual memory file on start (.vmem) and using mmap() system call for accessing it, and ocfs doesn`t support mmap system call.
if that parameter is set to false, that file isn`t created in the VM`s directory, but in a different way in the local temp directory. (you don`t see it there because it`s unlinked/deleted after creation).

Re: ocfs2 on OpenSuse 10.2

5. Feb 29, 2008 6:43 AM in response to: devzero
Click to view Arrfab's profile Lurker 3 posts since
Feb 24, 2006
ok, thanks a lot for your fast answer ... i plan on testing it also on top of gfs2 in the near future and i'll see if i'll have the same behavior or not ..

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities