Continued from last post,
Now /dev/sda1 being mounted as ext2 I made the rsync test: - - - - - - - - #!/bin/bash UPPER_BRANCH='/mnt/rw_root/' LOWER_BRANCH='/mnt/ro_root/' mount -o remount,udba=notify / mount -o remount,rw ${LOWER_BRANCH} case $UPPER_BRANCH in */) ;; *) UPPER_BRANCH=$(echo ${UPPER_BRANCH} | sed 's/\(.*\)/\1\//') ;; esac rsync --exclude=".wh.*" --exclude=lost+found -vaHSx --devices --specials ${UPPER_BRANCH} ${LOWER_BRANCH} #find . -name ".wh.*" -and -not -name ".wh..wh.*" | sed 's/^\.\//${LOWER_BRANCH}\//' | sed 's/\/\.wh\./\//' | /usr/bin/xargs -d "\n" rm -i sleep 1 mount -o remount,udba=reval / mount -o remount,ro ${LOWER_BRANCH} - - - - - - - - Result: - - - - - - - - nibbler ~ # fsck -nf /dev/sda1 fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 (17-May-2010) Warning! /dev/sda1 is mounted. Pass 1: Checking inodes, blocks, and sizes Deleted inode 346591 has zero dtime. Fix? no Deleted inode 346593 has zero dtime. Fix? no Deleted inode 346598 has zero dtime. Fix? no Deleted inode 346599 has zero dtime. Fix? no Deleted inode 346602 has zero dtime. Fix? no Deleted inode 346613 has zero dtime. Fix? no Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Block bitmap differences: -(1423487--1423865) -(1424049--1424529) -1427456 -(1427470--1427608) Fix? no Inode bitmap differences: -346591 -346593 -(346598--346599) -346602 -346613 Fix? no nibbler: ********** WARNING: Filesystem still has errors ********** nibbler: 151646/394352 files (0.9% non-contiguous), 598674/1574362 blocks - - - - - - - - This doesn't get fixed automagically at next reboot... ... Note, that the script doesn't delete anything from the UPPER_BRANCH! Marcus ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev