Livid
282.4D
550.63D
V2EX  ›  SSD

Samsung 840 Pro 512GB 在 mkfs.ext4 时需要加入什么特别参数么?

  •  
  •   Livid ·
    PRO
    · Jun 29, 2013 · 5895 views
    This topic created in 4720 days ago, the information mentioned may be changed or developed.
    4 replies    1970-01-01 08:00:00 +08:00
    ihacku
        1
    ihacku  
       Jun 29, 2013
    之前在mailing list看到这个 可以参考一下
    https://www.redhat.com/archives/dm-devel/2013-April/msg00068.html
    不过也要看应用场景的 读多还是写多 是否搭配机械硬盘 选的哪种cache手段 EnhanceIO,Bcache 还是什么
    karbon
        2
    karbon  
       Jun 29, 2013
    根據Arch Wiki< https://wiki.archlinux.org/index.php/SSD#Enable_TRIM_With_mkfs.ext4_or_tune2fs_.28Discouraged.29 >,discard指令現在都是建議掛載的時候再加進去了;
    tititake
        3
    tititake  
       Jul 28, 2013 via Android
    分区对齐就好,mkfs不需要特别参数,挂载时用discard或参数者定时执行fstrim
    tarsier
        4
    tarsier  
       Jul 28, 2013 via Android
    单对ext4系统而言,我觉得可以减少默认保留的inode数,以及每个inode对应1兆大小磁盘空间。可以省出几g空间
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1724 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 5414617a · 43ms · UTC 16:18 · PVG 00:18 · LAX 09:18 · JFK 12:18
    ♥ Do have faith in what you're doing.