From owner-freebsd-questions@freebsd.org Mon Jul 31 15:50:02 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 8C3CCDB1C66 for ; Mon, 31 Jul 2017 15:50:02 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A0B880271 for ; Mon, 31 Jul 2017 15:50:01 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id CB44862305; Mon, 31 Jul 2017 11:49:53 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mbxk6Ej-gngz; Mon, 31 Jul 2017 11:49:52 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 5D1C0622F2; Mon, 31 Jul 2017 11:49:51 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1501516192; bh=Ma2tjn9i/g2oFIdhYdYZ7kvaX0vKsU+mWlYn7I++qpc=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=HnNtssg84rEyc+7FGTSPaWzUGyDi4jD1PE8R9kTHxwHwY3AlaLmSQHVAzwGMlVhZF +nkJU9+K2o9Idj9DVkbZD8fSgQOmvQpws6ug6pH5JG5oq8QVyMjLwb7iPdUrZWa/CW pXvZrJwYgBNcx0BoXUCVfxET6q5CvKMMGMB2RivpM5EsV33961CKH46fO5NHE2AEZq kVzemPNfKWCe9XAPgO6Gt/LSJymxQzOZ3zzHhXOzq9XOjmZXMHB/ye81AJR6ulVSCR FN1i8wUCVqDSDxKeas7M4Sw8p9OLov2Wc0Njh/HVaJwNV1g5bz8sBd4p3rL1ULn1NH P69Uu/Hu1JlqQ== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Mon, 31 Jul 2017 11:49:52 -0400 Message-ID: <72688c988dae728f8fe92593aa464dc7.squirrel@webmail.harte-lyne.ca> In-Reply-To: <20170729110144.1cce7c70.freebsd@edvax.de> References: <20170728223744.a94ce254.freebsd@edvax.de> <20170729110144.1cce7c70.freebsd@edvax.de> Date: Mon, 31 Jul 2017 11:49:52 -0400 Subject: Re: Unable to mount USB Flash memory created on CentOS From: "James B. Byrne" To: "Polytropon" Cc: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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: Mon, 31 Jul 2017 15:50:02 -0000 Lest it be lost in the minutiae of solving this difficulty I thank you for all your help. On Sat, July 29, 2017 05:01, Polytropon wrote: > > I'd suggest you use the Linux native fsck (e2fsck). If I > remember correctly, there is also an "ext2 fsck" in the > port e2fsprogs with the same name. > > Or maybe it came with FUSE? > > Basically, you'd so something like > > # fsck -t ext2 /dev/da1 > > or, as I mentioned, > > # e2fsck /dev/da1 > > An automatic file system type detection relies on an entry > in /etc/fstab, which you don't have, so you need to specify > the FS type manually. > > When I try to verify the flash drives I see this: # e2fsck /dev/da1 e2fsck 1.43.4 (31-Jan-2017) ext2fs_open2: Bad magic number in super-block e2fsck: Superblock invalid, trying backup blocks... e2fsck: Bad magic number in super-block while trying to open /dev/da1 . . . So I redid the command using the partition values instead: # e2fsck /dev/da0s1 e2fsck 1.43.4 (31-Jan-2017) CA_HLL_2016_BKUP has gone 267 days without being checked, check forced. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Error writing file system info: Invalid argument CA_HLL_2016_BKUP: ***** FILE SYSTEM WAS MODIFIED ***** However, the device remains unmountable in Mate. This issue is not critical as I am able to manually mount both devices and have successfully moved their contents onto new media. But I do find it annoying that Mate, or whatever process caused the initial problem, was able to create the problem and yet there is no self-evident way of correcting whatever injury was done to the filesystems. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3