Hi,

i moved my vservers to UML but in the process, i ran into a problem.
I need to access the /home partition from several uml's.

I first thought of using hostfs and leaving /home on the host machine.
This for instance resulted in saving emails from a user with root rights.
Anyway, to solve this, i thought of making file to share between the 
umls and putting all data from /home in there.

I found out about ocfs2 and it seems this would allow just that.
I've set up etc/ocfs2/cluster.conf/, with the host and 2 guests as node.
The host too because i want /home to be in the file (home_fs) and not
anywhere else.

I'm however not sure this is the correct way to proceed and how and what 
  components i need from ocfs2. I installed the tools and as i said, i 
made the cluster.conf file, copied it to the 2 uml's.

The ocfs2 services are started but when i want to mount it (to first 
copy /home over), i get this error:
# mount -t ocfs2 /storage1/vm/home_fs /mnt/debinst
ocfs2_hb_ctl: The block size is smaller than the sector size on this 
device while reading uuid
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation 
not permitted"

I formated the file like this:
mkfs.ocfs2 -b 4k -C 32K -L "ocs" -N 4 home_fs

I know that afterwards i need to specify it at start up with an added c:
... ubd2c=home_fs ...

What am i missing ?
Is there any specific documentation to getting this to work with UML or 
another way i can share parts between UML's?

Regards,
Benedict


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to