高度なファイルシステムパーティションに問題がありますか?

高度なファイルシステムパーティションに問題がありますか?

最近、私のRAIDのドライブの1つに障害が発生し、新しいドライブと交換しようとしています。使ったこの回答再同期のために古いドライブのパーティションをミラーリングします。しかし、私の興味は出力です。私のドライブは4kセクターです。最初は何か間違っていましたか?

Checking that no-one is using this disk right now ...
OK
Warning: partition 1 does not end at a cylinder boundary
Warning: partition 2 does not start at a cylinder boundary
Warning: partition 2 does not end at a cylinder boundary
Warning: partition 3 does not start at a cylinder boundary 
Warning: partition 3 does not end at a cylinder boundary
Warning: partition 4 does not start at a cylinder boundary

Disk /dev/sda: 121601 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1   *      0+     12-     13-    102400   fd  Linux raid autodetect
/dev/sda2         12+   1318-   1306-  10485760   fd  Linux raid autodetect
/dev/sda3       1318+   2623-   1306-  10485760   fd  Linux raid autodetect
/dev/sda4       2623+ 121600  118978- 955685088+  fd  Linux raid autodetect
New situation:
Units = sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
/dev/sda1   *      2048    206847     204800  fd  Linux raid autodetect
/dev/sda2        206848  21178367   20971520  fd  Linux raid autodetect
/dev/sda3      21178368  42149887   20971520  fd  Linux raid autodetect
/dev/sda4      42149888 1953520064 1911370177  fd  Linux raid autodetect
Successfully wrote the new partition table

Re-reading the partition table ...
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)

ベストアンサー1

シリンダー境界で終わらないパーティションは、機密性の高いオペレーティングシステムとそのパーティションプログラムに影響を与える可能性があります。あなたのディスクにはLinuxパーティションしかないので、Linuxでのみ使用していると思います。

ディスクに4kBセクタがある場合、パーティションを4kBに合わせるとパフォーマンスが向上します。事後にこれを実装するのは困難でしたが、幸いなことに、すべてのパーティションにはすでに4kBのソートがありました。

おすすめ記事