On Thursday 04 February 2010, 07:49:12 sf...@users.sourceforge.net wrote:
> "Hans-Peter Jansen":
> > autofs4 does not work on a aufs2 mounted /:
> >
> > Feb  4 00:49:33 x130 automount[7041]: do_mount_autofs_indirect: failed
> > to create autofs directory /net Feb  4 00:49:33 x130 automount[7041]:
> > handle_mounts: mount of /net failed! Feb  4 00:49:33 x130
> > automount[7041]: master_do_mount: failed to startup mount
>
> I will try autofs4 later by myself.
> How did you set it up? I need to know about it, particulary the order of
> - mounting aufs
> - telling autofs that /net is the mount point.

Sorry, it was late yesterday evening..

aufs2, compiled with default options.
/read-write     NFS RW mount
/read-only      NFS RO mount
NFS-RW and NFS-RO branches mounted in initrd (xino on tmpfs) on /mnt
which is switched to / at the end of initrd phase. (diskless NFS root setup)
Everything besides /home and /work comes from this aufs mount.
autofs4 started as usual from /etc/init.d

/etc/auto.master:
/net    -hosts
/opt/cd/mnt /etc/auto.cd --timeout 20

/etc/auto.cd:
# iso cd loop mount
cd -fstype=iso9660,ro,loop :/read-only/opt/cd/cd.iso

Here's another aufs problem: I need to loop mount a cd iso directly from 
the /read-only branch, otherwise it fails. (to be investigated later..)

> > and Postfix does not work:
> >
> > Call Trace:
> >  [<f9489066>] aufs_setattr+0xfa/0x6c4 [aufs]
> >  [<c0198388>] fnotify_change+0x196/0x2f3
> >  [<c0184e47>] sys_fchmod+0x97/0xcb
> >  [<c0103a0d>] sysenter_do_call+0x12/0x21
> >  [<ffffe430>] 0xffffe430
>
> If the AppArmor patch is applied to your kernel source, it is a known
> problem. Please refer to the posts to aufs-users ML and check whether
> the problem is same or not.
>
> From: =?iso-8859-2?Q?T=F3th_L=E1szl=F3_Attila?= <pant...@balabit.hu>
> Date: Fri, 6 Nov 2009 12:33:55 +0100
> Subject: kernel oops during chown, NULL pointer dereference
> To: aufs-users@lists.sourceforge.net
> Message-Id: <a65c0740-92a7-4454-9eb3-497a78a5d...@balabit.hu>

Ahh, cool, found it, applied it, will test now...

Many thanks, Junjiro.

Pete

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

Reply via email to