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 1NxoqB-0001re-Ai for garchives@archives.gentoo.org; Fri, 02 Apr 2010 21:55:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F756E09C2; Fri, 2 Apr 2010 21:55:26 +0000 (UTC) Received: from mail-pz0-f174.google.com (mail-pz0-f174.google.com [209.85.222.174]) by pigeon.gentoo.org (Postfix) with ESMTP id 2C4A3E09C2 for ; Fri, 2 Apr 2010 21:55:26 +0000 (UTC) Received: by pzk4 with SMTP id 4so2216414pzk.9 for ; Fri, 02 Apr 2010 14:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=NDt/fT+esin8e7q0ZLJxHrh/ypHStRNP14QU+G4sUvE=; b=vzSf0Ooja8sBSJcfZQ2RYSj+d3pCeeMz2te4wqPwL7LBkc7qIri+GoLySiLM9zc3HD SMTMqBpqVn/F6GGaVa8ruj25GTpPkz1nKpXQJuSXdiD1k5xNO6X/a/Np2VZIG3zIWsmL Cgyt4GUvlr0Nv3t1TVSKweHW+K85gdnxkHaMM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=mahuw124N0ceOiERL6Aw9CMHaL8GIXlRTd2yxEeHsS0mYLSnm4xtsGWXddZU8JjwSe FH6XWaodZBQFsHqKnuD4U/7hKKUcotvl0cDIuNKrsmHmBIJZXEhMfNQu1IPFNU+b/X9F 39kHlQ/1AF0iT7Ft5RxbCE8SDBTqyQEv4eT60= 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 Received: by 10.143.13.4 with HTTP; Fri, 2 Apr 2010 14:55:25 -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 14:55:25 -0700 Received: by 10.143.20.33 with SMTP id x33mr975015wfi.116.1270245325659; Fri, 02 Apr 2010 14:55:25 -0700 (PDT) Message-ID: Subject: Re: [gentoo-user] OT:Choosing a filesystem From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: dd2e6344-735f-44ad-9cc4-b9d392a6d21f X-Archives-Hash: 2eef94e5befc539994b4908cfa81cbff 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, Mark