Benedict Verheyen schreef:
Karl E. Jorgensen schreef:
<snip>
Then i'm stuck with either samba or nfs.
They should work. Or perhaps a clustered file system that allows the
same disk to be mounted read-write simultaneously by multiple hosts.
Such a disk could be located on the underlying host (=more ubd devices
on the uml linux command line) or remotely using network block devices.
I *think* that the oracle clustered filesystem would do the trick,
although it is more geared towards holding oracle databases. One
problem though: The kernel in the user-mode-linux package has not got
ocfs2 enabled, so you'll need to recompile the package, but it
*should* work...
I finally got round to testing the sharing via Samba.
I made an uml with samba & ldap so all the user & group id's over the
uml's are the same.
I then copied /home to the uml running samba and shared the home
directories.
I can then mount home in another uml like this:
smbmount //192.168.1.26/homes /home -o credentials=/root/.credentials
However, the file and directory owner is always root instead of the user
For instance my home directory on the uml containing the home directories:
drwxr-xr-x 11 benedict benedict 4096 2007-06-07 02:10 benedict
When i mount /home it in another uml:
drwxr-xr-x 1 root root 0 2007-06-07 02:10 benedict
Is there a way to get the proper user & group name?
If not, what other ways (except the oracle file system) could i use to
accomplish this?
Thanks,
Benedict
Excerpt from my smb.conf
[homes]
comment = User homes
path = /home/%U
browsable = yes
writable = yes
create mask = 0700
directory mask = 0700
[homedirs]
comment = Home Directories
#path = /home/%U
path = /home
#browseable = no
browsable = yes
writable = yes
;create mask = 0700
;directory mask = 0700
create mask = 0775
directory mask = 0775
strict locking = no
#security mask = 0775
public = yes
write list = benedict root
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]