From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NxoxY-0002ft-LD for garchives@archives.gentoo.org; Fri, 02 Apr 2010 22:03:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E794CE0D10; Fri, 2 Apr 2010 22:03:08 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id CC0B2E0D0E for ; Fri, 2 Apr 2010 22:03:08 +0000 (UTC) Received: by gyg8 with SMTP id 8so1107364gyg.40 for ; Fri, 02 Apr 2010 15:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:received:message-id:subject :from:to:content-type; bh=HWejdJkyKMDOYv1JLjKeArtkHpuXGikTt9TiHT4nBLU=; b=TV2kCnDFKRNnbjLqsAXhjbjo4L9en1RV+Yux/TZxU43xhcl3JaQuArSw1642cJnP+F NjovyRGs1ZbzroYROaLh7vtJHdsJhjlaje8n3pOqgXT78G753zdkRARNILNvx/MEgNuu 454/ZVxUurmltyfnKgdRvWOorhSfn5lavr4tU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=VTAcIhWqtwyORVZx2SupFmjJ+l2MqBlsRbPAvmji1Js6V5z94fUT/ucr0sUvl/M/j1 iff1aZwXOsASCfvemogBhzn4fVSsN/ENcxSyY+t928wEB7B2jSXq+zM+D1ZCoRxSrixD G/RuB9rRuN/tcCiYIGosJ+coBU/KqlJAZFzIk= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Sender: paul.hartman@gmail.com Received: by 10.151.8.9 with HTTP; Fri, 2 Apr 2010 15:03:08 -0700 (PDT) In-Reply-To: References: <20100401174711.GA5120@solfire> <201004022040.54819.volkerarmin@googlemail.com> <20100402203415.52093001@digimed.co.uk> <201004022150.10087.volkerarmin@googlemail.com> Date: Fri, 2 Apr 2010 17:03:08 -0500 X-Google-Sender-Auth: 38454f591d08c5cd Received: by 10.150.254.7 with SMTP id b7mr3754458ybi.293.1270245788482; Fri, 02 Apr 2010 15:03:08 -0700 (PDT) Message-ID: Subject: Re: [gentoo-user] OT:Choosing a filesystem From: Paul Hartman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: a4501507-c39f-4cab-85ab-536a9a086e90 X-Archives-Hash: dccff5c7632db15abd5bbb10b05f37b2 On Fri, Apr 2, 2010 at 4:55 PM, Mark Knecht wrote: > On Fri, Apr 2, 2010 at 2:49 PM, Paul Hartman > wrote: >> On Fri, Apr 2, 2010 at 2:50 PM, Volker Armin Hemmann >> wrote: >>> On Freitag 02 April 2010, Neil Bothwick wrote: >>>> On Fri, 2 Apr 2010 20:40:54 +0200, Volker Armin Hemmann wrote: >>>> > > LVM and RAID are completely different animals. No one suggested using >>>> > > it for any reasons of data security, running LVM on a RAID array >>>> > > gives both security and flexibility. As for being able to add space >>>> > > to RAID, you can't temporarily add a new volume whenever you want, >>>> > > you have to go out and buy another drive, then power down the >>>> > > computer to fit it, assuming there is room in the case for an extra >>>> > > drive. >>>> > >>>> > no need to power down - and you can add and remove drives. Read man >>>> > mdadm. >>>> >>>> Assuming your controller supports hotplugging, assuming you have a drive >>>> available to plug in, assuming you are able to physically add a drive. >>> >>> sata can hotplug. all ahci controlers can hotplug and all sata drives can >>> hotplug. If you insist on technology straight from the stone ages that is your >>> problem. >> >> Do you know if it's necessary to signal to the system (like /proc/scsi >> something) that I'm about to unplug the drive, and in which order the >> power/data need to be disconnected to prevent a problem? I'm curious >> in case of future need. :) >> >> Thanks. > > If it's part of a RAID the new one gets rebuilt. > > If it's not part of a RAID then I think, as per Neil's example, the > computer is pretty much dead, right? However if you wanted to try it > (and I'm not brave enough so don't listen to me) then you might want > to do something like > > grep -A 1 dirty /proc/vmstat > > and wait until nothing is dirty. > > Just an idea, Well, forgetting about RAID and bad drives, I should be able to unmount a normal, working SATA drive and unplug it safely, just like with a USB hard drive. I just don't know if you have to signal to SATA/AHCI that you're going to unplug (like with old hot-swappable SCSI drives), or if you need to unplug data cable before unplugging the power cable, for example.