I
I
Ivan2019-10-09 13:34:27
CentOS
Ivan, 2019-10-09 13:34:27

Do I need to increase the size of the logical sector?

Should I increase the size of the logical sector of the disk to the size of the physical sector? I connected the disk to the system, I check it sudo fsck /dev/vdb1 writes:

Disk /dev/vdb: 5368 MB, 5368709120 bytes, 10485760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x3bb55742

If necessary, how to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2019-10-09
@saboteur_kiev

If you have a small boot partition with ext2, then there is no point in bothering.
If you have a high-load server, then it makes sense.
If you have a home car - whatever you want.
4k size on physical discs has been the standard since 2011. If the logical and physical sizes are the same, IO improves.

P
Puma Thailand, 2019-10-10
@opium

if the last centos is not necessary

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question