Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] new installation (ssd, new udev, grub2)
Date: Wed, 15 Aug 2012 16:44:48
Message-Id: CAEH5T2M7ueT90mJGMNnBabtXiMnpjnauoyGHbmWx7GmTCM=QuA@mail.gmail.com
In Reply to: Re: [gentoo-user] new installation (ssd, new udev, grub2) by "J.Marcos Sitorus"
1 On Tue, Aug 14, 2012 at 9:33 PM, J.Marcos Sitorus <gkjdsh@×××××.com> wrote:
2 > Hi guys, after quick read about ssd, I have a couple of question:
3 > 1. My friend have new server with a ssd installed. He plan to RHEL 5.7
4 > (I don't know why he choose this) on it. On redhat website, it say
5 > something like this:
6 > "However, if the device does not export topology information, Red Hat
7 > recommends that the first partition be created at a 1MB boundary."
8 > What does it mean by 1MB boundary? Does it mean he have to create 1MB
9 > free space in front or he have to create a 1MB partition in front of
10 > his actual partition(s)?
11
12 When you run fdisk and it asks starting sector, choose one that has
13 1MB of free space in front of it. Flash memory, like magnetic disks,
14 writes and erases in blocks, so improper alignment can cause multiple
15 read/writes to happen when only one should have been necessary. Most
16 flash-based memory has erase blocks with multiples of 4MB so I always
17 begin the partition at 4MB to be safe. Magnetic disks have much
18 smaller blocks so 1MB is the usual recommendation for those (since 1MB
19 is safely divisible by 64k/32k/16k/8k/512b etc.) though if you know
20 the actual block size on your disk you can go smaller than 1MB.
21
22 > 2. Is it possible to combine TRIM support and ext3 partition (AFAIK,
23 > RHEL 5.7 haven't support ext4)?
24
25 Basically no. Depending on kernel & everything else version there
26 might be offline trim support ioctl, but not automatic. Don't know
27 anything about RHEL but maybe xfs supported TRIM in that version.
28
29 > *i hope this is not count as hijacking
30
31 Don't know if it is hijacking, but it is not an RHEL list, and
32 top-posting can get an angry mob started. :)

Replies

Subject Author
Re: [gentoo-user] new installation (ssd, new udev, grub2) Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] new installation (ssd, new udev, grub2) "J.Marcos Sitorus" <gkjdsh@×××××.com>