差分
このページの2つのバージョン間の差分を表示します。
|
freebsd:freebsd_set_hpa_with_camcontrol [2017-08-29 21:35] Decomo 作成 |
freebsd:freebsd_set_hpa_with_camcontrol [2018-04-27 01:49] (現在) Decomo |
||
|---|---|---|---|
| 行 20: | 行 20: | ||
| // | // | ||
| - | |||
| - | HPAを無効にするには、-s 0とする。 | ||
| < | < | ||
| 行 53: | 行 51: | ||
| ada1: 439453MB (900000000 512 byte sectors) ←HPAが効いてる | ada1: 439453MB (900000000 512 byte sectors) ←HPAが効いてる | ||
| GEOM: ada1: the secondary GPT header is not in the last LBA. | GEOM: ada1: the secondary GPT header is not in the last LBA. | ||
| + | </ | ||
| + | |||
| + | ===== HPAを無効化する ===== | ||
| + | |||
| + | HPAを無効にするには、-sオプションにデバイスの最大セクタ数を与える。なんてことはない、デバイス全部をユーザー領域に指定するというだけ。 | ||
| + | |||
| + | < | ||
| + | # camcontrol hpa ada5 -s 937703088 -P | ||
| + | pass6: <INTEL SSDSC2BB480G4 D2012370> | ||
| + | pass6: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) | ||
| + | |||
| + | You are about to configure HPA to limit the user accessible | ||
| + | sectors to 937703088 persistently on the device: | ||
| + | pass6,ada5: <INTEL SSDSC2BB480G4 D2012370> | ||
| + | |||
| + | Are you SURE you want to configure HPA? (yes/no) yes | ||
| + | |||
| + | Feature | ||
| + | Host Protected Area (HPA) yes no 937703088/ | ||
| + | HPA - Security | ||
| </ | </ | ||