From owner-freebsd-arm@freebsd.org Sat Oct 26 16:39:25 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C266917901E for ; Sat, 26 Oct 2019 16:39:25 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 470msS5PRpz4Mkb for ; Sat, 26 Oct 2019 16:39:24 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x9QGdKDm039070 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 26 Oct 2019 09:39:21 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x9QGdK0o039069; Sat, 26 Oct 2019 09:39:20 -0700 (PDT) (envelope-from fbsd) Date: Sat, 26 Oct 2019 09:39:20 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Permissions when moving storage devices between hosts Message-ID: <20191026163920.GA38958@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 470msS5PRpz4Mkb X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [0.12 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.88)[-0.882,0]; WWW_DOT_DOMAIN(0.50)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.08)[ip: (0.33), ipnet: 50.1.16.0/20(0.16), asn: 7065(-0.04), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.98)[-0.976,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2019 16:39:25 -0000 Not sure if this is an issue with FreeBSD, freebsd-arm or *nix in general. I'm having what look like throughput problems with a microSD card on a Raspberry Pi3b running -current. Things like svnlite update, tar and make install seem to take forever, if one watches gstat the queue length hops wildly from zero to hundreds sometimes. At other times the queue stays short and throughput looks reasonable. As a test, I used benchmarks/bonnie to run a test on the card, writing a log file to the card. Next, I moved the microSD card to a usb/microSD adapter and plugged it into an Rpi2b host running stable/12, mounting it on /mnt The plan was to re-run the bonnie test on the second host to see if the choice of host made much difference. Alas, after mounting the card, all owners/groups are freebsd/freebsd and I can't get permission to write any files, at least as a regular user. The usernames are the same on both hosts and I'm hesitant to try mucking about with ownerships. It does not seem possible to simply add world-write permissions to the test directory using chmod +w as root. It seems there must be a way to do the experiment, but perhaps there's a better way. The goal is merely to determine if the card's gone bad or something else is wrong. It's a Samsung Evo + 128GB, a few months old and worth enough that I don't want to blindly replace it. Thanks for reading, and any ideas! bob prohaska