我想知道什么是最好的文件系统配置三星 SSD 830在我的笔记本电脑(Asus U33JC)上安装全新的 Ubuntu 12.04。我见过有人建议使用 RAID 配置,但我不知道从哪里开始。
答案1
答案2
要启用丢弃,您应该修改 /etc/fstab 文件。使用两个 SSD 进行全新安装后,我的系统如下所示:
# / was on /dev/sda2 during installation
UUID=bd379bf3-bb3a-4c0e-a7e0-c6545903eb26 / ext4 noatime,discard 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=3AE5-1A3B /boot/efi vfat defaults 0 1
# /data/large was on /dev/sda6 during installation
UUID=69c10986-d12f-47d1-a90d-8c8b07909b4b /data/large ext4 noatime,discard 0 2
# /data/medium was on /dev/sdb2 during installation
UUID=e9c90115-6530-4866-b43c-8084d87769e1 /data/medium ext4 noatime,discard 0 2
# /data/small was on /dev/sda3 during installation
UUID=e22f25a0-b8de-48dd-8799-b525f2afadff /data/small ext4 noatime,discard 0 2
# /home was on /dev/sda1 during installation
UUID=8e2e8638-2098-4282-9a33-9d32db0932b7 /home ext4 noatime,discard 0 2
noatime 意味着当您打开文件时它不会更新“最后访问时间”,从而节省一些额外的写入。