From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 30 12:32:31 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 028FC1065677 for ; Thu, 30 Oct 2008 12:32:31 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 8E9AF8FC0A for ; Thu, 30 Oct 2008 12:32:30 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Thu, 30 Oct 2008 13:20:23 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m9UCKNdq025427 for freebsd-hackers@freebsd.org; Thu, 30 Oct 2008 13:20:23 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Thu, 30 Oct 2008 13:20:23 +0100 From: Matthias Apitz To: freebsd-hackers@freebsd.org Message-ID: <20081030122023.GA25223@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 30 Oct 2008 12:20:23.0836 (UTC) FILETIME=[E24C6DC0:01C93A89] Subject: 7.0R && amd does not unmount USB-based UFS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2008 12:32:31 -0000 Hello, I'm using the amd to mount CDFS and MSDOSFS on USB without any kind of problems for years; now I formated a new USB key with UFS, added the config in amd's map and encounter that it does not unmount the file system after the configured time of 20 secs: any idea? thanks in advance; matthias details: # cat /etc/amdmaps/amd.ufs ufs type:=ufs;fs:=/mnt/ufs;dev:=/dev/da0s1a;opts:=rw # tail -f /var/log/amd Oct 30 12:06:04 rebelion amd[23331]/info: /f: disabling nfs congestion window Oct 30 12:06:04 rebelion amd[23328]/info: initializing amd.conf map /etc/amdmaps/amd.usb of type file Oct 30 12:06:04 rebelion amd[23328]/info: first time load of map /etc/amdmaps/amd.usb succeeded Oct 30 12:06:04 rebelion amd[23328]/info: /etc/amdmaps/amd.usb mounted fstype toplvl on /u Oct 30 12:06:04 rebelion amd[23328]/info: initializing amd.conf map /etc/amdmaps/amd.cdrom of type file Oct 30 12:06:04 rebelion amd[23328]/info: first time load of map /etc/amdmaps/amd.cdrom succeeded Oct 30 12:06:04 rebelion amd[23328]/info: /etc/amdmaps/amd.cdrom mounted fstype toplvl on /a Oct 30 12:06:04 rebelion amd[23328]/info: initializing amd.conf map /etc/amdmaps/amd.ufs of type file Oct 30 12:06:04 rebelion amd[23328]/info: first time load of map /etc/amdmaps/amd.ufs succeeded Oct 30 12:06:04 rebelion amd[23328]/info: /etc/amdmaps/amd.ufs mounted fstype toplvl on /f entering the dir /f/ufs mounts the FS: Oct 30 12:08:02 rebelion amd[23328]/map: Trying mount of /dev/da0s1a on /f/usf fstype ufs Oct 30 12:08:02 rebelion amd[23328]/info: /dev/da0s1a mounted fstype ufs on /mnt/ufs here another example of entering /a/cdrom which gets unmounted after 20 secs: Oct 30 12:54:49 rebelion amd[23328]/map: Trying mount of /dev/acd0 on /a/cdrom fstype cdfs Oct 30 12:54:50 rebelion amd[23328]/error: /cdrom: mount: Input/output error Oct 30 12:54:50 rebelion amd[23328]/error: mount_cdfs: Input/output error Oct 30 12:54:59 rebelion amd[23328]/map: Trying mount of /dev/acd0 on /a/cdrom fstype cdfs Oct 30 12:55:00 rebelion amd[23328]/info: /dev/acd0 mounted fstype cdfs on /cdrom Oct 30 12:55:20 rebelion amd[23328]/info: /dev/acd0 unmounted fstype cdfs from /cdrom the UFS stays mounted forever: $ mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) pid23328@rebelion:/u on /u (nfs) pid23328@rebelion:/a on /a (nfs) pid23328@rebelion:/f on /f (nfs) /dev/da0s1a on /mnt/ufs (ufs, local) a umount by hand helps: # umount /mnt/ufs # mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) pid23328@rebelion:/u on /u (nfs) pid23328@rebelion:/a on /a (nfs) pid23328@rebelion:/f on /f (nfs) -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows