Hi Paul I run the comand here is the output.
server:/etc/amanda/DailySet1 # tar -cf - --sparse --one-file-sys --tot --dir /media . | cat >/dev/null tar: ./cdrom: Cannot savedir: No medium found tar: ./floppy: Cannot savedir: No medium found Total bytes written: 10240 (10kB, 74kB/s) tar: Error exit delayed from previous errors server:/etc/amanda/DailySet1 # Thus I assume that it falls over when hit comes across /media/cdrom /media/floopy and is what I need to fix. My fstab is as follows but when using Yast and floppy I have had no issues. /dev/cdrom /media/cdrom subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 /dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0 On Thu, 2005-06-23 at 13:03 +0200, Paul Bijnens wrote: > [EMAIL PROTECTED] wrote: > > > >>/-- server / lev 0 FAILED [/bin/tar returned 2] > >>sendbackup: start [greenbottle.smtl.co.uk:/ level 0] > >>sendbackup: info BACKUP=/bin/tar > >>sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/bin/tar -f... - > >>sendbackup: info COMPRESS_SUFFIX=.gz > >>sendbackup: info end > >>? gtar: ./media/cdrom: Cannot savedir: No medium found > >>? gtar: ./media/floppy: Cannot savedir: No medium found > >>? gtar: ./media/cdrom: Warning: Cannot savedir: No medium found > >>? gtar: ./media/floppy: Warning: Cannot savedir: No medium found > >>| gtar: ./dev/log: socket ignored > >>| gtar: ./tmp/.s.PGSQL.5432: socket ignored > >>| gtar: ./tmp/.ICE-unix/19580: socket ignored > >>| gtar: ./tmp/.ICE-unix/dcop19563-1118847061: socket ignored > >>| gtar: ./tmp/.X11-unix/X0: socket ignored > >>| gtar: ./tmp/ksocket-root/kdeinit-\:0: socket ignored > >>| gtar: ./tmp/ksocket-root/kdeinit__0: socket ignored > [...] > >>| gtar: ./var/spool/postfix/public/showq: socket ignored > >>| Total bytes written: 5874155520 (5.5GB, 3.5MB/s) > > > > > > Maybe use exclusions for all those sockets? This would remove all > > those nasty ignore-errors above. > > Note that the error is not in the sockets (those lines are marked > with a pipe-symbol as "normal"), but in the "no medium found" > lines, marked with a question mark. > > Thus there is no need to add the sockets in the ignore list. > > Now the problem is: why does the OS complain about missing media in > those directories? > I cannot reproduce this on any of my systems, with or without media > inserted. > > What version of Linux are you using? > > How are the /media/* directories managed ? (in /etc/fstab? automouter?) > > What happens when you do: > > gtar -cf - --sparse --one-file-sys --tot --dir /media . | cat >/dev/null > > > -- Unix/ Linux Systems Administrator Chuck Amadi The Surgical Material Testing Laboratory (SMTL), Princess of Wales Hospital Coity Road Bridgend, United Kingdom, CF31 1RQ. Email chuck.smtl.co.uk Tel: +44 1656 752820 Fax: +44 1656 752830
