Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2010 08:16:18 +0200
From:      Holm Tiffe <holm@freibergnet.de>
To:        freebsd-gnome@freebsd.org
Subject:   Problems with dump and hald on SCSI Tapes on 8.x
Message-ID:  <20100728061618.GB27599@pegasus.freiberg-net.de>

next in thread | raw e-mail | index | archive | help
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?

The OS ist 8.1-stable from yesterday, hald is hal-0.5.14 from the ports.


Please CC me, since I'm not on this list.

Kind Regards,

Holm
-- 
      Technik Service u. Handel Tiffe, www.tsht.de, Holm Tiffe, 
     Freiberger Straße 42, 09600 Oberschöna, USt-Id: DE253710583
  www.tsht.de, info@tsht.de, Fax +49 3731 74200, Mobil: 0172 8790 741




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100728061618.GB27599>