linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Fjellstrom <thomas@fjellstrom.ca>
To: "Juan Carlos Carvajal B." <juca@juan-carlos.info>
Cc: linux-raid@vger.kernel.org
Subject: Re: What is the solution for USB HDs
Date: Wed, 14 Dec 2016 13:59:58 -0700	[thread overview]
Message-ID: <1712888.Wbb50rTSOS@natasha> (raw)
In-Reply-To: <CAMQE2N47aUPkW4s8juNWLm7TmRhkk6B4UOo9TbGm1ZoujgokCQ@mail.gmail.com>

On Wednesday, December 14, 2016 12:08:47 PM MST you wrote:
> Hi Phil,
> 
> usbcore.autosuspend=-1
> 
> This might be the solution! I'll test it and let you know.
> 
> And regarding power issues:
> 
> - this was the first thing I notices and I bought a powered usb-hub to
> provide enough current to the HDs.
> 
> Using USB drives is kind of a home user scenario. I understand that
> MDADM might be more focused on large data centers, but would be great
> to have such a great tool also available for the average joe.

I don't know if I'd call linux md-raid a "home user" senario. home user is 
more just not having any kind of backup or at most a single usb stick or usb 
hdd. 

Now, I use md-raid but I am not typical. I have a little self built NAS box, 
with 5x5 TB disks in raid 5. (I had thought I did raid 6, but I think I 
skipped it cause I have a full backup of the array on another box using a 
bunch of my older drives). Nice litle box using the Lian-Li PC Q25 case. 
Though I'd like to upgrade to the PC Q26, but its hard to find in canada for a 
decent price :(

Most of my friends use synology or drobo NAS boxes so they don't have to care 
about all the inner-workings most of the time.

I find USB disks too finicky for any real use. Also many are rather slow. I do 
however use them on occasion, especially usb3/3.1 ssds for quick backup or re-
image work when a usb stick won't cut it.

> Best!
> Juan Carlos Carvajal Bermúdez
> +43 650 477 0005
> juca@juan-carlos.info
> Beingasse 17/2/3
> AT 1150, Wien
> www.juan-carlos.info
> 
> On 12 December 2016 at 04:17, Phil Turmel <philip@turmel.org> wrote:
> > On 12/11/2016 05:14 PM, Adam Goryachev wrote:
> >> On 12/12/16 04:14, juca@juan-carlos.info wrote:
> >> If you are still having problems after that, then please try to post
> >> more details on what happens when the drives vanish (eg, kernel logs,
> >> system logs, etc).
> >> 
> >> Also, you might consider an alternative SBC, some have SATA ports
> >> already available (RPi are the only SBC's I've used, but there are many
> >> other options/variations).
> > 
> > There's also a kernel boot parameter that can cut off all USB
> > auto-suspend, which I suspect is part of the problem.  It has been known
> > for a long time that USB is not robust enough to be trusted in MD arrays.
> > 
> > { looking around..... }
> > 
> > usbcore.autosuspend=-1
> > 
> > is what you need in your bootloader or builtin to the kernel.
> > 
> > Phil
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


-- 
Thomas Fjellstrom
thomas@fjellstrom.ca

  reply	other threads:[~2016-12-14 20:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-11 17:14 What is the solution for USB HDs juca
2016-12-11 22:14 ` Adam Goryachev
2016-12-12  3:17   ` Phil Turmel
2016-12-13 15:53     ` Wols Lists
2016-12-14 11:08     ` Juan Carlos Carvajal B.
2016-12-14 20:59       ` Thomas Fjellstrom [this message]
2016-12-14 11:07   ` Juan Carlos Carvajal B.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1712888.Wbb50rTSOS@natasha \
    --to=thomas@fjellstrom.ca \
    --cc=juca@juan-carlos.info \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).