Hi!! I'm just thinking of a simple file setup to export the root 
filesystem of a server to a bunch of diskless NFS clients in the
following way:

/tmp/uniontmp(rw) + /(ro) mounted to /export(ro) 

(the latter is to be exported via nfs then. I would like to use the rw 
layer to white out all files that should not be seen on the clients,
like parts of /var, /etc, /root, ...)

I did the following:

mkdir /tmp/unionfs /export
./unionimap -c /tmp/forwardmap
./unionimap -a /tmp/forwardmap /tmp/reversemap /tmp/unionfs

mount -t unionfs -o
dirs=/tmp/unionfs=rw:/=ro,imap=/tmp/forwardmap:/tmp/reversemap none
/export

mount: wrong fs type, bad option, bad superblock on none,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

dmesg tells me:
Registering unionfs 20051025-2113
Could not match the reversemap uuid with an entry in the forwardmap table
unionfs_read_super: error while parsing options (err = -22)

Unfortunately the feature is rather new, so I did not find
much information on the net ...

Any ideas if that could/should work and what did I wrong in
my setup?

Thanks!! Dirk
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to