Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Wed, Jan 08, 2014 at 09:56:19PM +0900, trex wrote: > I built HA iSCSI targets with ocfs2+dual primary.(Ubuntu 13.04) > Each node has SSD raid with mdadm level0. > few days later, ocfs2 became frozen sometimes. > I figured out that it happens without TRIM. > But, I couldn't TRIM ssd raid because ocfs2 only supports offline TRIM(fstrim) and drbd 8.4.4 only supports online TRIM(discard). > Then, HOW CAN I TRIM SSDs on DRBD+OCFS2? Uhm, to the linux block layer (including DRBD), there is no difference between what you call "online" or "offline" here. And whether you call it trim or discard or unmap, again, to the linux block layer, it is all the same thing. The differences are implementation details in the low level hardware drivers (scsi, fusion, etc.) Did you actually try it? What happened? Error message? Logs? Are you sure your SSD *and* MD properly support and propagate the discard capabilities and requests? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. __ please don't Cc me, but send to list -- I'm subscribed