Audrius aiknas:
> 1. There is a folder which I seem can't rename into a specific name:
> $ mv 4.0 XXX   <- OK
> $ mv XXX 5.0   <- OK
> $ mv 5.0 6.0   <- BAD

Please give me these info.
(from README)
----------------------------------------------------------------------
When you have any problems or strange behaviour in aufs, please let me
know with:
- /proc/mounts (instead of the output of mount(8))
- /sys/module/aufs/*
- /sys/fs/aufs/* (if you have them)
- /debug/aufs/* (if you have them)
- linux kernel version
  if your kernel is not plain, for example modified by distributor,
  the url where i can download its source is necessary too.
- aufs version which was printed at loading the module or booting the
  system, instead of the date you downloaded.
- configuration (define/undefine CONFIG_AUFS_xxx)
- kernel configuration or /proc/config.gz (if you have it)
- behaviour which you think to be incorrect
- actual operation, reproducible one is better
- mailto: aufs-users at lists.sourceforge.net
----------------------------------------------------------------------


> I can copy the folder with no errors, but even after it gets removed, i
> still am incapable of renaming original folder to "6.0" without causing
> any errors:
> $ cp -r 5.0 6.0  <- OK
> $ rm -rf 6.0     <- OK
> $ mv 5.0 6.0     <- same input/output errors

After "rm -rf 6.0", does the dir named "6.0" exist in the 4th branch fs?
The index of the topmost branch is 0. If you have 6 branches, then the
last (bottom) branch is 5th.


> Another issue is with VMware Workstation.
> I have serval branches:
> In br0 I currently keep all /usr /etc /tmp folders except /home
> In br8 I keep /home, and it's the only branch which has /home on it.
> Both br0 and br8 are rw (and /sys/fs/aufs/si_*/* confirms that).
>
> So, logically, if any file gets modified or created within /home
> directory, should stay in br8. And that's the case with all programs
> I've tested so far except with VMware Workstation.

Only vmware??
That is strange. How did you setup your vmware?


> I tried that with several mount policies, always the same result. I even
> reloaded all the vmware's modules, restarted all the services in case
> vmware somehow gets "bound" to the first branch, because after mounting
> aufs I append several branches manually with a script, in which /home
> folder with VMs resides.

Just after appending all branches, can you verify that /home exist in
br8 only?


> To undo the "damage", i rm -rf /home in br0, but then hell breaks loose.
> Most of running programs start malfunctioning, and when I try to
> "cd /home", I get an error "stale NFS handle".

If you remove the dir directly on br0 (bypassing aufs), then you should
enable CONFIG_AUFS_HNOTIFY and specify udba=notify mount option.


J. R. Okajima

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d

Reply via email to