From: Mike Viau on

Does this mkfs work around work to preserve the performance of the drive? By using the -b 4096 (to signify the 4k sectors) when creating partitions such as:

mkfs -t ext4 -b 4096 /dev/sda1

Is there any implication for mounting a partition formatted with the above command (e.g: mounting in other systems)?

Is there anything in fdisk that one should do to signify 4K sectors for partitions as well?

I understand that added layers to the partitions such as drive encryption and/or LVM volumes must also be setup to use 4K sectors too so that performance is not lost.

Thanks.


-M




From: viaum(a)sheridanc.on.ca
To: debian-user(a)lists.debian.org
Subject: Debian support on newer 4K Advanced format drives (rather than 512 bytes)
Date: Fri, 2 Jul 2010 17:31:22 -0400













Hello List,

I was just wondering what some of the debian community users has been experiencing in regards to the new Western Digital 4K Advanced format drives? Has any one tried using one of these drives on the 2.6.26 (64/32 bit) kernel shipped with Lenny stable? How about with the 2.6.32 (64/32 bit) kernel shipped with squeeze testing?

Is the support more dependant on the kernel or does debian already support these drives?

Thanks in advance.



Specifications for the WD Caviar Green (Advanced Format) SATA internal
hard drives


http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/std_adp.php?p_faqid=5324&p_created=1263858658&p_sid=xbnV-uVj&p_accessibility=0&p_redirect=&p_srch=1&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MTk2LDE5NiZwX3Byb2RzPTIyNywyOTQmcF9jYXRzPSZwX3B2PTIuMjk0JnBfY3Y9JnBfcGFnZT0x&p_li=&p_topview=1


-M



_________________________________________________________________
Turn down-time into play-time with Messenger games
http://go.microsoft.com/?linkid=9734385
From: Ron Johnson on
I think that the partitioning tool (fdisk, cfdisk, parted, ...) is
what is really important. That is because filesystems already use
4KB block sizes.

Possibly also fsck.

There was a recent IBM DeveloperWorks article on this very topic.

On 07/03/2010 11:36 AM, Mike Viau wrote:
> Does this mkfs work around work to preserve the performance of the
> drive? By using the -b 4096 (to signify the 4k sectors) when creating
> partitions such as:
>
> mkfs -t ext4 -b 4096 /dev/sda1
>
> Is there any implication for mounting a partition formatted with the
> above command (e.g: mounting in other systems)?
>
> Is there anything in fdisk that one should do to signify 4K sectors for
> partitions as well?
>
> I understand that added layers to the partitions such as drive
> encryption and/or LVM volumes must also be setup to use 4K sectors too
> so that performance is not lost.
>
> Thanks.
>
>
> -M
>
>
>
>
> ------------------------------------------------------------------------
> From: viaum(a)sheridanc.on.ca
> To: debian-user(a)lists.debian.org
> Subject: Debian support on newer 4K Advanced format drives (rather than
> 512 bytes)
> Date: Fri, 2 Jul 2010 17:31:22 -0400
>
> Hello List,
>
> I was just wondering what some of the debian community users has been
> experiencing in regards to the new Western Digital 4K Advanced format
> drives? Has any one tried using one of these drives on the 2.6.26 (64/32
> bit) kernel shipped with Lenny stable? How about with the 2.6.32 (64/32
> bit) kernel shipped with squeeze testing?
>
> Is the support more dependant on the kernel or does debian already
> support these drives?
>
> Thanks in advance.
>
>
>
> Specifications for the WD Caviar Green (Advanced Format) SATA internal
> hard drives
>
>
> http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/std_adp.php?p_faqid=5324&p_created=1263858658&p_sid=xbnV-uVj&p_accessibility=0&p_redirect=&p_srch=1&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MTk2LDE5NiZwX3Byb2RzPTIyNywyOTQmcF9jYXRzPSZwX3B2PTIuMjk0JnBfY3Y9JnBfcGFnZT0x&p_li=&p_topview=1
> <http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/std_adp.php?p_faqid=5324&p_created=1263858658&p_sid=xbnV-uVj&p_accessibility=0&p_redirect=&p_srch=1&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MTk2LDE5NiZwX3Byb2RzPTIyNywyOTQmcF9jYXRzPSZwX3B2PTIuMjk0JnBfY3Y9JnBfcGFnZT0x&p_li=&p_topview=1>
>
>
> -M
>
>
> <http://go.microsoft.com/?linkid=9734380>
> ------------------------------------------------------------------------
> Your Photo on Bing.ca: You Could WIN on Canada Day! Submit a Photo Now!
> <http://go.microsoft.com/?linkid=9734380>


--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C2F6CF4.2040003(a)cox.net
From: Mike Viau on

> On Sat, 3 Jul 2010 12:01:40 -0500 <ron.l.johnson(a)cox.net> wrote:
>
> I think that the partitioning tool (fdisk, cfdisk, parted, ...) is
> what is really important. That is because filesystems already use
> 4KB block sizes.
>
> Possibly also fsck.
>
> There was a recent IBM DeveloperWorks article on this very topic.
>

This I take it?

http://www.ibm.com/developerworks/linux/library/l-4kb-sector-disks/index.html

_________________________________________________________________
MSN Dating: Find someone special. Start now.
http://go.microsoft.com/?linkid=9734384
From: Stan Hoeppner on
Ron Johnson put forth on 7/3/2010 12:01 PM:
> I think that the partitioning tool (fdisk, cfdisk, parted, ...) is what
> is really important.

It is. The first partition must be created on an even 4k sector aligned
boundary to avoid the performance hit of unaligned access. However, from all
I've read up to around March 2010, Linux, its partitioning tools, and the
documentation on how to use the with 4k drives aren't ready ready for prime
time yet. I'd avoid 4k sector drives until all the dust settles.

> That is because filesystems already use 4KB block
> sizes.

This is unrelated. FS block size != sector size. This discussion is about
disk hardware sector size.

> Possibly also fsck.

fsck is ignorant of hw sector size.

--
Stan


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C2F8D90.6070609(a)hardwarefreak.com
From: Ron Johnson on
On 07/03/2010 02:20 PM, Stan Hoeppner wrote:
> Ron Johnson put forth on 7/3/2010 12:01 PM:
>> I think that the partitioning tool (fdisk, cfdisk, parted, ...) is what
>> is really important.
>
> It is. The first partition must be created on an even 4k sector aligned
> boundary to avoid the performance hit of unaligned access. However, from all
> I've read up to around March 2010, Linux, its partitioning tools, and the
> documentation on how to use the with 4k drives aren't ready ready for prime
> time yet. I'd avoid 4k sector drives until all the dust settles.
>

Even with older tools, there are ways to properly align partitions.
You've just got to do a bit of study beforehand.

>> That is because filesystems already use 4KB block
>> sizes.
>
> This is unrelated. FS block size != sector size.

It is when you use a 4KB drive!!!!

> This discussion is about
> disk hardware sector size.
>

Right. But not every geek knows everything about every topic.
Thus, OP's question was valid.

>> Possibly also fsck.
>
> fsck is ignorant of hw sector size.
>

I thought so.

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C2F912E.9000208(a)cox.net