You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Prashant s <op...@gmail.com> on 2015/07/12 17:45:34 UTC

nfs storage issue on xenserver

Greetings !

need help with the NFS storage on xenserver .. ...

there was a network outage , Few of my xenservers rebooted, after the
reboot .. now

looks like i have storage mount path issue , i have duplicate sub folder
inside  sr-uuid directory.

*all my vhd files are inside /var/run/sr-mount/$sr-name/$sr-uuid/
directory. *

*i think the default path to the vhd files are - *
*/var/run/sr-mount/$sr-name/*


*questions 1 ) i dont know how the ** /var/run/sr-mount/$sr-name/$sr-uuid/
directory got created ? and how to fix it  *

*i can copy all the vhd files one level up. ... *



sr-uui is          *43144902-6d85-6122-b4ac-cf35ca5a57e1*
*sr-name is     **dc1xsv-c3u28*

# cd  */var/run/sr-mount/43144902-6d85-6122-b4ac-cf35ca5a57e1 *
# 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls
# *43144902-6d85-6122-b4ac-cf35ca5a57e1 *
# 43144902-6d85-6122-b4ac-cf35ca5a57e1]#

*all my vhd files are inside /var/run/sr-mount/$sr-name/$sr-uuid/*




[root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]# pwd
*/var/run/sr-mount/43144902-6d85-6122-b4ac-cf35ca5a57e1*
[root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls
*43144902-6d85-6122-b4ac-cf35ca5a57e1*
[root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]#

[iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$ *pwd*

*/data/cloud/dc1/az3/primary/dc1xsv-c3u28/43144902-6d85-6122-b4ac-cf35ca5a57e1*

[iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$


[iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$ ls -l

total 394755964

-rw-r--r--. 1 root root       46592 Aug 22  2014
02906cb7-696c-4cfb-a93e-6a4451184c6f.vhd

-rw-r--r--. 1 root root       15360 Nov  3  2014
0298fac4-02d1-41b6-94c5-ceeed536af5b.vhd

-rw-r--r--. 1 root root  2805178880 Jun 22 09:46
030e2d71-199b-41da-9307-bbf6e7957cf2.vhd

-rw-r--r--. 1 root root  3330691584 Dec 12  2014
038a323a-40e3-4d91-b95d-a47e051e8b3a.vhd

-rw-r--r--. 1 root root   334144000 Jun 17 13:51
03fab1dd-3721-455b-a823-61b6571e85bd.vhd

-rw-r--r--. 1 root root  3619192832 Jul 12 05:23
05640f30-9a25-4083-ba7c-1d36f447596f.vhd

-rw-r--r--. 1 root root      215552 Apr 16 08:35
05f2239e-d29c-4f1f-8593-51a3625a9058.vhd

-rw-r--r--. 1 root root       46592 Aug 22  2014
06360c7c-039b-4262-90a1-dbabb1149dac.vhd

-rw-r--r--. 1 root root       46592 Mar 23 21:00
0b4b8ac1-7c7a-4373-978d-6fe879261f32.vhd

-rw-r--r--. 1 root root       46592 Jun 19 14:59
0b6cb8d3-75a4-4778-8af0-c82da126b416.vhd

-rw-r--r--. 1 root root  1940717568 Aug 22  2014
0ff05e27-0d99-4bd7-8657-bb99117fdb2d.vhd

-rw-r--r--. 1 root root   998522880 Jul 12 05:24
1077a06a-4226-4dd8-a7e3-a8a3fd99970f.vhd

-rw-r--r--. 1 root root       14848 Jun 17 11:53
133576aa-5fea-4329-8454-84818ba77ecc.vhd

-rw-r--r--. 1 root root       46592 Jul 28  2014
1626f5c6-132d-4158-b973-6f2ee2cedb84.vhd

-rw-r--r--. 1 root root  5971788288 Aug 22  2014
1649b714-c288-4cec-a2f4-8377d3bb0be4.vhd

-rw-r--r--. 1 root root  4414734848 May 27 16:14
16e21e32-d3f4-4204-9541-860d14b914a3.vhd

-rw-r--r--. 1 root root   682909696 Jul 12 05:33
17d54a5d-f999-46be-9e4c-c2bc4a6eb43c.vhd

-rw-r--r--. 1 root root      214016 Aug 22  2014
19590f24-60b1-4b39-8b87-c41ff3f4c5b0.vhd

-rw-r--r--. 1 root root       15360 Jun 18 14:13
19d3c57b-45bd-4b8b-84f3-b0c82b8f1a65.vhd

-rw-r--r--. 1 root root 15831232512 Jul 12 05:23
1b4917df-a7a0-4cc7-ba1c-d9a32731004f.vhd

-rw-r--r--. 1 root root   626671616 Jul 12 05:24
1b7211df-555f-4a52-b67e-4565e8f6c7b2.vhd

-rw-r--r--. 1 root root       46592 Apr 16 08:35
1ee3f56d-276a-42f8-bcde-e67ce4916b18.vhd

-rw-r--r--. 1 root root  8264253952 Dec  8  2014
216008dd-c5b3-45c5-b31d-94c97d30da66.vhd

-rw-r--r--. 1 root root   241656320 Jun 17 13:51
23723337-fdcd-47f2-8a0f-0070b6c5d952.vh

Re: nfs storage issue on xenserver

Posted by Prashant s <op...@gmail.com>.
for example

if i  cd to /var/run/sr-mount/$sr-uuid/  , i find another directory with
$sr-uuid in it.
i dont see any VDI in the xencenter when i scan for VDI


[root@dc1xsv-c3u28n3 ~]# *cd
/var/run/sr-mount/43144902-6d85-6122-b4ac-cf35ca5a57e1/*
[root@dc1xsv-c3u28n3 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls
*43144902-6d85-6122-b4ac-cf35ca5a57e1*
[root@dc1xsv-c3u28n3 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls -l
total 16
drwxr-xr-x 2 root root 12288 Jul 12 08:11
43144902-6d85-6122-b4ac-cf35ca5a57e1
[root@dc1xsv-c3u28n3 43144902-6d85-6122-b4ac-cf35ca5a57e1]#


[root@dc1xsv-c3u28n3 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls -l
total 16
drwxr-xr-x 2 root root 12288 Jul 12 08:11
*43144902-6d85-6122-b4ac-cf35ca5a57e1*
[root@dc1xsv-c3u28n3 43144902-6d85-6122-b4ac-cf35ca5a57e1]#

i did not change anything , i dont know how the directory got created,

On Sun, Jul 12, 2015 at 11:45 AM, Prashant s <op...@gmail.com> wrote:

> Greetings !
>
> need help with the NFS storage on xenserver .. ...
>
> there was a network outage , Few of my xenservers rebooted, after the
> reboot .. now
>
> looks like i have storage mount path issue , i have duplicate sub folder
> inside  sr-uuid directory.
>
> *all my vhd files are inside /var/run/sr-mount/$sr-name/$sr-uuid/
> directory. *
>
> *i think the default path to the vhd files are - *
> */var/run/sr-mount/$sr-name/*
>
>
> *questions 1 ) i dont know how the ** /var/run/sr-mount/$sr-name/$sr-uuid/
> directory got created ? and how to fix it  *
>
> *i can copy all the vhd files one level up. ... *
>
>
>
> sr-uui is          *43144902-6d85-6122-b4ac-cf35ca5a57e1*
> *sr-name is     **dc1xsv-c3u28*
>
> # cd  */var/run/sr-mount/43144902-6d85-6122-b4ac-cf35ca5a57e1 *
> # 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls
> # *43144902-6d85-6122-b4ac-cf35ca5a57e1 *
> # 43144902-6d85-6122-b4ac-cf35ca5a57e1]#
>
> *all my vhd files are inside /var/run/sr-mount/$sr-name/$sr-uuid/*
>
>
>
>
> [root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]# pwd
> */var/run/sr-mount/43144902-6d85-6122-b4ac-cf35ca5a57e1*
> [root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls
> *43144902-6d85-6122-b4ac-cf35ca5a57e1*
> [root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]#
>
> [iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$ *pwd*
>
>
> */data/cloud/dc1/az3/primary/dc1xsv-c3u28/43144902-6d85-6122-b4ac-cf35ca5a57e1*
>
> [iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$
>
>
> [iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$ ls -l
>
> total 394755964
>
> -rw-r--r--. 1 root root       46592 Aug 22  2014
> 02906cb7-696c-4cfb-a93e-6a4451184c6f.vhd
>
> -rw-r--r--. 1 root root       15360 Nov  3  2014
> 0298fac4-02d1-41b6-94c5-ceeed536af5b.vhd
>
> -rw-r--r--. 1 root root  2805178880 Jun 22 09:46
> 030e2d71-199b-41da-9307-bbf6e7957cf2.vhd
>
> -rw-r--r--. 1 root root  3330691584 Dec 12  2014
> 038a323a-40e3-4d91-b95d-a47e051e8b3a.vhd
>
> -rw-r--r--. 1 root root   334144000 Jun 17 13:51
> 03fab1dd-3721-455b-a823-61b6571e85bd.vhd
>
> -rw-r--r--. 1 root root  3619192832 Jul 12 05:23
> 05640f30-9a25-4083-ba7c-1d36f447596f.vhd
>
> -rw-r--r--. 1 root root      215552 Apr 16 08:35
> 05f2239e-d29c-4f1f-8593-51a3625a9058.vhd
>
> -rw-r--r--. 1 root root       46592 Aug 22  2014
> 06360c7c-039b-4262-90a1-dbabb1149dac.vhd
>
> -rw-r--r--. 1 root root       46592 Mar 23 21:00
> 0b4b8ac1-7c7a-4373-978d-6fe879261f32.vhd
>
> -rw-r--r--. 1 root root       46592 Jun 19 14:59
> 0b6cb8d3-75a4-4778-8af0-c82da126b416.vhd
>
> -rw-r--r--. 1 root root  1940717568 Aug 22  2014
> 0ff05e27-0d99-4bd7-8657-bb99117fdb2d.vhd
>
> -rw-r--r--. 1 root root   998522880 Jul 12 05:24
> 1077a06a-4226-4dd8-a7e3-a8a3fd99970f.vhd
>
> -rw-r--r--. 1 root root       14848 Jun 17 11:53
> 133576aa-5fea-4329-8454-84818ba77ecc.vhd
>
> -rw-r--r--. 1 root root       46592 Jul 28  2014
> 1626f5c6-132d-4158-b973-6f2ee2cedb84.vhd
>
> -rw-r--r--. 1 root root  5971788288 Aug 22  2014
> 1649b714-c288-4cec-a2f4-8377d3bb0be4.vhd
>
> -rw-r--r--. 1 root root  4414734848 May 27 16:14
> 16e21e32-d3f4-4204-9541-860d14b914a3.vhd
>
> -rw-r--r--. 1 root root   682909696 Jul 12 05:33
> 17d54a5d-f999-46be-9e4c-c2bc4a6eb43c.vhd
>
> -rw-r--r--. 1 root root      214016 Aug 22  2014
> 19590f24-60b1-4b39-8b87-c41ff3f4c5b0.vhd
>
> -rw-r--r--. 1 root root       15360 Jun 18 14:13
> 19d3c57b-45bd-4b8b-84f3-b0c82b8f1a65.vhd
>
> -rw-r--r--. 1 root root 15831232512 Jul 12 05:23
> 1b4917df-a7a0-4cc7-ba1c-d9a32731004f.vhd
>
> -rw-r--r--. 1 root root   626671616 Jul 12 05:24
> 1b7211df-555f-4a52-b67e-4565e8f6c7b2.vhd
>
> -rw-r--r--. 1 root root       46592 Apr 16 08:35
> 1ee3f56d-276a-42f8-bcde-e67ce4916b18.vhd
>
> -rw-r--r--. 1 root root  8264253952 Dec  8  2014
> 216008dd-c5b3-45c5-b31d-94c97d30da66.vhd
>
> -rw-r--r--. 1 root root   241656320 Jun 17 13:51
> 23723337-fdcd-47f2-8a0f-0070b6c5d952.vh
>
>

Re: nfs storage issue on xenserver

Posted by Prashant s <op...@gmail.com>.
Hi Tim,

please find the version of cloudstack & xenserver

cloudstack - 4.4.2
xenserver - 6.2 sp1
primary storage : linux NFS server.

xenserver is great  works very well ,
this was the first issue i have had with xen ..since 2012 ......  i started
using with cloudstack  .. ,
this bug  was an easy fix though ....  ( but scary :-)  )


mysql> select * from version;

+----+---------+---------------------+----------+

| id | version | updated             | step     |

+----+---------+---------------------+----------+

|  1 | 4.0.0   | 2014-03-27 12:00:29 | Complete |

|  2 | 4.1.0   | 2014-03-27 16:01:28 | Complete |

|  3 | 4.2.0   | 2014-03-27 16:01:28 | Complete |

|  4 | 4.2.1   | 2014-07-22 18:30:06 | Complete |

|  5 | 4.3.0   | 2015-01-16 17:25:03 | Complete |

|  6 | 4.4.0   | 2015-01-16 17:25:03 | Complete |

|  7 | 4.4.1   | 2015-01-16 17:25:03 | Complete |

|  8 | 4.4.2   | 2015-01-16 17:25:04 | Complete |

+----+---------+---------------------+----------+

8 rows in set (0.00 sec)


mysql>

On Sun, Jul 12, 2015 at 9:12 PM, Tim Mackey <tm...@gmail.com> wrote:

> It would be good to get the version of both CloudStack and XenServer
> involved, as well as any hotfixes.  What you've described sounds very
> similar to an issue I understood to have been fixed quite some time ago.
>
> -tim
>
> On Sun, Jul 12, 2015 at 5:37 PM, Prashant s <op...@gmail.com> wrote:
>
> > this issue is resolved,
> >
> > i moved the directory one level up ..now every thing works great !
> > i wonder how the SR directory got renamed ....
> >
> > thanks
> > prashant
> >
> >
> >
> > On Sun, Jul 12, 2015 at 11:45 AM, Prashant s <op...@gmail.com>
> wrote:
> >
> > > Greetings !
> > >
> > > need help with the NFS storage on xenserver .. ...
> > >
> > > there was a network outage , Few of my xenservers rebooted, after the
> > > reboot .. now
> > >
> > > looks like i have storage mount path issue , i have duplicate sub
> folder
> > > inside  sr-uuid directory.
> > >
> > > *all my vhd files are inside /var/run/sr-mount/$sr-name/$sr-uuid/
> > > directory. *
> > >
> > > *i think the default path to the vhd files are - *
> > > */var/run/sr-mount/$sr-name/*
> > >
> > >
> > > *questions 1 ) i dont know how the **
> > /var/run/sr-mount/$sr-name/$sr-uuid/
> > > directory got created ? and how to fix it  *
> > >
> > > *i can copy all the vhd files one level up. ... *
> > >
> > >
> > >
> > > sr-uui is          *43144902-6d85-6122-b4ac-cf35ca5a57e1*
> > > *sr-name is     **dc1xsv-c3u28*
> > >
> > > # cd  */var/run/sr-mount/43144902-6d85-6122-b4ac-cf35ca5a57e1 *
> > > # 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls
> > > # *43144902-6d85-6122-b4ac-cf35ca5a57e1 *
> > > # 43144902-6d85-6122-b4ac-cf35ca5a57e1]#
> > >
> > > *all my vhd files are inside /var/run/sr-mount/$sr-name/$sr-uuid/*
> > >
> > >
> > >
> > >
> > > [root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]# pwd
> > > */var/run/sr-mount/43144902-6d85-6122-b4ac-cf35ca5a57e1*
> > > [root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls
> > > *43144902-6d85-6122-b4ac-cf35ca5a57e1*
> > > [root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]#
> > >
> > > [iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$ *pwd*
> > >
> > >
> > >
> >
> */data/cloud/dc1/az3/primary/dc1xsv-c3u28/43144902-6d85-6122-b4ac-cf35ca5a57e1*
> > >
> > > [iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$
> > >
> > >
> > > [iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$ ls -l
> > >
> > > total 394755964
> > >
> > > -rw-r--r--. 1 root root       46592 Aug 22  2014
> > > 02906cb7-696c-4cfb-a93e-6a4451184c6f.vhd
> > >
> > > -rw-r--r--. 1 root root       15360 Nov  3  2014
> > > 0298fac4-02d1-41b6-94c5-ceeed536af5b.vhd
> > >
> > > -rw-r--r--. 1 root root  2805178880 Jun 22 09:46
> > > 030e2d71-199b-41da-9307-bbf6e7957cf2.vhd
> > >
> > > -rw-r--r--. 1 root root  3330691584 Dec 12  2014
> > > 038a323a-40e3-4d91-b95d-a47e051e8b3a.vhd
> > >
> > > -rw-r--r--. 1 root root   334144000 Jun 17 13:51
> > > 03fab1dd-3721-455b-a823-61b6571e85bd.vhd
> > >
> > > -rw-r--r--. 1 root root  3619192832 Jul 12 05:23
> > > 05640f30-9a25-4083-ba7c-1d36f447596f.vhd
> > >
> > > -rw-r--r--. 1 root root      215552 Apr 16 08:35
> > > 05f2239e-d29c-4f1f-8593-51a3625a9058.vhd
> > >
> > > -rw-r--r--. 1 root root       46592 Aug 22  2014
> > > 06360c7c-039b-4262-90a1-dbabb1149dac.vhd
> > >
> > > -rw-r--r--. 1 root root       46592 Mar 23 21:00
> > > 0b4b8ac1-7c7a-4373-978d-6fe879261f32.vhd
> > >
> > > -rw-r--r--. 1 root root       46592 Jun 19 14:59
> > > 0b6cb8d3-75a4-4778-8af0-c82da126b416.vhd
> > >
> > > -rw-r--r--. 1 root root  1940717568 Aug 22  2014
> > > 0ff05e27-0d99-4bd7-8657-bb99117fdb2d.vhd
> > >
> > > -rw-r--r--. 1 root root   998522880 Jul 12 05:24
> > > 1077a06a-4226-4dd8-a7e3-a8a3fd99970f.vhd
> > >
> > > -rw-r--r--. 1 root root       14848 Jun 17 11:53
> > > 133576aa-5fea-4329-8454-84818ba77ecc.vhd
> > >
> > > -rw-r--r--. 1 root root       46592 Jul 28  2014
> > > 1626f5c6-132d-4158-b973-6f2ee2cedb84.vhd
> > >
> > > -rw-r--r--. 1 root root  5971788288 Aug 22  2014
> > > 1649b714-c288-4cec-a2f4-8377d3bb0be4.vhd
> > >
> > > -rw-r--r--. 1 root root  4414734848 May 27 16:14
> > > 16e21e32-d3f4-4204-9541-860d14b914a3.vhd
> > >
> > > -rw-r--r--. 1 root root   682909696 Jul 12 05:33
> > > 17d54a5d-f999-46be-9e4c-c2bc4a6eb43c.vhd
> > >
> > > -rw-r--r--. 1 root root      214016 Aug 22  2014
> > > 19590f24-60b1-4b39-8b87-c41ff3f4c5b0.vhd
> > >
> > > -rw-r--r--. 1 root root       15360 Jun 18 14:13
> > > 19d3c57b-45bd-4b8b-84f3-b0c82b8f1a65.vhd
> > >
> > > -rw-r--r--. 1 root root 15831232512 Jul 12 05:23
> > > 1b4917df-a7a0-4cc7-ba1c-d9a32731004f.vhd
> > >
> > > -rw-r--r--. 1 root root   626671616 Jul 12 05:24
> > > 1b7211df-555f-4a52-b67e-4565e8f6c7b2.vhd
> > >
> > > -rw-r--r--. 1 root root       46592 Apr 16 08:35
> > > 1ee3f56d-276a-42f8-bcde-e67ce4916b18.vhd
> > >
> > > -rw-r--r--. 1 root root  8264253952 Dec  8  2014
> > > 216008dd-c5b3-45c5-b31d-94c97d30da66.vhd
> > >
> > > -rw-r--r--. 1 root root   241656320 Jun 17 13:51
> > > 23723337-fdcd-47f2-8a0f-0070b6c5d952.vh
> > >
> > >
> >
>

Re: nfs storage issue on xenserver

Posted by Tim Mackey <tm...@gmail.com>.
It would be good to get the version of both CloudStack and XenServer
involved, as well as any hotfixes.  What you've described sounds very
similar to an issue I understood to have been fixed quite some time ago.

-tim

On Sun, Jul 12, 2015 at 5:37 PM, Prashant s <op...@gmail.com> wrote:

> this issue is resolved,
>
> i moved the directory one level up ..now every thing works great !
> i wonder how the SR directory got renamed ....
>
> thanks
> prashant
>
>
>
> On Sun, Jul 12, 2015 at 11:45 AM, Prashant s <op...@gmail.com> wrote:
>
> > Greetings !
> >
> > need help with the NFS storage on xenserver .. ...
> >
> > there was a network outage , Few of my xenservers rebooted, after the
> > reboot .. now
> >
> > looks like i have storage mount path issue , i have duplicate sub folder
> > inside  sr-uuid directory.
> >
> > *all my vhd files are inside /var/run/sr-mount/$sr-name/$sr-uuid/
> > directory. *
> >
> > *i think the default path to the vhd files are - *
> > */var/run/sr-mount/$sr-name/*
> >
> >
> > *questions 1 ) i dont know how the **
> /var/run/sr-mount/$sr-name/$sr-uuid/
> > directory got created ? and how to fix it  *
> >
> > *i can copy all the vhd files one level up. ... *
> >
> >
> >
> > sr-uui is          *43144902-6d85-6122-b4ac-cf35ca5a57e1*
> > *sr-name is     **dc1xsv-c3u28*
> >
> > # cd  */var/run/sr-mount/43144902-6d85-6122-b4ac-cf35ca5a57e1 *
> > # 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls
> > # *43144902-6d85-6122-b4ac-cf35ca5a57e1 *
> > # 43144902-6d85-6122-b4ac-cf35ca5a57e1]#
> >
> > *all my vhd files are inside /var/run/sr-mount/$sr-name/$sr-uuid/*
> >
> >
> >
> >
> > [root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]# pwd
> > */var/run/sr-mount/43144902-6d85-6122-b4ac-cf35ca5a57e1*
> > [root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls
> > *43144902-6d85-6122-b4ac-cf35ca5a57e1*
> > [root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]#
> >
> > [iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$ *pwd*
> >
> >
> >
> */data/cloud/dc1/az3/primary/dc1xsv-c3u28/43144902-6d85-6122-b4ac-cf35ca5a57e1*
> >
> > [iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$
> >
> >
> > [iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$ ls -l
> >
> > total 394755964
> >
> > -rw-r--r--. 1 root root       46592 Aug 22  2014
> > 02906cb7-696c-4cfb-a93e-6a4451184c6f.vhd
> >
> > -rw-r--r--. 1 root root       15360 Nov  3  2014
> > 0298fac4-02d1-41b6-94c5-ceeed536af5b.vhd
> >
> > -rw-r--r--. 1 root root  2805178880 Jun 22 09:46
> > 030e2d71-199b-41da-9307-bbf6e7957cf2.vhd
> >
> > -rw-r--r--. 1 root root  3330691584 Dec 12  2014
> > 038a323a-40e3-4d91-b95d-a47e051e8b3a.vhd
> >
> > -rw-r--r--. 1 root root   334144000 Jun 17 13:51
> > 03fab1dd-3721-455b-a823-61b6571e85bd.vhd
> >
> > -rw-r--r--. 1 root root  3619192832 Jul 12 05:23
> > 05640f30-9a25-4083-ba7c-1d36f447596f.vhd
> >
> > -rw-r--r--. 1 root root      215552 Apr 16 08:35
> > 05f2239e-d29c-4f1f-8593-51a3625a9058.vhd
> >
> > -rw-r--r--. 1 root root       46592 Aug 22  2014
> > 06360c7c-039b-4262-90a1-dbabb1149dac.vhd
> >
> > -rw-r--r--. 1 root root       46592 Mar 23 21:00
> > 0b4b8ac1-7c7a-4373-978d-6fe879261f32.vhd
> >
> > -rw-r--r--. 1 root root       46592 Jun 19 14:59
> > 0b6cb8d3-75a4-4778-8af0-c82da126b416.vhd
> >
> > -rw-r--r--. 1 root root  1940717568 Aug 22  2014
> > 0ff05e27-0d99-4bd7-8657-bb99117fdb2d.vhd
> >
> > -rw-r--r--. 1 root root   998522880 Jul 12 05:24
> > 1077a06a-4226-4dd8-a7e3-a8a3fd99970f.vhd
> >
> > -rw-r--r--. 1 root root       14848 Jun 17 11:53
> > 133576aa-5fea-4329-8454-84818ba77ecc.vhd
> >
> > -rw-r--r--. 1 root root       46592 Jul 28  2014
> > 1626f5c6-132d-4158-b973-6f2ee2cedb84.vhd
> >
> > -rw-r--r--. 1 root root  5971788288 Aug 22  2014
> > 1649b714-c288-4cec-a2f4-8377d3bb0be4.vhd
> >
> > -rw-r--r--. 1 root root  4414734848 May 27 16:14
> > 16e21e32-d3f4-4204-9541-860d14b914a3.vhd
> >
> > -rw-r--r--. 1 root root   682909696 Jul 12 05:33
> > 17d54a5d-f999-46be-9e4c-c2bc4a6eb43c.vhd
> >
> > -rw-r--r--. 1 root root      214016 Aug 22  2014
> > 19590f24-60b1-4b39-8b87-c41ff3f4c5b0.vhd
> >
> > -rw-r--r--. 1 root root       15360 Jun 18 14:13
> > 19d3c57b-45bd-4b8b-84f3-b0c82b8f1a65.vhd
> >
> > -rw-r--r--. 1 root root 15831232512 Jul 12 05:23
> > 1b4917df-a7a0-4cc7-ba1c-d9a32731004f.vhd
> >
> > -rw-r--r--. 1 root root   626671616 Jul 12 05:24
> > 1b7211df-555f-4a52-b67e-4565e8f6c7b2.vhd
> >
> > -rw-r--r--. 1 root root       46592 Apr 16 08:35
> > 1ee3f56d-276a-42f8-bcde-e67ce4916b18.vhd
> >
> > -rw-r--r--. 1 root root  8264253952 Dec  8  2014
> > 216008dd-c5b3-45c5-b31d-94c97d30da66.vhd
> >
> > -rw-r--r--. 1 root root   241656320 Jun 17 13:51
> > 23723337-fdcd-47f2-8a0f-0070b6c5d952.vh
> >
> >
>

Re: nfs storage issue on xenserver

Posted by Prashant s <op...@gmail.com>.
this issue is resolved,

i moved the directory one level up ..now every thing works great !
i wonder how the SR directory got renamed ....

thanks
prashant



On Sun, Jul 12, 2015 at 11:45 AM, Prashant s <op...@gmail.com> wrote:

> Greetings !
>
> need help with the NFS storage on xenserver .. ...
>
> there was a network outage , Few of my xenservers rebooted, after the
> reboot .. now
>
> looks like i have storage mount path issue , i have duplicate sub folder
> inside  sr-uuid directory.
>
> *all my vhd files are inside /var/run/sr-mount/$sr-name/$sr-uuid/
> directory. *
>
> *i think the default path to the vhd files are - *
> */var/run/sr-mount/$sr-name/*
>
>
> *questions 1 ) i dont know how the ** /var/run/sr-mount/$sr-name/$sr-uuid/
> directory got created ? and how to fix it  *
>
> *i can copy all the vhd files one level up. ... *
>
>
>
> sr-uui is          *43144902-6d85-6122-b4ac-cf35ca5a57e1*
> *sr-name is     **dc1xsv-c3u28*
>
> # cd  */var/run/sr-mount/43144902-6d85-6122-b4ac-cf35ca5a57e1 *
> # 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls
> # *43144902-6d85-6122-b4ac-cf35ca5a57e1 *
> # 43144902-6d85-6122-b4ac-cf35ca5a57e1]#
>
> *all my vhd files are inside /var/run/sr-mount/$sr-name/$sr-uuid/*
>
>
>
>
> [root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]# pwd
> */var/run/sr-mount/43144902-6d85-6122-b4ac-cf35ca5a57e1*
> [root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]# ls
> *43144902-6d85-6122-b4ac-cf35ca5a57e1*
> [root@dc1xsv-c3u28n1 43144902-6d85-6122-b4ac-cf35ca5a57e1]#
>
> [iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$ *pwd*
>
>
> */data/cloud/dc1/az3/primary/dc1xsv-c3u28/43144902-6d85-6122-b4ac-cf35ca5a57e1*
>
> [iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$
>
>
> [iadm@dc1csf-az2-01 43144902-6d85-6122-b4ac-cf35ca5a57e1]$ ls -l
>
> total 394755964
>
> -rw-r--r--. 1 root root       46592 Aug 22  2014
> 02906cb7-696c-4cfb-a93e-6a4451184c6f.vhd
>
> -rw-r--r--. 1 root root       15360 Nov  3  2014
> 0298fac4-02d1-41b6-94c5-ceeed536af5b.vhd
>
> -rw-r--r--. 1 root root  2805178880 Jun 22 09:46
> 030e2d71-199b-41da-9307-bbf6e7957cf2.vhd
>
> -rw-r--r--. 1 root root  3330691584 Dec 12  2014
> 038a323a-40e3-4d91-b95d-a47e051e8b3a.vhd
>
> -rw-r--r--. 1 root root   334144000 Jun 17 13:51
> 03fab1dd-3721-455b-a823-61b6571e85bd.vhd
>
> -rw-r--r--. 1 root root  3619192832 Jul 12 05:23
> 05640f30-9a25-4083-ba7c-1d36f447596f.vhd
>
> -rw-r--r--. 1 root root      215552 Apr 16 08:35
> 05f2239e-d29c-4f1f-8593-51a3625a9058.vhd
>
> -rw-r--r--. 1 root root       46592 Aug 22  2014
> 06360c7c-039b-4262-90a1-dbabb1149dac.vhd
>
> -rw-r--r--. 1 root root       46592 Mar 23 21:00
> 0b4b8ac1-7c7a-4373-978d-6fe879261f32.vhd
>
> -rw-r--r--. 1 root root       46592 Jun 19 14:59
> 0b6cb8d3-75a4-4778-8af0-c82da126b416.vhd
>
> -rw-r--r--. 1 root root  1940717568 Aug 22  2014
> 0ff05e27-0d99-4bd7-8657-bb99117fdb2d.vhd
>
> -rw-r--r--. 1 root root   998522880 Jul 12 05:24
> 1077a06a-4226-4dd8-a7e3-a8a3fd99970f.vhd
>
> -rw-r--r--. 1 root root       14848 Jun 17 11:53
> 133576aa-5fea-4329-8454-84818ba77ecc.vhd
>
> -rw-r--r--. 1 root root       46592 Jul 28  2014
> 1626f5c6-132d-4158-b973-6f2ee2cedb84.vhd
>
> -rw-r--r--. 1 root root  5971788288 Aug 22  2014
> 1649b714-c288-4cec-a2f4-8377d3bb0be4.vhd
>
> -rw-r--r--. 1 root root  4414734848 May 27 16:14
> 16e21e32-d3f4-4204-9541-860d14b914a3.vhd
>
> -rw-r--r--. 1 root root   682909696 Jul 12 05:33
> 17d54a5d-f999-46be-9e4c-c2bc4a6eb43c.vhd
>
> -rw-r--r--. 1 root root      214016 Aug 22  2014
> 19590f24-60b1-4b39-8b87-c41ff3f4c5b0.vhd
>
> -rw-r--r--. 1 root root       15360 Jun 18 14:13
> 19d3c57b-45bd-4b8b-84f3-b0c82b8f1a65.vhd
>
> -rw-r--r--. 1 root root 15831232512 Jul 12 05:23
> 1b4917df-a7a0-4cc7-ba1c-d9a32731004f.vhd
>
> -rw-r--r--. 1 root root   626671616 Jul 12 05:24
> 1b7211df-555f-4a52-b67e-4565e8f6c7b2.vhd
>
> -rw-r--r--. 1 root root       46592 Apr 16 08:35
> 1ee3f56d-276a-42f8-bcde-e67ce4916b18.vhd
>
> -rw-r--r--. 1 root root  8264253952 Dec  8  2014
> 216008dd-c5b3-45c5-b31d-94c97d30da66.vhd
>
> -rw-r--r--. 1 root root   241656320 Jun 17 13:51
> 23723337-fdcd-47f2-8a0f-0070b6c5d952.vh
>
>