Hi, on a particular host (Linux 2.4.6-prexy-xfs, RH 7.1 + LVM + XFS, Amanda 2.4.2p2) sometimes sendsize fails to estimate sizes with xfsdump. If it fails, it's always /var/spool/news and /var/spool/squid. /tmp/amanda/sendsize lists "xfsdump: estimated dump size: xy bytes". Other filesystems like /usr, /var and /var/spool are on XFS, too, but do never fail. I'm afraid of sendsize not being serialized, i.e. starting the estimates, their output and killprgp goes from one to another. How can I debug this weird thing?
sendsize: debug 1 pid 4460 ruid 33 euid 33 start time Sat Jul 21 00:45:01 2001 /usr/lib/amanda/sendsize: version 2.4.2p2 calculating for amname '/', dirname '/' calculating for amname '/usr', dirname '/usr' calculating for amname '/var', dirname '/var' calculating for amname '/var/spool', dirname '/var/spool' sendsize: getting size via dump for / level 0 sendsize: getting size via dump for /usr level 0 sendsize: getting size via dump for /var/spool level 0 sendsize: getting size via dump for /var level 0 calculating for amname '/var/spool/news', dirname '/var/spool/news' sendsize: running "/sbin/dump 0Ssf 1048576 - /dev/cciss/disc0/part1" running /usr/lib/amanda/killpgrp sendsize: running "/usr/lib/amanda/rundump (xfsdump) -F -J -l 0 - /dev/vg1/usr" running /usr/lib/amanda/killpgrp sendsize: running "/usr/lib/amanda/rundump (xfsdump) -F -J -l 0 - /dev/vg1/var" DUMP: Added inode 7 to exclude list (resize inode) sendsize: running "/usr/lib/amanda/rundump (xfsdump) -F -J -l 0 - /dev/vg1/spool" running /usr/lib/amanda/killpgrp running /usr/lib/amanda/killpgrp xfsdump: version 3.0 - Running single-threaded xfsdump: version 3.0 - Running single-threaded xfsdump: version 3.0 - Running single-threaded xfsdump: level 0 dump of host.some.domain.org:/var xfsdump: dump date: Sat Jul 21 00:45:02 2001 xfsdump: session id: 0a5c6b06-ff30-4b43-8cb9-0f647b83e393 xfsdump: session label: "" xfsdump: level 0 dump of host.some.domain.org:/var/spool xfsdump: dump date: Sat Jul 21 00:45:02 2001 xfsdump: session id: a6eb1284-a333-4e1b-8bdf-bd216ad7fd18 xfsdump: session label: "" xfsdump: ino map phase 1: skipping (no subtrees specified) xfsdump: ino map phase 2: constructing initial dump list xfsdump: ino map phase 1: skipping (no subtrees specified) xfsdump: ino map phase 2: constructing initial dump list xfsdump: level 0 dump of host.some.domain.org:/usr xfsdump: dump date: Sat Jul 21 00:45:02 2001 xfsdump: session id: bea32eac-2b16-46e6-879d-0d8b65f34ef6 xfsdump: session label: "" xfsdump: ino map phase 1: skipping (no subtrees specified) xfsdump: ino map phase 2: constructing initial dump list xfsdump: ino map phase 3: skipping (no pruning necessary) xfsdump: ino map phase 4: skipping (size estimated in phase 2) xfsdump: ino map phase 5: skipping (only one dump stream) xfsdump: ino map construction complete xfsdump: estimated dump size: 512585536 bytes xfsdump: creating dump session media file 0 (media 0, file 0) ..... asking killpgrp to terminate xfsdump: ino map phase 3: skipping (no pruning necessary) xfsdump: ino map phase 4: skipping (size estimated in phase 2) xfsdump: ino map phase 5: skipping (only one dump stream) xfsdump: ino map construction complete xfsdump: estimated dump size: 2935906432 bytes xfsdump: creating dump session media file 0 (media 0, file 0) ..... asking killpgrp to terminate sendsize: getting size via dump for /var level 1 sendsize: running "/usr/lib/amanda/rundump (xfsdump) -F -J -l 1 - /dev/vg1/var" running /usr/lib/amanda/killpgrp xfsdump: version 3.0 - Running single-threaded xfsdump: level 1 incremental dump of host.some.domain.org:/var based on level 0 dump begun Fri Jul 20 01:01:14 2001 xfsdump: dump date: Sat Jul 21 00:45:03 2001 xfsdump: session id: 2ba84370-24c7-439e-9dab-0d7a502e9cc9 xfsdump: session label: "" xfsdump: ino map phase 1: skipping (no subtrees specified) xfsdump: ino map phase 2: constructing initial dump list xfsdump: ino map phase 3: pruning unneeded subtrees xfsdump: ino map phase 3: pass 2 xfsdump: ino map phase 3: pass 3 xfsdump: ino map phase 4: estimating dump size xfsdump: ino map phase 5: skipping (only one dump stream) xfsdump: ino map construction complete xfsdump: estimated dump size: 199554752 bytes xfsdump: creating dump session media file 0 (media 0, file 0) ..... asking killpgrp to terminate 134368256 ..... asking killpgrp to terminate sendsize: getting size via dump for /var/spool level 1 sendsize: running "/usr/lib/amanda/rundump (xfsdump) -F -J -l 1 - /dev/vg1/spool" running /usr/lib/amanda/killpgrp xfsdump: version 3.0 - Running single-threaded xfsdump: level 1 incremental dump of host.some.domain.org:/var/spool based on level 0 dump begun Fri Jul 20 01:15:09 2001 xfsdump: dump date: Sat Jul 21 00:45:03 2001 xfsdump: session id: 49d6db96-33cb-4737-939d-c82324de4923 xfsdump: session label: "" xfsdump: ino map phase 1: skipping (no subtrees specified) xfsdump: ino map phase 2: constructing initial dump list xfsdump: ino map phase 3: pruning unneeded subtrees xfsdump: ino map phase 3: pass 2 xfsdump: ino map phase 3: pass 3 xfsdump: ino map phase 4: estimating dump size xfsdump: ino map phase 5: skipping (only one dump stream) xfsdump: ino map construction complete xfsdump: estimated dump size: 478801280 bytes xfsdump: creating dump session media file 0 (media 0, file 0) ..... asking killpgrp to terminate calculating for amname '/var/spool/squid', dirname '/var/spool/squid' sendsize: getting size via dump for /var/spool/news level 0 sendsize: getting size via dump for / level 1 sendsize: running "/usr/lib/amanda/rundump (xfsdump) -F -J -l 0 - /dev/vg1/news" sendsize: running "/sbin/dump 1Ssf 1048576 - /dev/cciss/disc0/part1" running /usr/lib/amanda/killpgrp DUMP: Added inode 7 to exclude list (resize inode) running /usr/lib/amanda/killpgrp xfsdump: version 3.0 - Running single-threaded xfsdump: level 0 dump of host.some.domain.org:/var/spool/news xfsdump: dump date: Sat Jul 21 00:45:04 2001 xfsdump: session id: 013dd551-dc49-4d4e-b53e-cae2b4c8b731 xfsdump: session label: "" xfsdump: ino map phase 1: skipping (no subtrees specified) xfsdump: ino map phase 2: constructing initial dump list sendsize: getting size via dump for /var/spool/squid level 0 sendsize: running "/usr/lib/amanda/rundump (xfsdump) -F -J -l 0 - /dev/vg1/squid" running /usr/lib/amanda/killpgrp xfsdump: version 3.0 - Running single-threaded xfsdump: level 0 dump of host.some.domain.org:/var/spool/squid xfsdump: dump date: Sat Jul 21 00:45:05 2001 xfsdump: session id: 3db150fa-511a-4d6c-ae0a-2bf07af7dad9 xfsdump: session label: "" xfsdump: ino map phase 1: skipping (no subtrees specified) xfsdump: ino map phase 2: constructing initial dump list xfsdump: ino map phase 3: skipping (no pruning necessary) xfsdump: ino map phase 4: skipping (size estimated in phase 2) xfsdump: ino map phase 5: skipping (only one dump stream) xfsdump: ino map construction complete xfsdump: estimated dump size: 1071646144 bytes xfsdump: creating dump session media file 0 (media 0, file 0) ..... asking killpgrp to terminate 1432576 ..... asking killpgrp to terminate sendsize: getting size via dump for /usr level 1 sendsize: running "/usr/lib/amanda/rundump (xfsdump) -F -J -l 1 - /dev/vg1/usr" running /usr/lib/amanda/killpgrp xfsdump: version 3.0 - Running single-threaded xfsdump: level 1 incremental dump of host.some.domain.org:/usr based on level 0 dump begun Wed Jul 18 01:21:15 2001 xfsdump: dump date: Sat Jul 21 00:45:06 2001 xfsdump: session id: 34dcf4e5-3eac-46a0-a721-f33e6781edbc xfsdump: session label: "" xfsdump: ino map phase 1: skipping (no subtrees specified) xfsdump: ino map phase 2: constructing initial dump list xfsdump: ino map phase 3: pruning unneeded subtrees xfsdump: ino map phase 3: pass 2 xfsdump: ino map phase 3: pass 3 xfsdump: ino map phase 3: pass 4 xfsdump: ino map phase 3: pass 5 xfsdump: ino map phase 3: pass 6 xfsdump: ino map phase 4: estimating dump size xfsdump: ino map phase 5: skipping (only one dump stream) xfsdump: ino map construction complete xfsdump: estimated dump size: 95968896 bytes xfsdump: creating dump session media file 0 (media 0, file 0) ..... asking killpgrp to terminate sendsize: getting size via dump for /usr level 2 sendsize: running "/usr/lib/amanda/rundump (xfsdump) -F -J -l 2 - /dev/vg1/usr" running /usr/lib/amanda/killpgrp xfsdump: version 3.0 - Running single-threaded xfsdump: level 2 incremental dump of host.some.domain.org:/usr based on level 1 dump begun Fri Jul 20 00:56:16 2001 xfsdump: dump date: Sat Jul 21 00:45:18 2001 xfsdump: session id: 4439ede5-03a8-443c-a99c-c657ea57c4e8 xfsdump: session label: "" xfsdump: ino map phase 1: skipping (no subtrees specified) xfsdump: ino map phase 2: constructing initial dump list xfsdump: ino map phase 3: pruning unneeded subtrees xfsdump: ino map phase 3: pass 2 xfsdump: ino map phase 3: pass 3 xfsdump: ino map phase 3: pass 4 xfsdump: ino map phase 3: pass 5 xfsdump: ino map phase 3: pass 6 xfsdump: ino map phase 3: pass 7 xfsdump: ino map phase 3: pass 8 xfsdump: ino map phase 3: pass 9 xfsdump: ino map phase 4: estimating dump size xfsdump: ino map phase 5: skipping (only one dump stream) xfsdump: ino map construction complete xfsdump: estimated dump size: 145664 bytes xfsdump: creating dump session media file 0 (media 0, file 0) ..... asking killpgrp to terminate ..... (no size line match in above dump output) ..... asking killpgrp to terminate sendsize: getting size via dump for /var/spool/squid level 3 sendsize: running "/usr/lib/amanda/rundump (xfsdump) -F -J -l 3 - /dev/vg1/squid" running /usr/lib/amanda/killpgrp xfsdump: version 3.0 - Running single-threaded xfsdump: level 3 incremental dump of host.some.domain.org:/var/spool/squid based on level 2 dump begun Tue Jul 17 01:08:55 2001 xfsdump: dump date: Sat Jul 21 00:46:13 2001 xfsdump: session id: b57bce36-009d-40c7-9abe-42838b178199 xfsdump: session label: "" ..... (no size line match in above dump output) ..... asking killpgrp to terminate xfsdump: ino map phase 1: skipping (no subtrees specified) xfsdump: ino map phase 2: constructing initial dump list sendsize: getting size via dump for /var/spool/news level 1 sendsize: running "/usr/lib/amanda/rundump (xfsdump) -F -J -l 1 - /dev/vg1/news" running /usr/lib/amanda/killpgrp xfsdump: version 3.0 - Running single-threaded xfsdump: level 1 incremental dump of host.some.domain.org:/var/spool/news based on level 0 dump begun Mon Jul 16 01:10:25 2001 xfsdump: dump date: Sat Jul 21 00:46:16 2001 xfsdump: session id: b0f4a761-526b-411e-bbb5-0128aa18e364 xfsdump: session label: "" xfsdump: ino map phase 1: skipping (no subtrees specified) xfsdump: ino map phase 2: constructing initial dump list ..... (no size line match in above dump output) ..... asking killpgrp to terminate ..... (no size line match in above dump output) ..... asking killpgrp to terminate sendsize: getting size via dump for /var/spool/news level 2 sendsize: running "/usr/lib/amanda/rundump (xfsdump) -F -J -l 2 - /dev/vg1/news" running /usr/lib/amanda/killpgrp xfsdump: version 3.0 - Running single-threaded xfsdump: level 2 incremental dump of host.some.domain.org:/var/spool/news based on level 1 dump begun Fri Jul 20 01:00:47 2001 xfsdump: dump date: Sat Jul 21 00:46:28 2001 xfsdump: session id: af5519d6-4f2a-45c5-a44f-f3a86fe4a91d xfsdump: session label: "" xfsdump: ino map phase 1: skipping (no subtrees specified) xfsdump: ino map phase 2: constructing initial dump list ..... (no size line match in above dump output) ..... asking killpgrp to terminate sendsize: pid 4460 finish time Sat Jul 21 00:47:10 2001