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 m

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. > > http://bugs.debian.org/648868 > agree with you, while > http://wilmer.gaa.st/blog/archives/72

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. http://bugs.debian.org/64

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 preferra

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 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 with SSD,

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

2012-11-02 Thread Philipp Kern
On Fri, Nov 02, 2012 at 11:58:49AM +0100, Cyril Brulebois wrote: > From a quick read of the thread: [...] > - it probably should be auto-detected/auto-enabled when appropriate. Yep, that should be the way to go. And sometimes it wouldn't even be enough to add the flag to fstab, given that you als

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

2012-11-02 Thread Cyril Brulebois
Miguel Figueiredo (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 fstab d

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. https://lists.debian.org/debian-bo

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 Bigonvill