On Mon, Apr 6, 2009 at 6:09 PM,  <sf...@users.sourceforge.net> wrote:
>
> Hi,
>
> Nitin Bhardwaj:
>> umount /root/var
>>
>> /sbin/auplink: no such aufs /root/var
>> /sbin/auplink: no such aufs /root/var
>>
>> and it doesn't unmount the union !
>>
>> Attached is the umount log.
>        :::
>> + sed -r -e
>>       s/ /\\040/g
>>       s/\t/\\011/g
>>       s/\r/\\015/g
>>       s/\\012$//
>>
>> + test 0 -eq 1
>> + cat
>> + echo
>> + fgrep  /\015oot/va\015 aufs  /proc/2201/mounts
>
> The sed conversion problem again.
> Are you using busybox sed still?
>
>
> J. R. Okajima
>

Hi,

After replacing busybox sed with 'sed' binary, the umount.aufs is
working fine. However I have further problems while system shutdown.
First of all after I modprobe aufs and create aufs mounts, I'm seeing
four processes in ps output as 'aufsd' !!

ps -ef | grep aufs
481 root        [aufsd]
482 root        [aufsd]
483 root        [aufsd]
484 root        [aufsd]

Does aufs start/use any daemons ?

Now, during shutdown,since I'm creating aufs unions on /bin,/sbin,/lib
and /usr I cannot straightaway umount them ( I get umount: /bin:
device is busy ), hence I do lazy unmount ( umount -l ).

After I do umount -l /bin /sbin /sbin /lib ( or an equivalent umount
-a -l -t aufs ), I still see those four processes running ! If I
unmount from the command line and then do a modprobe -r aufs, then
only the process go away. If I do the same thing using rc.shutdown
process, unmount happens fine, but modprobe -r says: Resource
temporary unavailable and the module doesn't get removed.

What happens due to which is, when the shutdown script ( rc.shutdown )
tried to remount root filesystem read-only ( mount -o remount,ro / ) ,
the kernel says: umount: / : device busy !

So, the ext3 root filesystem is not getting shutdown cleanly !
Kindly provide some pointers here....

Thanks,
Nitin

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com

Reply via email to