Bug#690977: partman-auto: Add a way to add discard option to filesystems

2013-12-13 Thread Martin Pitt
Hey all, Petter Reinholdtsen [2013-08-12 13:04 +0200]: Hi. Instead of adding discard as a mount option in fstab, perhaps it is better to add a cron job calling fstrim regularly? Colin King did some rather extensive benchmarks, and we found that on desktops/servers this is indeed the

Bug#690977: partman-auto: Add a way to add discard option to filesystems

2013-12-13 Thread Petter Reinholdtsen
[Martin Pitt] * Set up cryptsetup to pass TRIM commands to the physical disk (adding discard to /etc/crypttab) That's allow-discards for the record. If that is the case, the crypttab(5) manual page is wrong in the cryptsetup version 2:1.4.3-4 package. URL:

Bug#690977: partman-auto: Add a way to add discard option to filesystems

2013-12-13 Thread Martin Pitt
Petter Reinholdtsen [2013-12-13 13:45 +0100]: That's allow-discards for the record. If that is the case, the crypttab(5) manual page is wrong in the cryptsetup version 2:1.4.3-4 package. URL: http://bugs.debian.org/648868 agree with you, while URL:

Bug#690977: partman-auto: Add a way to add discard option to filesystems

2013-12-13 Thread Petter Reinholdtsen
[Martin Pitt] Ah, I only tried with a non-system partition with cryptsetup luksOpen, where it is indeed --allow-discards. (I don't use crypttab myself). I found allow-discards in http://blog.christophersmart.com/2013/06/05/trim-on-lvm-on-luks-on-ssd/ but I guess I'd rather trust the manpage.

Bug#690977: partman-auto: Add a way to add discard option to filesystems

2013-08-12 Thread Petter Reinholdtsen
Hi. Instead of adding discard as a mount option in fstab, perhaps it is better to add a cron job calling fstrim regularly? In URL: http://people.skolelinux.org/pere/blog/How_to_fix_a_Thinkpad_X230_with_a_broken_180_GB_SSD_disk.html I described a deb ssd-setup I created to set up a machine

Bug#690977: partman-auto: Add a way to add discard option to filesystems

2012-11-02 Thread Cyril Brulebois
Miguel Figueiredo el...@debianpt.org (20/10/2012): Em 19-10-2012 19:51, Laurent Bigonville escreveu: [...] SSD requires filesystems (ext{3,4}, swap,...) to be mounted with the discard option to send TRIM command to the underlying drive. It should be possible to add this option to the

Bug#690977: partman-auto: Add a way to add discard option to filesystems

2012-10-19 Thread Laurent Bigonville
Package: partman-auto Version: 104 Severity: wishlist Tags: d-i Hi, SSD requires filesystems (ext{3,4}, swap,...) to be mounted with the discard option to send TRIM command to the underlying drive. It should be possible to add this option to the fstab during install. Cheers Laurent Bigonville

Bug#690977: partman-auto: Add a way to add discard option to filesystems

2012-10-19 Thread Miguel Figueiredo
Em 19-10-2012 19:51, Laurent Bigonville escreveu: [...] SSD requires filesystems (ext{3,4}, swap,...) to be mounted with the discard option to send TRIM command to the underlying drive. It should be possible to add this option to the fstab during install.