You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by cl...@163.com on 2012/07/04 11:28:36 UTC

xenserver how to guarantee remount nfs primary storage after reboot?

hi,all

xenserver how to guarantee remount nfs primary storage after reboot?

where is the info recorded?

thanks.

RE: xenserver how to guarantee remount nfs primary storage after reboot?

Posted by Anthony Xu <Xu...@citrix.com>.
Primary storage is a SR in XenServer, the info is saved in XenServer DB.

Try following,

1. get PBD uuid ( physical block device)
   xe sr-param-get uuid=d7a22e45-f860-157a-fa7c-db2e541c39d6 param-name=PBDs
 a2794f1c-7456-5ff6-ab9a-15ef5bcfdfe0
2. get PBD detail
xe pbd-param-list uuid=a2794f1c-7456-5ff6-ab9a-15ef5bcfdfe0 
uuid ( RO)                  : a2794f1c-7456-5ff6-ab9a-15ef5bcfdfe0
     host ( RO) [DEPRECATED]: ccaf9654-839c-4d9e-9e18-5773eb251582
             host-uuid ( RO): ccaf9654-839c-4d9e-9e18-5773eb251582
               sr-uuid ( RO): d7a22e45-f860-157a-fa7c-db2e541c39d6
         device-config (MRO): serverpath: /export/home/anthony/primary; server: 10.223.110.232
    currently-attached ( RO): true
          other-config (MRW):
3. you can see the nfs server ip and path.
4. you can the iscsi info the same way


Anthony




> -----Original Message-----
> From: yueluck@163.com [mailto:yueluck@163.com] On Behalf Of
> cloudstacks@163.com
> Sent: Wednesday, July 04, 2012 2:29 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: xenserver how to guarantee remount nfs primary storage after
> reboot?
> 
> hi,all
> 
> xenserver how to guarantee remount nfs primary storage after reboot?
> 
> where is the info recorded?
> 
> thanks.