[問題] Partition misaligned

看板Linux作者 (qqaa)時間14年前 (2010/04/25 11:12), 編輯推噓2(201)
留言3則, 2人參與, 最新討論串1/5 (看更多)
作業系統是 ubuntu 10.04,我有一顆SATA的硬碟,分割成: /dev/sda /dev/sda1/ --> mount at / bootable ( ext4 ) /dev/sda2/ --> Extended 在 Disk Utility 中出現 The partition is misaligned by 512 bytes /dev/sda5 --> mount at /home ( ext4 ) misaligned by 1024 bytes /dev/sda6 --> swap misaligned by 2560 bytes 我有試過用 liveUsb 開機執行 fsck 但他只有回報 clean, 我也試過將 /dev/sda2 和他下面的磁區重割一次,(用liveUSB下的GParted) 還是一樣的狀況,雖然目前用起來還正常, 但他有警告可能會讓效率下降,因此想要試著調整他。 請問還有什麼方法可以用嗎? (或是我的方法根本就錯了??) 還是這是 Disk Utility 的假警報,像之前的 bad section 一樣? 感謝大家的幫忙。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.153.111

04/25 12:03, , 1F
你的硬碟是4k-sector的嗎?
04/25 12:03, 1F

04/25 12:14, , 2F
sda1和sda2可能佔到重覆的磁柱了,用fdisk列出來看看
04/25 12:14, 2F
Device Boot Start End Blocks Id System /dev/sda1 * 1 6079 48828416 83 Linux /dev/sda2 6080 38913 263739105 5 Extended Partition 2 does not start on physical sector boundary. /dev/sda5 6080 38260 258493851 83 Linux Partition 5 does not start on physical sector boundary. /dev/sda6 38261 38913 5245191 82 Linux swap / Solaris Partition 6 does not start on physical sector boundary. 看起來是 sda1 沒有結束在 physical sector boundary 進而導致後來的partition 沒有對齊嗎? ※ 編輯: stimim 來自: 61.228.153.111 (04/25 12:49)

04/25 14:05, , 3F
fdisk平常用的是16065sector/track 可是你的HD可能是用4k-sec
04/25 14:05, 3F
文章代碼(AID): #1BqxCCRS (Linux)
文章代碼(AID): #1BqxCCRS (Linux)