From owner-freebsd-questions@freebsd.org Sat Jul 29 09:03:36 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 06D3CDBEDE7 for ; Sat, 29 Jul 2017 09:03:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (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 6B26F64FD9 for ; Sat, 29 Jul 2017 09:03:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Sat, 29 Jul 2017 11:03:32 +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 2D64C3CBF9; Sat, 29 Jul 2017 11:03:32 +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 v6T93VeM002025; Sat, 29 Jul 2017 11:03:31 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 29 Jul 2017 11:03:31 +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: <20170729110331.de4d61a5.freebsd@edvax.de> In-Reply-To: <1686132f906448c4e88d02f865da9a14.squirrel@webmail.harte-lyne.ca> References: <20170728205144.c1fc18df.freebsd@edvax.de> <4a5c3fd942ff8566eefaaf9c990abba0.squirrel@webmail.harte-lyne.ca> <20170728212432.7be758bc.freebsd@edvax.de> <32ee693f24a1725290b47822cfd8bc9e.squirrel@webmail.harte-lyne.ca> <20170728220016.21aa7c83.freebsd@edvax.de> <1686132f906448c4e88d02f865da9a14.squirrel@webmail.harte-lyne.ca> 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 mailrelay12.qsc.de with 855906A371E X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1239 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: Sat, 29 Jul 2017 09:03:36 -0000 On Fri, 28 Jul 2017 17:09:01 -0400, James B. Byrne wrote: > # mount -t ext2fs -o ro /dev/da0s1 /mnt/usb01 > # mount -t ext2fs -o ro /dev/da1s1 /mnt/usb02 > > These both work on the second and third usb stick, the ones whose > insertion seemed to trigger the problem. Okay, good! > This is the backup stick which was already inserted and mounted when > the problem started: > > # gpart list da0 > Geom name: da0 > modified: false > state: OK > fwheads: 255 > fwsectors: 63 > last: 122915327 > first: 63 > entries: 4 > scheme: MBR > Providers: > 1. Name: da0s1 > Mediasize: 62928519168 (59G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 4128768 > Mode: r0w0e0 > attrib: active > rawtype: 12 > length: 62928519168 > offset: 4128768 > type: !12 > index: 1 > end: 122915327 > start: 8064 > Consumers: > 1. Name: da0 > Mediasize: 62932647936 (59G) > Sectorsize: 512 > Mode: r0w0e0 > > > So what is type !12? How would I mount it? As I said in a previous message: That entry looks damaged, and you probably cannot mount it anymore. Maybe recovery is possible using native Linux programs, I suggest you give it a try. In worst case, re-initialize the file system (at the price of data loss, of course). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...