Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] new installation (ssd, new udev, grub2)
Date: Wed, 15 Aug 2012 20:50:56
Message-Id: 201208152148.53984.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] new installation (ssd, new udev, grub2) by Paul Hartman
1 On Wednesday 15 Aug 2012 17:42:02 Paul Hartman wrote:
2 > On Tue, Aug 14, 2012 at 9:33 PM, J.Marcos Sitorus <gkjdsh@×××××.com> wrote:
3 > > Hi guys, after quick read about ssd, I have a couple of question:
4 > > 1. My friend have new server with a ssd installed. He plan to RHEL 5.7
5 > > (I don't know why he choose this) on it. On redhat website, it say
6 > > something like this:
7 > > "However, if the device does not export topology information, Red Hat
8 > > recommends that the first partition be created at a 1MB boundary."
9 > > What does it mean by 1MB boundary? Does it mean he have to create 1MB
10 > > free space in front or he have to create a 1MB partition in front of
11 > > his actual partition(s)?
12 >
13 > When you run fdisk and it asks starting sector, choose one that has
14 > 1MB of free space in front of it. Flash memory, like magnetic disks,
15 > writes and erases in blocks, so improper alignment can cause multiple
16 > read/writes to happen when only one should have been necessary. Most
17 > flash-based memory has erase blocks with multiples of 4MB so I always
18 > begin the partition at 4MB to be safe. Magnetic disks have much
19 > smaller blocks so 1MB is the usual recommendation for those (since 1MB
20 > is safely divisible by 64k/32k/16k/8k/512b etc.) though if you know
21 > the actual block size on your disk you can go smaller than 1MB.
22 >
23 > > 2. Is it possible to combine TRIM support and ext3 partition (AFAIK,
24 > > RHEL 5.7 haven't support ext4)?
25 >
26 > Basically no. Depending on kernel & everything else version there
27 > might be offline trim support ioctl, but not automatic. Don't know
28 > anything about RHEL but maybe xfs supported TRIM in that version.
29 >
30 > > *i hope this is not count as hijacking
31 >
32 > Don't know if it is hijacking, but it is not an RHEL list, and
33 > top-posting can get an angry mob started. :)
34
35 Grrrrr! :@
36
37 LOL!
38
39 Anyway, I am told that Gparted now adds a 1M unallocated space before a
40 partition is created (and shows it too) as long as one leaves the default
41 alignment option of 'MiB', rather than 'cylinders'.
42
43 I'm not sure what it does if you select cylinders. May still create it, but I
44 seem to recall that older versions of Gparted did not show unallocated space
45 less than 8M.
46
47 I think that current versions of fdisk also provide a 1M boundary, or is it
48 4M? Someone more up to speed on this can comment.
49 --
50 Regards,
51 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] new installation (ssd, new udev, grub2) Paul Hartman <paul.hartman+gentoo@×××××.com>