Re: TRIM support with XFS

2013-07-05 Thread Stan Hoeppner
On 7/5/2013 2:07 AM, John Andreasson wrote: > On Mon, Jul 1, 2013 at 12:05 AM, Stan Hoeppner wrote: >> Hmm... >> >> Last thing to try is rootflags. To your kernel line in menu.lst add >> >> root=/dev/sdXX rootflags=discard ro > > Thanks. I tried that as well but it still doesn't work. > > Just

Re: TRIM support with XFS

2013-07-05 Thread John Andreasson
On Mon, Jul 1, 2013 at 12:05 AM, Stan Hoeppner wrote: > Hmm... > > Last thing to try is rootflags. To your kernel line in menu.lst add > > root=/dev/sdXX rootflags=discard ro Thanks. I tried that as well but it still doesn't work. Just to be sure I created a file with random data, read the sect

Re: TRIM support with XFS

2013-06-30 Thread Stan Hoeppner
On 6/29/2013 11:45 PM, John Andreasson wrote: > On Sun, Jun 30, 2013 at 1:47 AM, Stan Hoeppner wrote: >> Post the XFS mount entry(s) in dmesg and any errors. > > [2.119489] SGI XFS with ACLs, security attributes, realtime, large > block/inode numbers, no debug enabled > [2.119716] SGI XFS

Re: TRIM support with XFS

2013-06-29 Thread John Andreasson
On Sun, Jun 30, 2013 at 1:47 AM, Stan Hoeppner wrote: > Post the XFS mount entry(s) in dmesg and any errors. [2.119489] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled [2.119716] SGI XFS Quota Management subsystem [2.120753] XFS (sda2): Mo

Re: TRIM support with XFS

2013-06-29 Thread Stan Hoeppner
On 6/29/2013 6:17 PM, Stan Hoeppner wrote: > Please keep replies on list. > > On 6/29/2013 3:57 PM, John Andreasson wrote: > >> /dev/disk/by-uuid/---- / xfs >> rw,noatime,attr2,delaylog,noquota 0 0 > > Post the XFS mount entry(s) in dmesg and any errors. > >> Doe

Re: TRIM support with XFS

2013-06-29 Thread Stan Hoeppner
Please keep replies on list. On 6/29/2013 3:57 PM, John Andreasson wrote: > /dev/disk/by-uuid/---- / xfs > rw,noatime,attr2,delaylog,noquota 0 0 Post the XFS mount entry(s) in dmesg and any errors. > Doesn't look promising. The mount options in /etc/fstab is > de

Re: TRIM support with XFS

2013-06-29 Thread John Andreasson
On Sat, Jun 29, 2013 at 10:17 PM, Stan Hoeppner wrote: > Mount is miserly on the info it gives you. Post the output of > ~$ cat /proc/mounts > rootfs / rootfs rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 udev /dev devtmpfs rw,rel

Re: TRIM support with XFS

2013-06-29 Thread green
John Andreasson wrote at 2013-06-29 13:46 -0500: > So my question is: Does TRIM work with XFS in Wheezy and what should I do > to use it? See . Add the 'discard' mount option in /etc/fstab. I suppose, to trim all old eraseable blocks, you should also remo

Re: TRIM support with XFS

2013-06-29 Thread Stan Hoeppner
On 6/29/2013 1:46 PM, John Andreasson wrote: > Hello. > > I have a question about XFS and TRIM on SSD. I'm unable to determine if I > can use it in Debian 7.1. I have searched the documentation and found > positive information on ext4, but not on XFS. > > Just to test I installed Wheezy on a Thin

Re: TRIM support with XFS

2013-06-29 Thread Christoph Anton Mitterer
No... what you mean is alignment... and that is not only dependant on the partitions..but every block layer from the file system to the physical medium. TRIM depends on support from all the layers as well... from the fs to the physical medium, including LVM, RAID or dmcrypt. Chris. "Hans-J.

Re: TRIM support with XFS

2013-06-29 Thread John Andreasson
On Saturday, June 29, 2013, Hans-J. Ullrich wrote: > > as far as I know, the partitions will be correct created by debian. > Trimmings > is not a problem of the filesystem, but of partitioning. So, you can either > partitition with debian (whhezy or higher), or you can also use a > live-file cd > l

Re: TRIM support with XFS

2013-06-29 Thread Hans-J. Ullrich
> So my question is: Does TRIM work with XFS in Wheezy and what should I do > to use it? > > John Hi John, as far as I know, the partitions will be correct created by debian. Trimmings is not a problem of the filesystem, but of partitioning. So, you can either partitition with debian (whhezy

TRIM support with XFS

2013-06-29 Thread John Andreasson
Hello. I have a question about XFS and TRIM on SSD. I'm unable to determine if I can use it in Debian 7.1. I have searched the documentation and found positive information on ext4, but not on XFS. Just to test I installed Wheezy on a ThinkPad equipped with an SSD and picked XFS as the root file s