Hey folks -
I think this belongs in "Storage" but won't be offended if it gets moved.
I'm setting up a couple of jails on my fileserver and I'm running into a fun little challenge with one of them. Config:
The first nullfs filesystem gets mounted. The second one does not. If I reverse them, the same thing: first one mounts, second one doesn't. The mounted filesystem works perfectly; all of the filesystem structure shows up in the jail as expected.
The really funny thing is, I have another jail with two different null filesystem mounts (different than the two above). Both mounts kick in when the jail starts and unmount when the jail stops.
I'm not sure where to check for logs. There's nothing in the messages file on the host. Nothing in the least. When I start the jail, I don't get an error on STDERR, either. Nothing at all.
Any ideas? Thanks.
I think this belongs in "Storage" but won't be offended if it gets moved.

I'm setting up a couple of jails on my fileserver and I'm running into a fun little challenge with one of them. Config:
Code:
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.clean;
mount.devfs;
mount.fdescfs;
mount.procfs;
allow.raw_sockets = 1;
allow.sysvipc = 1;
path = "/local/jails/$name";
media {
host.hostname = "media";
ip4.addr += "lagg0|192.168.10.6";
mount = "/local/export/music /local/jails/media/music nullfs rw 0 0";
mount = "/local/export/movies /local/jails/media/movies nullfs rw 0 0";
}
The first nullfs filesystem gets mounted. The second one does not. If I reverse them, the same thing: first one mounts, second one doesn't. The mounted filesystem works perfectly; all of the filesystem structure shows up in the jail as expected.
The really funny thing is, I have another jail with two different null filesystem mounts (different than the two above). Both mounts kick in when the jail starts and unmount when the jail stops.
I'm not sure where to check for logs. There's nothing in the messages file on the host. Nothing in the least. When I start the jail, I don't get an error on STDERR, either. Nothing at all.
Any ideas? Thanks.