On Sunday 13 January 2008 10:07:33 Philipp Marek wrote:
> > > Results tarball (and modified run script) attached.
>
> Thank you, that -d helps a lot ...
>
> How about r1339? Here's the relevant part:

Uncovers a different problem:

An error occurred at 15:46:21.084: No such file or directory (2)
  in waa__find_common_base [waa.c:2233]: chdir(/tmp/fsvs.j2393/)

I should point out that this is fsvsv-1.1.11 patched per r1339.  It's 
not svn trunk.

Full log attached.

Ciao,
Sheldon.
Script started on Sun 13 Jan 2008 15:46:18 SAST
+ DO_CHROOT=0
+ DEBUG=-d
+ BACKUP_PREFIX=/media/backups
+ BINDS=/boot
+ ROOT=/dev/vgr1/root
+ SNAP=/dev/vgr1/rootsnap
+ SNAP_SIZE=1G
++ mktemp -d /tmp/fsvs.XXXXXX
+ SNAP_MOUNT=/tmp/fsvs.j23936
+ set -e
+ lvcreate -s -L 1G -n rootsnap /dev/vgr1/root
  Logical volume "rootsnap" created
+ mkdir -p /tmp/fsvs.j23936
+ mount /dev/vgr1/rootsnap /tmp/fsvs.j23936
+ cd /
+ binds='/media/backups /etc/fsvs /var/spool/fsvs /boot'
+ for bind in '$binds'
+ mount --bind /media/backups /tmp/fsvs.j23936//media/backups
+ for bind in '$binds'
+ mount --bind /etc/fsvs /tmp/fsvs.j23936//etc/fsvs
+ for bind in '$binds'
+ mount --bind /var/spool/fsvs /tmp/fsvs.j23936//var/spool/fsvs
+ for bind in '$binds'
+ mount --bind /boot /tmp/fsvs.j23936//boot
+ sleep 2
+ ls -ld /tmp/fsvs.j23936/the-only-dir
drwxr-xr-x 3 root root 4096 2008-01-10 15:01 /tmp/fsvs.j23936/the-only-dir
+ '[' -e /tmp/fsvs.j23936/the-only-dir ']'
+ touch /tmp/fsvs.j23936/the-only-dir/from-snapshot
+ ls -ld /tmp/fsvs.j23936/the-only-dir
drwxr-xr-x 3 root root 4096 2008-01-13 15:46 /tmp/fsvs.j23936/the-only-dir
+ set +e
+ '[' 0 = 1 ']'
+ FSVS_CONF=/tmp/fsvs.j23936/../../etc/fsvs
+ FSVS_WAA=/tmp/fsvs.j23936/../../var/spool/fsvs
+ fsvs commit -d -m 'Automatic backup' -o softroot=/tmp/fsvs.j23936 /tmp/fsvs.j23936
15:46:21.080 opt__parse[options.c:330] parsing softroot[8] = /tmp/fsvs.j23936
15:46:21.081 Increment[helper.c:462] adding /tmp/fsvs.j23936
15:46:21.081 hlp__pathcopy[helper.c:557] finished path is /tmp/fsvs.j23936
15:46:21.081 main[fsvs.c:881] no argument at optind=7 of 8
15:46:21.081 main[fsvs.c:881] no argument at optind=8 of 8
15:46:21.081 main[fsvs.c:1017] optind=2 per_sts=140 action=commit rec=1
15:46:21.081 main[fsvs.c:1020] argument 1: commit
15:46:21.081 main[fsvs.c:1020] argument 2: /tmp/fsvs.j23936
15:46:21.081 main[fsvs.c:1029] filter has mask 0xFFFFFFFF (new, removed, changed, owner, group, mtime, umode, props, child, likely)
15:46:21.081 hlp__lstat[helper.c:354] /tmp/fsvs.j23936/../../var/spool/fsvs: uid=0 gid=0 mode=040755 dev=0xfe00 ino=1884337 rdev=0x0 size=4096
15:46:21.081 waa__init[waa.c:196] got the WAA as inode 1884337
15:46:21.081 waa__init[waa.c:210] using 103 bytes for temporary WAA+conf paths
15:46:21.081 opt__load_settings[options.c:364] reading settings from /tmp/fsvs.j23936/../../etc/fsvs/config, with prio 1
15:46:21.084 waa__find_common_base[waa.c:2088] need 42 bytes for 1 args
15:46:21.084 Increment[helper.c:462] adding /tmp/fsvs.j23936
15:46:21.084 hlp__pathcopy[helper.c:557] finished path is /tmp/fsvs.j23936
15:46:21.084 waa__find_common_base[waa.c:2109] path is /tmp/fsvs.j23936
15:46:21.084 waa__find_common_base[waa.c:2127] len after is 16
15:46:21.084 waa__find_common_base[waa.c:2161] Is a directory, possible a wc root.
15:46:21.084 waa__find_common_base[waa.c:2187] starting search at /tmp/fsvs.j23936
15:46:21.084 waa__find_common_base[waa.c:2198] looking for /tmp/fsvs.j23936
15:46:21.084 waa__get_waa_directory[waa.c:350] path is /tmp/fsvs.j23936
15:46:21.084 waa__get_waa_directory[waa.c:381] have softroot /tmp/fsvs.j23936 for /tmp/fsvs.j23936, compare 16 bytes
15:46:21.084 waa__get_waa_directory[waa.c:400] md5 of /
15:46:21.084 waa__get_waa_directory[waa.c:445] returning /tmp/fsvs.j23936/../../etc/fsvs/6666cd76f96956469e7be39d750cc7d9/
15:46:21.084 hlp__lstat[helper.c:354] /tmp/fsvs.j23936/../../etc/fsvs/6666cd76f96956469e7be39d750cc7d9: uid=0 gid=0 mode=040755 dev=0xfe00 ino=2605062 rdev=0x0 size=4096
15:46:21.084 waa__find_common_base[waa.c:2220] after loop is len=16, base=/tmp/fsvs.j2393/, and status=0
15:46:21.084 waa__find_common_base[waa.c:2232] found working copy base at /tmp/fsvs.j2393/


An error occurred at 15:46:21.084: No such file or directory (2)
  in waa__find_common_base [waa.c:2233]: chdir(/tmp/fsvs.j2393/)
15:46:21.084 main[fsvs.c:1074] memory stats: 0x8097000 to 0x8097000, 0 KB
+ set -e
+ for bind in '$binds'
+ umount /tmp/fsvs.j23936//media/backups
+ for bind in '$binds'
+ umount /tmp/fsvs.j23936//etc/fsvs
+ for bind in '$binds'
+ umount /tmp/fsvs.j23936//var/spool/fsvs
+ for bind in '$binds'
+ umount /tmp/fsvs.j23936//boot
+ rsync -avI /etc/fsvs/ /media/backups/system-fsvs.conf/
building file list ... done
created directory /media/backups/system-fsvs.conf
./
6666cd76f96956469e7be39d750cc7d9/
6666cd76f96956469e7be39d750cc7d9/Ign
6666cd76f96956469e7be39d750cc7d9/Urls
6666cd76f96956469e7be39d750cc7d9/_base -> /

sent 335 bytes  received 82 bytes  834.00 bytes/sec
total size is 97  speedup is 0.23
+ rsync -avi /var/spool/fsvs/ /media/backups/system-fsvs.waa/
building file list ... done
created directory /media/backups/system-fsvs.waa
cd+++++++++ ./

sent 50 bytes  received 26 bytes  152.00 bytes/sec
total size is 0  speedup is 0.00
+ cd /
+ umount /tmp/fsvs.j23936
+ rmdir /tmp/fsvs.j23936
+ lvremove --force /dev/vgr1/rootsnap
  Logical volume "rootsnap" successfully removed

Script done on Sun 13 Jan 2008 15:46:21 SAST

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to