From owner-freebsd-questions@freebsd.org Fri Jul 28 18:52:10 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA7D3DCC4A6 for ; Fri, 28 Jul 2017 18:52:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay15.qsc.de (mailrelay15.qsc.de [212.99.187.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 500386C7C9 for ; Fri, 28 Jul 2017 18:52:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay15.qsc.de; Fri, 28 Jul 2017 20:51:47 +0200 Received: from r56.edvax.de (port-92-195-203-176.dynamic.qsc.de [92.195.203.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 79D243CBF9; Fri, 28 Jul 2017 20:51:44 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v6SIpigQ002055; Fri, 28 Jul 2017 20:51:44 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 28 Jul 2017 20:51:44 +0200 From: Polytropon To: byrnejb@harte-lyne.ca Cc: "James B. Byrne via freebsd-questions" Subject: Re: Unable to mount USB Flash memory created on CentOS Message-Id: <20170728205144.c1fc18df.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay15.qsc.de with 9B84E68351A X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1353 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2017 18:52:10 -0000 On Fri, 28 Jul 2017 13:22:06 -0400, James B. Byrne via freebsd-questions wrote: > On my new FreeBSD workstation I am trying to read data off of a USB > 'key' flash memory stick recorded using rsync on a CentOS-6 system. I > was able to do this successfully up until the point that I inserted > another usb stick. Now I cannot mount or read either. Did you unmount the previous stick correctly? When you say it was "recorded" with CentOS, which file system has been used? Or is it a "raw" file (no file system at all, output written directly to the device)? > I probably made things worse by first removing both keys from the host > and then deleting the contents of /media. However, that is done. That should not be a big problem, as /media is usually populated automatically by a desktop environment's automounter, or manually by the system administrator (which implies that you can easily recreate required mountpoints under /media if you use /etc/fstab as a template). > At the moment what happens is that upon insertion the 'computer' > browser pane will display a filesystem labelled 'USB Drive' but I > cannot open it for viewing. Is it empty? When you say it's being opened, I assume this is a file browser - but from which desktop? They are quite different! Check things easily: Open a terminal and check the outpuf of % mount -v Is the USB stick (usually /dev/da0 or /dev/da0s1 or something like that) _really_ mounted? Check what's on the USB stick, using % gpart show da0 where da0 is the device for the USB stick. To check if da0 is correct, check the last lines of % dmesg It should be easy to identify what the USB stick is. > Neither does a mount command show in the > right-click popup menu. So it probably _is_ mounted. Does the menu show a "detach", "unoumt" or "eject" entry or symbol? As I said, don't rely on distracting pictural elements. Query the OS directly using the command line. It will tell you what is _really_ happening. > Rebooting the system does not return the system to its former behaviour. It _never_ does. ;-) > How is this fixed? Is it not possible to have two USB drives mounted > simulatenously? You need to provide more information. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...