Problems with dump and hald on SCSI Tapes on 8.x

Joe Marcus Clarke marcus at freebsd.org
Sat Jul 31 17:46:08 UTC 2010


On 7/28/10 2:16 AM, Holm Tiffe wrote:
> Hi,
> 
> since I've upgraded my computer to RELENG_8 I had problems to dump my
> filesystems to my DLT drive. The FS are bigger than only one tape, so dump
> is reqeusting a continuation tape if it detects an EOF on the first one.
> 
> If I now change the tape and answer dump's question with "yes"
> (DUMP: Is the new volume mounted and ready to go?: ("yes" or "no"))
> I get this if hald is running:
> 
>   DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
>   DUMP: Volume 2 begins with blocks from inode 14885067
>   DUMP: EOT detected at start of the tape!
>   DUMP: The ENTIRE dump is aborted.
> 
> #
> 
> 
> ..regardless what tape is mounted or which drive (I have an 8GB Tandberg
> QIC Drive and a 40GB Quantum DLT).
> 
> If I stop hald
> 
> (# /usr/local/etc/rc.d/hald stop
> Stopping hald.
> )
> 
> dump is working flawlessly again:
> 
> [..]
> 
>   DUMP: 61.56% done, finished in 2:57 at Wed Jul 28 04:25:46 2010
>   DUMP: 62.56% done, finished in 2:53 at Wed Jul 28 04:26:24 2010
>   DUMP: 63.53% done, finished in 2:49 at Wed Jul 28 04:27:12 2010
>   DUMP: 64.52% done, finished in 2:44 at Wed Jul 28 04:27:47 2010
>   DUMP: 65.55% done, finished in 2:40 at Wed Jul 28 04:28:08 2010
>   DUMP: End of tape detected
>   DUMP: Closing /dev/nsa1
>   DUMP: Change Volumes: Mount volume #2
>   DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
>   DUMP: Volume 2 begins with blocks from inode 14885087
>   DUMP: 65.69% done, finished in 2:39 at Wed Jul 28 09:18:27 2010
>   DUMP: 66.75% done, finished in 2:34 at Wed Jul 28 09:18:35 2010
>   DUMP: 67.73% done, finished in 2:30 at Wed Jul 28 09:19:11 2010
> 
> [..]
> 
> This is the same on both drives.
> 
> My question here is: How can I (permanently) prevent hald from touching
> the /dev/sa and the /dev/nsa devices?

See http://www.freebsd.org/gnome/docs/halfaq.html#q2 .

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


More information about the freebsd-gnome mailing list