[Hampshire] unionfs and nfsroot

Top Page
Author: Andy Smith
Date:  
To: hampshire
New-Topics: [Hampshire] Mint
Subject: [Hampshire] unionfs and nfsroot

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x58127100.hantslug.org.uk.6337': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Sun Apr 13 08:53:39 2008 BST
gpg: using DSA key 2099B64CBF15490B
gpg: Can't check signature: No public key
Hello,

Anyone know much about unionfs?

I've got a virtual machine that's booted over NFS read-only but I
want it to act a little bit like a live CD type of affair by doing a
unionfs between its (NFS) root and /dev/shm/.union (tmpfs).

At the moment I just have it booting with a read only root, and I'm
trying to do that next step. I had hoped it would be as simple as:

# mount -t unionfs -o dirs=/dev/shm/.union=rw:/=nfsro unionfs /

and that does indeed run without error, but then:

# touch /foo
touch: cannot touch `/foo': Read-only file system

I've been googling artound for docs but they seem a bit thin on the
ground. Is there something inherently wrong with what I'm trying to
do? Is there a better way?

Cheers,
Andy