linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Franck Routier (personnel)" <alci@mecadu.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Trim support on stripped volumes ?
Date: Tue, 24 May 2011 11:51:06 +0200	[thread overview]
Message-ID: <1306230666.2195.10.camel@franck-VPCCW2S1E> (raw)
In-Reply-To: <1306228823.2195.9.camel@franck-VPCCW2S1E>

I found this commit
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=7b76ec11fec40203836b488496d2df082d5b2022
that suggests it could work, but I'm not sure at all...

Franck


Le mardi 24 mai 2011 à 11:20 +0200, Franck Routier (personnel) a écrit :
> Hi,
> 
> I have set-up of server with 4 SSDs (OCZ Vertex 2) stripped using LVM.
> Logical volume has been created using the -i 4 option (iostat confirms
> that the 4 disks work in parallel when I write a file).
> 
> Ext4 fs is used on the volume, mounted with -discard option.
> 
> I am using kernel 2.6.38.
> 
> My question is : is there a chance that TRIM command makes its way to
> the disks through LVM ? I've read contradictory informations on the web
> and I'm sure this is the best place to ask.
> 
> My second question is : how would I make _sure_ it works ?
> I've found a way to do it with hdparm --fibmap and hdparm --read-sector
> here http://askubuntu.com/questions/18903/how-to-enable-trim
> 
> But I don't think this can work with LVM. Would there be a similar way
> to make sure it is working while using LVM ?
> 
> Thanks a lot,
> 
> Franck
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

  reply	other threads:[~2011-05-24  9:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-24  9:20 [linux-lvm] Trim support on stripped volumes ? Franck Routier (personnel)
2011-05-24  9:51 ` Franck Routier (personnel) [this message]
2011-05-24 13:14   ` Mike Snitzer
2011-05-25  8:11     ` Franck Routier (personnel)
2011-05-25 13:23       ` Mike Snitzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1306230666.2195.10.camel@franck-VPCCW2S1E \
    --to=alci@mecadu.org \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).