LinHES Forums
http://forum.linhes.org/

Block size for a 1.03TB LVM partition
http://forum.linhes.org/viewtopic.php?f=6&t=10643
Page 1 of 1

Author:  kmkittre [ Tue Jun 27, 2006 4:32 pm ]
Post subject:  Block size for a 1.03TB LVM partition

I recently added a 400GB drive to my backend and the physical size of my LVM partition is now about 1TB. Like in the past, I followed the instructions on the wiki to add the new drive to the virtual group. When I was running the resize2fs I noticed that it said it was resizing it to 4k blocks. What I am wondering is if I should be using a larger block size with a partition this large. Would this improve performance? Can I do this without destroying the data in the partition and how do I do that?

thanks.

Author:  Atamido [ Thu Jun 29, 2006 10:02 am ]
Post subject: 

In theory, you should have a small performance using larger blocks when you doing large contiguous reads (like you would playing back a video). It also has the added advantage of decreasing the amount of fragmentation that occurs with deleting old videos and recording new ones (or recording two at the same time).

Ideally, you should have the OS, with smaller files, installed on a partition using the smallest block sizes, and the video files installed on a partition with the largest block sizes.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/