"tovis":
> It is possible that I was wrong informed! I'm trying to translate what
> friend sad about unionfs:
> Everything which is reside on tmpfs at start of the branching is modified
> only in tmpfs. Everything which is exist on tmpfs and USB also modified in
> tmpfs. Everything which is new to each parts of the branch are written to
> tmpfs. Everything, which exist only on US STILL modified on USB (such as
> crontabs, alsamixer settings etc.)
> You have said that aufs could everything what unionfs.

If you set RW to the lower branch, you can.
But you wrote that you did copy all files to the upper branch. It means
all modifications are made on tmpfs and you don't need aufs. As long as
the file exists on the upper tmpfs, aufs will never touch the same named
file on the lower.


> By the way. On halt/reboot the system complain that it could not umount
> aufs file system. At first I have tried umount aufs branch simply from
> command line (as root), for "#umount /var" it said that it is busy - I
> believe him. for "#umount /mnt/var" it said that incompatible IOCTL for
> file system. What can I do? How can I "umount" the branch correctly?
> (It seems to be a simple beautification - not to have error messages on
> every halt/reboot).

For the message ioctl, it means the version of your aufs-util doesn't
match your aufs module. You should update aufs-util.
For unmounting,
(from the aufs manual)
----------------------------------------------------------------------
When your aufs is the root directory of your system, and your system
tells you some of the filesystem were not unmounted cleanly, try these
procedure when you shutdown your system.
.nf
# mount -no remount,ro /
# for i in $writable_branches
# do mount -no remount,ro $i
# done
.fi
If your xino file is on a hard drive, you also need to specify
`noxino' option or `xino=/your/tmpfs/xino' at remounting root
directory.
----------------------------------------------------------------------
In your case, the root dir sould be replaced by /var.


J. R. Okajima

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d

Reply via email to