WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Local Caching Q

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Local Caching Q
From: Evan Sarmiento <esarmiento@xxxxxxxxxxxxx>
Date: Thu, 14 Jul 2011 15:58:26 -0400
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Thu, 14 Jul 2011 13:00:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcxCYGS3caU1P/KaSpCRuYIDVI6aTQ==
Thread-topic: Local Caching Q

I enabled local caching by performing the following—

 

   xe sr-create name-label=LocalCache type=ext  device-config:device=/dev/disk/by-id/scsi-3600508e000000000112eee24192d3105-part4

   xe host-enable-local-storage-caching host=ccb23b66-8f51-4966-9491-e836c8203df6 sr-uuid=4c4e838d-5be9-361c-844f-f4d948a3902c

   xe host-enable

 

In df, I can see:

/dev/mapper/XSLocalEXT--4c4e838d--5be9--361c--844f--f4d948a3902c-4c4e838d--5be9--361c--844f--f4d948a3902c

                      61616140    184272  58301912   1% /var/run/sr-mount/4c4e838d-5be9-361c-844f-f4d948a3902c

 

For good measure, I turned off a VM I was running, and on it’s VDI performed the following operation-

xe vdi-param-set uuid=82da6cd2-c65f-4b18-826d-e2f1abec195e allow-caching=true

 

This VM is on an LVM-over-ISCSI SR.

 

Now, when I start it up, I do not see the usage increase on the LocalCache (/var/run/sr-mount/4c4e838d-5be9-361c-844f-f4d948a3902c) increase whatsoever. How do I know if it’s even being used?

 

Yours,

Evan

 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Local Caching Q, Evan Sarmiento <=