From owner-freebsd-questions@freebsd.org Fri Jul 28 20:37:48 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 515D7DCE7F1 for ; Fri, 28 Jul 2017 20:37:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (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 CEBE06FFB5 for ; Fri, 28 Jul 2017 20:37:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Fri, 28 Jul 2017 22:37:45 +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 839C23CBF9; Fri, 28 Jul 2017 22:37: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 v6SKbiHo002502; Fri, 28 Jul 2017 22:37:44 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 28 Jul 2017 22:37:44 +0200 From: Polytropon To: byrnejb@harte-lyne.ca Cc: freebsd-questions@freebsd.org Subject: Re: Unable to mount USB Flash memory created on CentOS Message-Id: <20170728223744.a94ce254.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 mailrelay14.qsc.de with CBA5B6834D2 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1293 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 20:37:48 -0000 On Fri, 28 Jul 2017 16:32:24 -0400, James B. Byrne wrote: > I inserted one of the other usb sticks that were involved with the > initial incident and see this: > > ugen3.2: at usbus3 > umass0: on usbus3 > umass0: SCSI over Bulk-Only; quirks = 0xc100 > umass0:5:0: Attached to scbus5 > da0 at umass-sim0 bus 0 scbus5 target 0 lun 0 > da0: Removable Direct Access SCSI device > da0: Serial Number 078610A01958 > da0: 40.000MB/s transfers > da0: 1911MB (3913728 512 byte sectors) > da0: quirks=0x2 It does not detach - so far, so good. > Looking at /var/log/messages I see this: > > # tail /var/log/messages > Jul 28 16:14:46 vhost04 kernel: ugen3.2: at usbus3 > Jul 28 16:14:46 vhost04 kernel: umass0: 0/0, rev 2.00/1.10, addr 2> on usbus3 > Jul 28 16:14:46 vhost04 kernel: umass0: SCSI over Bulk-Only; quirks = > 0xc100 > Jul 28 16:14:46 vhost04 kernel: umass0:5:0: Attached to scbus5 > Jul 28 16:14:46 vhost04 kernel: da0 at umass-sim0 bus 0 scbus5 target > 0 lun 0 > Jul 28 16:14:46 vhost04 kernel: da0: > Removable Direct Access SCSI device > Jul 28 16:14:46 vhost04 kernel: da0: Serial Number 078610A01958 > Jul 28 16:14:46 vhost04 kernel: da0: 40.000MB/s transfers > Jul 28 16:14:46 vhost04 kernel: da0: 1911MB (3913728 512 byte sectors) > Jul 28 16:14:46 vhost04 kernel: da0: quirks=0x2 > > > But this does not mount either. However, the message is different: > > Cannot mount volume > Unable to mount the volume 'CA_HLL_2016'. > > Mount: /dev/ext2fs/CA_HLL_2016: Operation not supported by device I'm not sure if it's trying to mount da0 or da0s1. Is manual mounting possible, for example # mount -t ext2fs -o ro /dev/da0s1 /mnt with sufficient permissions (e- g- try as root first, then unmount, and then try as regular user). > gpart list da0 > Geom name: da0 > modified: false > state: OK > fwheads: 255 > fwsectors: 63 > last: 3913727 > first: 1 > entries: 4 > scheme: MBR > Providers: > 1. Name: da0s1 > Mediasize: 2003522560 (1.9G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 31744 > Mode: r0w0e0 > rawtype: 131 > length: 2003522560 > offset: 31744 > type: linux-data > index: 1 > end: 3913191 > start: 62 > Consumers: > 1. Name: da0 > Mediasize: 2003828736 (1.9G) > Sectorsize: 512 > Mode: r0w0e0 Here, "linux-data" (type 131) is correct, and you need to mount the partition da0s1. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...