Mailing List Archive

Error Introducing Metadata Volume:5
Hi there,

I did a fresh install of my Xenserver 6.2 and I can't reattach a second
local storage disk. After running all those comands ( sr-introduce,
pbd-create, pbd-plug ) all went fine, but when I try a rescan from
xencenter it shows this error: "Error in metadata volume operation for SR"

Here's a log snippet of the error:
"Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET
0.0.0.0:80|sm_exec D:de8b15aee69e|dispatcher] Server_helpers.exec
exception_handler: Got exception SR_BACKEND_FAILURE_181: [. ; Error in
Metadata volume operation for SR. [opterr=Error introducing Metadata
Volume: 5]; ]
Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET
0.0.0.0:80|sm_exec D:de8b15aee69e|dispatcher] Raised at string.ml:150.25-34
-> stringext.ml:108.13-29
Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET
0.0.0.0:80|sm_exec D:de8b15aee69e|backtrace] Raised at string.ml:150.25-34
-> stringext.ml:108.13-29
Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET
0.0.0.0:80|sm_exec D:de8b15aee69e|xapi] Raised at server_helpers.ml:94.14-15
-> pervasiveext.ml:22.2-9
Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET
0.0.0.0:80|sm_exec D:de8b15aee69e|xapi] Raised at pervasiveext.ml:26.22-25
-> pervasiveext.ml:22.2-9
Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET
0.0.0.0:80|SR.scan D:76bf2341c6c1|xapi] Raised at pervasiveext.ml:26.22-25
-> pervasiveext.ml:22.2-9
Nov 1 19:17:49 xenserver-storage xapi: [error|xenserver-storage|393 INET
0.0.0.0:80|SR.scan D:76bf2341c6c1|storage_access] SR.scan failed
SR:OpaqueRef:b31f09a0-0067-d3c7-4628-bf75790cba17
code=SR_BACKEND_FAILURE_181 params=[.; Error in Metadata volume operation
for SR. [opterr=Error introducing Metadata Volume: 5]; ]"

Thanks for any help!

--

Alejandro Flores
Office: 81 4062-9805
Mobile: 81 8186-9432
http://www.triforsec.com.br/
http://www.dialtelecom.com.br/
Re: Error Introducing Metadata Volume:5 [ In reply to ]
Hi,


On Nov 1, 2014, at 10:31 PM, Alejandro Flores <alejandrorflores@gmail.com<mailto:alejandrorflores@gmail.com>> wrote:

Hi there,

I did a fresh install of my Xenserver 6.2 and I can't reattach a second local storage disk. After running all those comands ( sr-introduce, pbd-create, pbd-plug ) all went fine, but when I try a rescan from xencenter it shows this error: "Error in metadata volume operation for SR"

Here's a log snippet of the error:
"Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET 0.0.0.0:80|sm_exec D:de8b15aee69e|dispatcher] Server_helpers.exec exception_handler: Got exception SR_BACKEND_FAILURE_181: [. ; Error in Metadata volume operation for SR. [opterr=Error introducing Metadata Volume: 5]; ]

This error comes from the storage manager. Have a look in the SMlog -- there might be more detail in there, possibly including a backtrace which should help identify the root cause.

I think the "metadata volume" refers to the LVM LV with the name "MGT" which is used to store internal state. Is the SR is completely full or read-only?

Cheers,
Dave

Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET 0.0.0.0:80|sm_exec D:de8b15aee69e|dispatcher] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET 0.0.0.0:80|sm_exec D:de8b15aee69e|backtrace] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET 0.0.0.0:80|sm_exec D:de8b15aee69e|xapi] Raised at server_helpers.ml:94.14-15 -> pervasiveext.ml:22.2-9
Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET 0.0.0.0:80|sm_exec D:de8b15aee69e|xapi] Raised at pervasiveext.ml:26.22-25 -> pervasiveext.ml:22.2-9
Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET 0.0.0.0:80|SR.scan D:76bf2341c6c1|xapi] Raised at pervasiveext.ml:26.22-25 -> pervasiveext.ml:22.2-9
Nov 1 19:17:49 xenserver-storage xapi: [error|xenserver-storage|393 INET 0.0.0.0:80|SR.scan D:76bf2341c6c1|storage_access] SR.scan failed SR:OpaqueRef:b31f09a0-0067-d3c7-4628-bf75790cba17 code=SR_BACKEND_FAILURE_181 params=[.; Error in Metadata volume operation for SR. [opterr=Error introducing Metadata Volume: 5]; ]"

Thanks for any help!

--

Alejandro Flores
Office: 81 4062-9805
Mobile: 81 8186-9432
http://www.triforsec.com.br/
http://www.dialtelecom.com.br/
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org<mailto:Xen-api@lists.xen.org>
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
Re: Error Introducing Metadata Volume:5 [ In reply to ]
Hi Dave!

You're wright! The problem with this error is because the VG was full and
xenserver couldn't create the MGT LV on it.
This VG has 10TB and we have created 5 disks of 2TB, so it's full. But,
after we have corrected this error and introduced and pluged this SR, I
can't see my VMs! It doesn't show any of my 5 disks. But, looking at the
status tab of this storage it shows 10TB used.

Where are my vm disks? :)

Thanks!

On Sat, Nov 1, 2014 at 8:25 PM, Dave Scott <Dave.Scott@citrix.com> wrote:

> Hi,
>
>
> On Nov 1, 2014, at 10:31 PM, Alejandro Flores <alejandrorflores@gmail.com>
> wrote:
>
> Hi there,
>
> I did a fresh install of my Xenserver 6.2 and I can't reattach a second
> local storage disk. After running all those comands ( sr-introduce,
> pbd-create, pbd-plug ) all went fine, but when I try a rescan from
> xencenter it shows this error: "Error in metadata volume operation for SR"
>
> Here's a log snippet of the error:
> "Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET
> 0.0.0.0:80|sm_exec D:de8b15aee69e|dispatcher] Server_helpers.exec
> exception_handler: Got exception SR_BACKEND_FAILURE_181: [. ; Error in
> Metadata volume operation for SR. [opterr=Error introducing Metadata
> Volume: 5]; ]
>
>
> This error comes from the storage manager. Have a look in the SMlog --
> there might be more detail in there, possibly including a backtrace which
> should help identify the root cause.
>
> I think the "metadata volume" refers to the LVM LV with the name "MGT"
> which is used to store internal state. Is the SR is completely full or
> read-only?
>
> Cheers,
> Dave
>
> Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393
> INET 0.0.0.0:80|sm_exec D:de8b15aee69e|dispatcher] Raised at string.ml:150.25-34
> -> stringext.ml:108.13-29
> Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET
> 0.0.0.0:80|sm_exec D:de8b15aee69e|backtrace] Raised at string.ml:150.25-34
> -> stringext.ml:108.13-29
> Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET
> 0.0.0.0:80|sm_exec D:de8b15aee69e|xapi] Raised at server_helpers.ml:94.14-15
> -> pervasiveext.ml:22.2-9
> Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET
> 0.0.0.0:80|sm_exec D:de8b15aee69e|xapi] Raised at pervasiveext.ml:26.22-25
> -> pervasiveext.ml:22.2-9
> Nov 1 19:17:49 xenserver-storage xapi: [debug|xenserver-storage|393 INET
> 0.0.0.0:80|SR.scan D:76bf2341c6c1|xapi] Raised at pervasiveext.ml:26.22-25
> -> pervasiveext.ml:22.2-9
> Nov 1 19:17:49 xenserver-storage xapi: [error|xenserver-storage|393 INET
> 0.0.0.0:80|SR.scan D:76bf2341c6c1|storage_access] SR.scan failed
> SR:OpaqueRef:b31f09a0-0067-d3c7-4628-bf75790cba17
> code=SR_BACKEND_FAILURE_181 params=[.; Error in Metadata volume operation
> for SR. [opterr=Error introducing Metadata Volume: 5]; ]"
>
> Thanks for any help!
>
> --
>
> Alejandro Flores
> Office: 81 4062-9805
> Mobile: 81 8186-9432
> http://www.triforsec.com.br/
> http://www.dialtelecom.com.br/
>
> _______________________________________________
> Xen-api mailing list
> Xen-api@lists.xen.org
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>
>


--

Alejandro Flores
Office: 81 4062-9805
Mobile: 81 8186-9432
http://www.triforsec.com.br/
http://www.dialtelecom.com.br/