On Mon, May 05, 2008 at 12:14:22PM -0700, info-dtnet wrote: > > Hi, > > while looking around in google, if found a logfile > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467390, where the > iscsi LUN cache is enabled, read+write: > Feb 21 22:19:15 localhost kernel: sd 1:0:0:0: [sdc] Write cache: > enabled, read > cache: enabled, supports DPO and FUA > > My dmsg tells me a not enabled write-cache: > May 5 20:48:00 xen04 kernel: scsi190 : iSCSI Initiator over TCP/IP > May 5 20:48:01 xen04 iscsid: connection189:0 is operational now > May 5 20:48:02 xen04 kernel: scsi 190:0:0:0: Direct-Access > SUN SOLARIS 1 PQ: 0 ANSI: 5 > May 5 20:48:02 xen04 kernel: sd 190:0:0:0: [sdh] 10485726 512-byte > hardware sectors (5369 MB) > May 5 20:48:02 xen04 kernel: sd 190:0:0:0: [sdh] Write Protect is off > May 5 20:48:02 xen04 kernel: sd 190:0:0:0: [sdh] Write cache: > disabled, read cache: enabled, doesn't support DPO or FUA > May 5 20:48:02 xen04 kernel: sd 190:0:0:0: [sdh] 10485726 512-byte > hardware sectors (5369 MB) > May 5 20:48:02 xen04 kernel: sd 190:0:0:0: [sdh] Write Protect is off > May 5 20:48:02 xen04 kernel: sd 190:0:0:0: [sdh] Write cache: > disabled, read cache: enabled, doesn't support DPO or FUA > May 5 20:48:02 xen04 kernel: sdh: sdh1 > May 5 20:48:02 xen04 kernel: sd 190:0:0:0: [sdh] Attached SCSI disk > May 5 20:48:02 xen04 kernel: sd 190:0:0:0: Attached scsi generic sg11 > type 0 > M > Question: Who can i enable the cache ? hdparms does not work:
You can't. The disk firmware doesn't support it. Thought I wouldn't worry much about it as the iSCSI target (EqualLogic, NetApp, IBM, etc) will have a write/read cache - so the data is being cached and isn't synchronous I/O (unless you define it as so). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/open-iscsi -~----------~----~----~----~------~----~------~--~---
