国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 維修 > 硬盤 > 正文

ssd固態硬盤怎么分區合理!專家解答!

2022-04-16 19:18:58
字體:
來源:轉載
供稿:網友

ssd固態硬盤怎么分區合理!專家來給您ssd固態硬盤合理分區解答!

  224 heads (32*7)
  56 sectors per track (8*7)

  這樣每個柱面包含12544個扇區(256*49),每個磁道使用56個扇區,大小為56*512字節,即每磁道28762字節,這和每柱面4KB的7個塊是一樣的,因此每柱面4KB頁面的數量是一個整數,這樣任何分區

都是協調一致的,下面是如何實現這種效果的一個例子:

  [[email protected] ~]# fdisk -H 224 -S 56 /dev/sdd
  The number of cylinders for this disk is set to 9345.
  There is nothing wrong with that, but this is larger than 1024,
  and could in certain setups cause problems with:
  1) software that runs at boot time (e.g., old versions of LILO)
  2) booting and partitioning software from other OSs
  (e.g., dos FDISK, OS/2 FDISK)
  Command (m for help): n
  Command action
  e extended
  p primary partition (1-4)
  p
  Partition number (1-4): 1
  First cylinder (1-9345, default 1): 2
  Last cylinder or +size or +sizeM or +sizeK (2-9345, default 9345):
  Using default value 9345
  Command (m for help): w
  The partition table has been altered!
  Calling ioctl() to re-read partition table.
  Syncing disks.

  注意,我是從第二個柱面開始的,以保證分區/dev/sdd1從柱面邊界開始。

  可以在fdisk后面跟上“-l”參數檢查分區。

  [[email protected] ~]# fdisk -l /dev/sdd
  Disk /dev/sdd: 60.0 GB, 60022480896 bytes
  224 heads, 56 sectors/track, 9345 cylinders
  Units = cylinders of 12544 * 512 = 6422528 bytes
  Device Boot Start End Blocks Id System
  /dev/sdd1 2 9345 58605568 83 Linux

  我們也可以使用“-lu”參數查看扇區的數量。

  [[email protected] ~]# fdisk -lu /dev/sdd
  Disk /dev/sdd: 60.0 GB, 60022480896 bytes
  224 heads, 56 sectors/track, 9345 cylinders, total 117231408 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Device Boot Start End Blocks Id System
  /dev/sdd1 12544 117223679 58605568 83 Linux

  分區從12544扇區(256*9)開始,在設備的末尾結束。

  在OCZ技術社區有人提供了另一種建議,使用的幾何參數略有不同。

  32 heads
  32 sectors per track

  這樣每柱面包含1024個扇區(32*32),512字節大小的扇區形成512KB的柱面(每柱面128個4KB頁面),還是以/dev/sdd為例,這種幾何劃分法的命令如下:

  [[email protected] ~]# fdisk -H 32 -S 32 /dev/sdd
  The number of cylinders for this disk is set to 114483.
  There is nothing wrong with that, but this is larger than 1024,
  and could in certain setups cause problems with:
  1) software that runs at boot time (e.g., old versions of LILO)
  2) booting and partitioning software from other OSs
  (e.g., dos FDISK, OS/2 FDISK)
  Command (m for help): n
  Command action
  e extended
  p primary partition (1-4)
  p
  Partition number (1-4): 1
  First cylinder (1-114483, default 1): 2
  Last cylinder or +size or +sizeM or +sizeK (2-114483, default 114483):
  Using default value 114483
  Command (m for help): w
  The partition table has been altered!
  Calling ioctl() to re-read partition table.
  Syncing disks.

  Fdisk加上“-l”參數可以檢查分區。

  [[email protected] ~]# fdisk -l /dev/sdd
  Disk /dev/sdd: 60.0 GB, 60022480896 bytes
  32 heads, 32 sectors/track, 114483 cylinders
  Units = cylinders of 1024 * 512 = 524288 bytes
  Device Boot Start End Blocks Id System
  /dev/sdd1 2 114483 58614784 83 Linux

  注意,這種幾何劃分方法的“單位”是512KB(524288字節),它比第一種方法的柱面數更多,我們可以使用fdisk –lu命令查看扇區布局。

  [[email protected] ~]# fdisk -lu /dev/sdd
  Disk /dev/sdd: 60.0 GB, 60022480896 bytes
  32 heads, 32 sectors/track, 114483 cylinders, total 117231408 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Device Boot Start End Blocks Id System
  /dev/sdd1 1024 117230591 58614784 83 Linux

  注意,我們從扇區1024開始,使用512字節的扇區,意味著分區匹配512KB。

  哪種方式最好讓SSD固態硬盤分區合理呢?曉龍編輯(www.survivalescaperooms.com)認為這取決于許多因素,特別是SSD的內部結構和固件工作原理,假如您不打算給你的SSD分區,如使用整個設備作為一個分區,

那么你不需要擔心這些問題,但如果你打算分區,這兩個方法你就得選擇一個,最重要的一條原則是,確保分區和邊界保持對齊,這樣有助于發揮SSD的性能,并延長它的使用SSD固態硬盤的壽命。

 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 永济市| 康乐县| 盈江县| 屏东县| 泸定县| 商水县| 交口县| 云梦县| 四会市| 台南市| 陈巴尔虎旗| 麻栗坡县| 丽水市| 手机| 定陶县| 齐河县| 大姚县| 得荣县| 布尔津县| 南昌市| 肃北| 喀喇沁旗| 新巴尔虎左旗| 铜山县| 贡觉县| 玉溪市| 连城县| 蚌埠市| 余江县| 南江县| 绿春县| 类乌齐县| 永昌县| 北海市| 镇赉县| 西乌珠穆沁旗| 盐源县| 磴口县| 柏乡县| 揭西县| 扎囊县|