Created
March 27, 2012 03:56
-
-
Save semind/2212390 to your computer and use it in GitHub Desktop.
Linux全般
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 2TB以上のHDDを使う場合。partedコマンドでMBRではなくGPTを利用するようにする。 | |
ex) 3TBのディスクの場合 | |
# parted /dev/XXX | |
(parted) mklabel gpt | |
(parted) mkpart | |
Partition name? []? | |
File system type? [ext2]? ext4 | |
Start? 1 | |
End? 3001GB | |
### write cache確認 & 有効化 | |
hdparm -I /dev/sda | grep -i write # 確認 | |
hdparm -W1 /dev/sda # 有効化 | |
### inodeをmkfs時に増やす (-iの値は何byteごとにinodeを作るか、-iの値を小さくするとMax値が増える) | |
mkfs.ext4 -i 8192 /dev/sda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment