proper newfs options for SSD disk
Warren Block
wblock at wonkity.com
Fri May 25 21:12:55 UTC 2012
On Fri, 25 May 2012, Matthias Apitz wrote:
> Talking about another question, related to file systems on SSD:
>
> My netbook with the two SSD has file systems mounted as:
>
> $ df -kh
> Filesystem Size Used Avail Capacity Mounted on
> /dev/ada0s1a 3.7G 567M 3.1G 15% /
> /dev/ada1s1a 14G 8.7G 5.9G 60% /usr/local
> /dev/md0 125M 88k 115M 0% /tmp
>
> Below /usr/local is also my (one and only) HOME dir;
>
> I'm on the way to reinstall all with 10-CURRENT and I'd like to crypt the
> partition /dev/ada1s1a with geli(8).
>
> Any objections against running geli(8) on SSD?
Not that I know of. The encryption happens before the write, so it
won't (shouldn't) cause any extra writes. Be prepared for a performance
drop. If you have a CPU with AESNI, it helps.
> Should I split /dev/ada1 into two separate partitions, one for real
> /usr/local and one for my HOME and only crypt this with geli(8)?
Hard to say, but I think that encrypting only the necessary data would
be better for netbooks with relatively slow CPUs.
More information about the freebsd-hackers
mailing list