From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=3.0 tests=DATE_IN_PAST_96_XX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12AA8C2BA19 for ; Sun, 5 Apr 2020 09:45:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D4A8120675 for ; Sun, 5 Apr 2020 09:45:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726444AbgDEJpE (ORCPT ); Sun, 5 Apr 2020 05:45:04 -0400 Received: from ciao.gmane.io ([159.69.161.202]:54864 "EHLO ciao.gmane.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726410AbgDEJpD (ORCPT ); Sun, 5 Apr 2020 05:45:03 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jL1pu-000SEg-Cv for linux-btrfs@vger.kernel.org; Sun, 05 Apr 2020 11:45:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: linux-btrfs@vger.kernel.org From: Achim Gratz Subject: Re: My first attempt to use btrfs failed miserably Date: Mon, 03 Feb 2020 20:14:47 +0100 Organization: Linux Private Site Message-ID: <87o8uffpp4.fsf@Rainer.invalid> References: Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cancel-Lock: sha1:xvrvQqf0ltMXRBy4PSeUwL0VOyw= Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Skibbi writes: > So I decided to try btrfs on my new portable WD Password Drive > attached to Raspberry Pi 4. That's an actual harddisk that likely pulls a lot of peak current, just under the limit allowed by the USB standard. You are begging for trouble connecting that to the rasPi without an extra PSU for the drive. I don't have that exact model here, but if you can feed external power into the drive, do it. Second, the rasPi4 itself is a bit of a power hog, so you will need a stable power supply there as well (250mV of overvoltage don't hurt either), even when the drive doesn't draw current from the USB port. The annoying thing with drives on USB is that they may well seem to be OK if you didn't specifically look for disconnect/reconnect events, but each time it happens that data is most likely lost anyway. Btrfs just tells you sooner than some other fs. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra