From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-140621-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 86CEC1381F4
	for <garchives@archives.gentoo.org>; Wed, 15 Aug 2012 16:44:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B5EA921C058;
	Wed, 15 Aug 2012 16:44:26 +0000 (UTC)
Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com [209.85.215.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id 304ECE09BB
	for <gentoo-user@lists.gentoo.org>; Wed, 15 Aug 2012 16:42:24 +0000 (UTC)
Received: by lahc1 with SMTP id c1so926265lah.40
        for <gentoo-user@lists.gentoo.org>; Wed, 15 Aug 2012 09:42:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:sender:in-reply-to:references:from:date
         :x-google-sender-auth:message-id:subject:to:content-type;
        bh=ulhfJkLPeIVmv3D+zb0DF2dkXr/MZxFFd36GUgEuJ2w=;
        b=CW4uIBclG895R/Ng2jTcrGXT8qCMPY843HsatTXKzeSgV8PdAl/LL4Xcl9dpEbSlCC
         LloRGSa4ex2VBFECtWRe17VZdOqOIztsIrpprJYSj5PCZ1IVEZMSNX5gul+fyyGHo2Z8
         cWIPBrbb7JxAoE7xz5+V+Zzv5sSnhFvZZJxenQakp8s2HdfmUWfObIz90EMmOrfzvPlT
         1Zfj4IfMLp8drEaQ2bUQa9GIG3lSVHaBaDHvtcmJ9fUSnVQXfM3kg5QhHQmIKdgOMQH+
         76Tox+pnyDU3zkxZ94K5XELnWED2kCSW8ucmnK0cBpQOV2ayHCh5Pnu1m+brF3vOY06S
         21zQ==
Received: by 10.112.28.226 with SMTP id e2mr9731390lbh.96.1345048944042; Wed,
 15 Aug 2012 09:42:24 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
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.112.29.132 with HTTP; Wed, 15 Aug 2012 09:42:02 -0700 (PDT)
In-Reply-To: <CAJ2NdVXbQS+wda328n8CVgsf9NjNXxXMrwxvJFuQyExXGk0+-g@mail.gmail.com>
References: <yu9r4reaknk.fsf@nyu.edu> <20120810212213.0ce6e810@khamul.example.com>
 <yu91ujcaskm.fsf@nyu.edu> <20120813090643.3475957e@hactar.digimed.co.uk>
 <CA+czFiCfpK3o0MgrrHogyXzyNJ2BFQnVda9gPW9B6nkLJSLezg@mail.gmail.com>
 <20120813174712.6569db3e@khamul.example.com> <CA+czFiD8_2M8FM57JCxCA-WV6iYoVRr+D3x4fHeuqzQNnPxuoQ@mail.gmail.com>
 <20120813233839.4ae36e8c@khamul.example.com> <CAJ2NdVXbQS+wda328n8CVgsf9NjNXxXMrwxvJFuQyExXGk0+-g@mail.gmail.com>
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
Date: Wed, 15 Aug 2012 11:42:02 -0500
X-Google-Sender-Auth: QyxAG4m9cYZp7jWGZvdmO91Yp4Y
Message-ID: <CAEH5T2M7ueT90mJGMNnBabtXiMnpjnauoyGHbmWx7GmTCM=QuA@mail.gmail.com>
Subject: Re: [gentoo-user] new installation (ssd, new udev, grub2)
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
X-Archives-Salt: b54965fe-5f5b-4a9a-badc-be868f670a3c
X-Archives-Hash: 064fb6468433ac231a84f947abbb7ea6

On Tue, Aug 14, 2012 at 9:33 PM, J.Marcos Sitorus <gkjdsh@gmail.com> wrote:
> Hi guys, after quick read about ssd, I have a couple of question:
> 1. My friend have new server with a ssd installed. He plan to RHEL 5.7
> (I don't know why he choose this) on it. On redhat website, it say
> something like this:
> "However, if the device does not export topology information, Red Hat
> recommends that the first partition be created at a 1MB boundary."
> What does it mean by 1MB boundary? Does it mean he have to create 1MB
> free space in front or he have to create a 1MB partition in front of
> his actual partition(s)?

When you run fdisk and it asks starting sector, choose one that has
1MB of free space in front of it. Flash memory, like magnetic disks,
writes and erases in blocks, so improper alignment can cause multiple
read/writes to happen when only one should have been necessary. Most
flash-based memory has erase blocks with multiples of 4MB so I always
begin the partition at 4MB to be safe. Magnetic disks have much
smaller blocks so 1MB is the usual recommendation for those (since 1MB
is safely divisible by 64k/32k/16k/8k/512b etc.) though if you know
the actual block size on your disk you can go smaller than 1MB.

> 2. Is it possible to combine TRIM support and ext3 partition (AFAIK,
> RHEL 5.7 haven't support ext4)?

Basically no. Depending on kernel & everything else version there
might be offline trim support ioctl, but not automatic. Don't know
anything about RHEL but maybe xfs supported TRIM in that version.

> *i hope this is not count as hijacking

Don't know if it is hijacking, but it is not an RHEL list, and
top-posting can get an angry mob started. :)