Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] fdisk warnings during install; questions
Date: Fri, 10 May 2013 22:07:23
Message-Id: 201305102307.08371.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] fdisk warnings during install; questions by Walter Dnes
1 On Friday 10 May 2013 17:28:32 Walter Dnes wrote:
2 > While I'm on the general topic of setting up the disk, I notice that
3 > fdisk startup output includes..
4 >
5 > > Sector size (logical/physical): 512 bytes / 4096 bytes
6 > > I/O size (minimum/optimal): 4096 bytes / 4096 bytes
7 >
8 > Since I'll be using ext2 for the 250 meg / and ext4 for the biggie
9 > /home partition, should I force mkefs* block size (the "-b" parameter)
10 > to 4096 to match the underlying hardware?
11
12 If you run 'fdisk -c -u /dev/sda' it should start the first sector at 2048,
13 which will ensure alignment of logical and physical blocks.
14
15 Then you can use fs block of 2048 or 4096 if you really want to, but I suspect
16 that would be quite wasteful on a partition that will store many smaller
17 files.
18 --
19 Regards,
20 Mick

Attachments

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