LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Partition 2 does not start on physical sector boundary (https://www.linuxquestions.org/questions/linux-newbie-8/partition-2-does-not-start-on-physical-sector-boundary-4175662432/)

feno 10-12-2019 10:06 AM

Partition 2 does not start on physical sector boundary
 
Hello,
I tried to restore the files my disk. What action should I do if I see the following? Thanks in advance.

It appears in red on the screen
Partition 2 does not start on physical sector boundary

Disque /dev/mapper/mint-vg-root : 464,3 GiB, 498530779136 octets, 973692928 secteurs
Unites : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/0 size (minimum/optimal): 4096 bytes / 4096 bytes

Disque /dev/mapper/mint--vg-swap_1 : 1012 MiB, 1061158912 octets, 2072576 secteurs
Unites : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/0 size (minimum/optimal): 4096 bytes / 4096 bytes

teckk 10-12-2019 10:33 AM

Don't have any idea what you have. How about posting the ouput of
Code:

fdisk -l
Or
Code:

parted -l
Basic info
https://wiki.archlinux.org/index.php/Partitioning

jsbjsb001 10-12-2019 10:46 AM

Quote:

Originally Posted by feno (Post 6046292)
Hello,
I tried to restore the files my disk. What action should I do if I see the following? Thanks in advance.

It appears in red on the screen
Partition 2 does not start on physical sector boundary

Disque /dev/mapper/mint-vg-root : 464,3 GiB, 498530779136 octets, 973692928 secteurs
Unites : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/0 size (minimum/optimal): 4096 bytes / 4096 bytes

Disque /dev/mapper/mint--vg-swap_1 : 1012 MiB, 1061158912 octets, 2072576 secteurs
Unites : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/0 size (minimum/optimal): 4096 bytes / 4096 bytes

From my understanding, it's nothing to really worry about.

If you do a search for that message, it basically means from my understanding that your disk uses Advanced Format, rather than the old CHS.

Here's some links if you want to read more about it;

https://www.serveradminblog.com/2014...ctor-boundary/
https://www.centos.org/forums/viewto...?t=3060#p16284
https://en.wikipedia.org/wiki/Advanced_Format
https://en.wikipedia.org/wiki/Cylinder-head-sector

JeremyBoden 10-12-2019 01:20 PM

It's caused by
Quote:

Sector size (logical/physical): 512 bytes / 4096 bytes
Your disk will physically read/write units of 4096 bytes, even though software can write units of only 512 bytes.
This can cause extra disk reads/writes.

It looks like you are using a LVM partitioning scheme - does your LVM container partition start on a multiple of 4096 bytes?
Check the output of
Code:

sudo fdisk -l


All times are GMT -5. The time now is 07:51 AM.