Jump to content
Welcome to our new Citrix community!
  • 0

Local Storage gone after crash


Scott Ugolik

Question

Hello all,

I recently "inherited" a XenCenter setup and I'm not extremely familiar with Citrix so I'm looking for help.

Running XenCenter 6.0.2 (build 53158) with 2 XenServers running 6.0.2-46947x and Everrun handling a redundant VM between the 2 servers.

Server 1 crashed a few days ago, after rebooting it, there is no longer a local storage SR. I'm guessing this is the reason we can no longer have Everrun create the VM on that server, my logic being it doesn't have a hard drive to run the OS on, but like I said, not familiar enough with Citrix.

Could this assumption be correct?

If so, is it possible to copy the Local Storage from Server 2 to Server 1?

If so, do I need to create the SR first?

Any help is appreciated and if any info would help, just tell me what you need and I can post here.

I did an lvscan on each server and there is one VHD on server 2 than 1. Guessing that would be the Local Storage.

 

[root@MNRNextivaXS1 ~]# lvscan
  ACTIVE            '/dev/VG_XenStorage-e26d705a-437e-d65e-e31c-f4be325bf0cd/MGT' [4.00 MB] inherit
  ACTIVE            '/dev/VG_XenStorage-e26d705a-437e-d65e-e31c-f4be325bf0cd/VHD-947dc9a1-88b1-4350-84ad-0e2ac11ee7dc' [50.11 GB] inherit
  ACTIVE            '/dev/VG_XenStorage-50d40269-283d-8c79-482d-7f8c53d57cb8/MGT' [4.00 MB] inherit
  ACTIVE            '/dev/VG_XenStorage-50d40269-283d-8c79-482d-7f8c53d57cb8/VHD-71a99d5e-f4e7-4f4b-a51f-acf9824f65d4' [50.11 GB] inherit
  ACTIVE            '/dev/VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a/MGT' [4.00 MB] inherit
  ACTIVE            '/dev/VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a/VHD-3c81583f-741a-494b-98a5-d5a80fde6ba2' [16.00 MB] inherit
  ACTIVE            '/dev/VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a/everRun_e636cf8f-bda7-477b-854b-eb8f32ee1001' [3.91 GB] inherit
  ACTIVE            '/dev/VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a/VHD-f70ea3ba-5681-4310-9950-9e01476eca47' [50.11 GB] inherit
[root@MNRNextivaXS1 ~]#


[root@MNRNextivaXS2 ~]# lvscan
  ACTIVE            '/dev/VG_XenStorage-f4967e14-dce2-6cca-8e4e-28455ed4de93/MGT' [4.00 MB] inherit
  ACTIVE            '/dev/VG_XenStorage-f4967e14-dce2-6cca-8e4e-28455ed4de93/VHD-ab15d649-6f13-45a3-b46a-b26a326ee385' [50.11 GB] inherit
  ACTIVE            '/dev/VG_XenStorage-901dc8e1-c351-f7d3-82d9-7ccda4919881/MGT' [4.00 MB] inherit
  ACTIVE            '/dev/VG_XenStorage-901dc8e1-c351-f7d3-82d9-7ccda4919881/VHD-b341d2cc-3b35-48c1-86f1-c756f834e592' [50.11 GB] inherit
  ACTIVE            '/dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/MGT' [4.00 MB] inherit
  inactive          '/dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/VHD-971e7332-a1f1-43a3-9190-bd3dbdc24892' [16.00 MB] inherit
  ACTIVE            '/dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/everRun_f6aa4669-3790-477a-8ddd-26b468b0d87b' [3.91 GB] inherit
  ACTIVE            '/dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/VHD-530e6a23-a4f5-4f04-8bb7-1ffb22639df2' [50.11 GB] inherit
  inactive          '/dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/VHD-13b11ac2-601a-497c-bdee-6deaebc588f6' [50.11 GB] inherit
[root@MNRNextivaXS2 ~]# 

I did see a lot of posts with "Local Storage Gone" type of issues but nothing I can use.

 

Thanks.

Link to comment

Recommended Posts

  • 0

Hello Scott,

 

What type of hardware are you running?

 

I believe Xenserver might be running from a USB stick on the motherboard of the server, and the local storage failed, meaning you have to check the hardware and find what exactly happened, raid controller, disks, etc.

 

if that is the issue all you have to do is replace whatever failed and then you should be able to see and use the  Local SR again.

Link to comment
  • 0

I did.

 

[root@MNRNextivaXS1 ~]# fdisk -l

Disk /dev/sda: 299.4 GB, 299439751168 bytes
255 heads, 63 sectors/track, 36404 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         523     4194304   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2             523        1045     4194304   83  Linux
/dev/sda3            1045       36404   284026490+  8e  Linux LVM

Disk /dev/sdb: 299.4 GB, 299439751168 bytes
255 heads, 63 sectors/track, 36404 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 299.4 GB, 299439751168 bytes
255 heads, 63 sectors/track, 36404 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdc doesn't contain a valid partition table
[root@MNRNextivaXS1 ~]# 

 

Link to comment
  • 0
1 minute ago, Jose Pablo Benavides said:

Hello Scott,

 

What type of hardware are you running?

 

I believe Xenserver might be running from a USB stick on the motherboard of the server, and the local storage failed, meaning you have to check the hardware and find what exactly happened, raid controller, disks, etc.

 

if that is the issue all you have to do is replace whatever failed and then you should be able to see and use the  Local SR again.

Dell servers with 6 disks in each.

Checked all physical disks in BIOS Raid manager and all look good.

Link to comment
  • 0

xe sr-list only shows a Local Storage on the server 2.

 

[root@MNRNextivaXS1 ~]# xe sr-list
uuid ( RO)                : 975cba07-35cc-c469-ae46-36ce6bc2cebc
          name-label ( RW): XenServer Tools
    name-description ( RW): XenServer Tools ISOs
                host ( RO): <shared>
                type ( RO): iso
        content-type ( RO): iso


uuid ( RO)                : 7af67f94-080d-fa92-2c52-52f45f7afc46
          name-label ( RW): everRun ISOs
    name-description ( RW): 
                host ( RO): <shared>
                type ( RO): iso
        content-type ( RO): iso


uuid ( RO)                : f4967e14-dce2-6cca-8e4e-28455ed4de93
          name-label ( RW): VM Database
    name-description ( RW): 
                host ( RO): MNRNextivaXS2
                type ( RO): lvm
        content-type ( RO): user


uuid ( RO)                : 92ea2ed5-b521-4298-d784-d5847486f86e
          name-label ( RW): Local storage
    name-description ( RW): 
                host ( RO): MNRNextivaXS2
                type ( RO): lvm
        content-type ( RO): user


uuid ( RO)                : 8ea0b0ef-8010-de92-9451-e1ad0cd02eb9
          name-label ( RW): Removable storage
    name-description ( RW): 
                host ( RO): MNRNextivaXS1
                type ( RO): udev
        content-type ( RO): disk


uuid ( RO)                : 3c0b420a-f17a-ee90-8544-1668a7af3c5d
          name-label ( RW): DVD drives
    name-description ( RW): Physical DVD drives
                host ( RO): MNRNextivaXS1
                type ( RO): udev
        content-type ( RO): iso


uuid ( RO)                : 901dc8e1-c351-f7d3-82d9-7ccda4919881
          name-label ( RW): VM OS\Application
    name-description ( RW): 
                host ( RO): MNRNextivaXS2
                type ( RO): lvm
        content-type ( RO): user


uuid ( RO)                : a550da38-ed07-6734-199b-af515967809c
          name-label ( RW): DVD drives
    name-description ( RW): Physical DVD drives
                host ( RO): MNRNextivaXS2
                type ( RO): udev
        content-type ( RO): iso


uuid ( RO)                : 68034caf-97e6-6749-f9a3-b825d05bdd84
          name-label ( RW): XenServer
    name-description ( RW): 
                host ( RO): MNRNextivaXS2
                type ( RO): udev
        content-type ( RO): disk


uuid ( RO)                : 211077c2-90e9-2783-a90a-66cdb26a955a
          name-label ( RW): XenServer
    name-description ( RW): 
                host ( RO): MNRNextivaXS1
                type ( RO): lvm
        content-type ( RO): user


uuid ( RO)                : e26d705a-437e-d65e-e31c-f4be325bf0cd
          name-label ( RW): VM Database
    name-description ( RW): 
                host ( RO): MNRNextivaXS1
                type ( RO): lvm
        content-type ( RO): user


uuid ( RO)                : 50d40269-283d-8c79-482d-7f8c53d57cb8
          name-label ( RW): VM OS\Application
    name-description ( RW): 
                host ( RO): MNRNextivaXS1
                type ( RO): lvm
        content-type ( RO): user


[root@MNRNextivaXS1 ~]# 


[root@MNRNextivaXS1 ~]# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdc
  VG Name               VG_XenStorage-e26d705a-437e-d65e-e31c-f4be325bf0cd
  PV Size               278.87 GB / not usable 8.12 MB
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              71389
  Free PE               58561
  Allocated PE          12828
  PV UUID               pYMrUM-8IsT-ZQss-AcX4-rL7G-S8HI-NlfF0g
   
  --- Physical volume ---
  PV Name               /dev/sdb
  VG Name               VG_XenStorage-50d40269-283d-8c79-482d-7f8c53d57cb8
  PV Size               278.87 GB / not usable 8.12 MB
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              71389
  Free PE               58561
  Allocated PE          12828
  PV UUID               OD14iG-ZwdA-yUux-15Qa-j6Jd-G8bx-grWD2t
   
  --- Physical volume ---
  PV Name               /dev/sda3
  VG Name               VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a
  PV Size               270.87 GB / not usable 6.51 MB
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              69339
  Free PE               55507
  Allocated PE          13832
  PV UUID               qGOGB2-etfe-sAy5-ogW8-Y4J3-AzLN-h9VxuM
   
[root@MNRNextivaXS1 ~]# 

 

Link to comment
  • 0

Can you umount that disk? You can also run "fsck -N /dev/..." to show what would be done but not actually change anything.

To get to the unmounted local storage SR, you might have to both your server in single-user mode if it cannot be manually unmounted.

 

That said, if you do not care to preserve what is on the local storage, it should be possible to delete it and manually re-create a local SR (which must be done via the CLI).

 

-=Tobias

Link to comment
  • 0
22 minutes ago, Tobias Kreidl said:

That said, if you do not care to preserve what is on the local storage, it should be possible to delete it and manually re-create a local SR (which must be done via the CLI).

 

-=Tobias

Honestly, From what I've posted so far do you even see a way to preserve anything on the local storage??

From what I can see, again, not terribly knowledgeable on Citrix, but it looks like everything's gone anyway.

Is there anything else I can do to "find" the local storage?

 

Is there any instructions on creating a new SR from CLI?

 

Link to comment
  • 0

Hoping this will mean something to somebody. Posting the same commands from both servers. Again, both should be absolute mirrors.

 

[root@MNRNextivaXS2 ~]# ls -la /dev/mapper
total 0
drwxr-xr-x  2 root root     240 Jan 21 11:51 .
drwxr-xr-x 19 root root   16780 Jan 20 10:15 ..
crw-------  1 root root  10, 56 Jan 22  2021 control
brw-rw----  1 root disk 252,  3 Jan 20 10:16 VG_XenStorage--901dc8e1--c351--f7d3--82d9--7ccda4919881-MGT
brw-rw----  1 root disk 252,  5 Jan 21 14:52 VG_XenStorage--901dc8e1--c351--f7d3--82d9--7ccda4919881-VHD--b341d2cc--3b35--48c1--86f1--c756f834e592
brw-rw----  1 root disk 252,  0 Jan 22  2021 VG_XenStorage--92ea2ed5--b521--4298--d784--d5847486f86e-everRun_f6aa4669--3790--477a--8ddd--26b468b0d87b
brw-rw----  1 root disk 252,  1 Jan 20 10:16 VG_XenStorage--92ea2ed5--b521--4298--d784--d5847486f86e-MGT
brw-rw----  1 root disk 252,  8 Jan 21 11:51 VG_XenStorage--92ea2ed5--b521--4298--d784--d5847486f86e-VHD--13b11ac2--601a--497c--bdee--6deaebc588f6
brw-rw----  1 root disk 252,  4 Jan 21 14:52 VG_XenStorage--92ea2ed5--b521--4298--d784--d5847486f86e-VHD--530e6a23--a4f5--4f04--8bb7--1ffb22639df2
brw-rw----  1 root disk 252,  7 Jan 21 11:51 VG_XenStorage--92ea2ed5--b521--4298--d784--d5847486f86e-VHD--971e7332--a1f1--43a3--9190--bd3dbdc24892
brw-rw----  1 root disk 252,  2 Jan 20 10:16 VG_XenStorage--f4967e14--dce2--6cca--8e4e--28455ed4de93-MGT
brw-rw----  1 root disk 252,  6 Jan 21 14:52 VG_XenStorage--f4967e14--dce2--6cca--8e4e--28455ed4de93-VHD--ab15d649--6f13--45a3--b46a--b26a326ee385
[root@MNRNextivaXS2 ~]# lvscan
  ACTIVE            '/dev/VG_XenStorage-f4967e14-dce2-6cca-8e4e-28455ed4de93/MGT' [4.00 MB] inherit
  ACTIVE            '/dev/VG_XenStorage-f4967e14-dce2-6cca-8e4e-28455ed4de93/VHD-ab15d649-6f13-45a3-b46a-b26a326ee385' [50.11 GB] inherit
  ACTIVE            '/dev/VG_XenStorage-901dc8e1-c351-f7d3-82d9-7ccda4919881/MGT' [4.00 MB] inherit
  ACTIVE            '/dev/VG_XenStorage-901dc8e1-c351-f7d3-82d9-7ccda4919881/VHD-b341d2cc-3b35-48c1-86f1-c756f834e592' [50.11 GB] inherit
  ACTIVE            '/dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/MGT' [4.00 MB] inherit
  ACTIVE            '/dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/VHD-971e7332-a1f1-43a3-9190-bd3dbdc24892' [16.00 MB] inherit
  ACTIVE            '/dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/everRun_f6aa4669-3790-477a-8ddd-26b468b0d87b' [3.91 GB] inherit
  ACTIVE            '/dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/VHD-530e6a23-a4f5-4f04-8bb7-1ffb22639df2' [50.11 GB] inherit
  ACTIVE            '/dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/VHD-13b11ac2-601a-497c-bdee-6deaebc588f6' [50.11 GB] inherit
[root@MNRNextivaXS2 ~]# 

[root@MNRNextivaXS2 ~]# lvdisplay
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-f4967e14-dce2-6cca-8e4e-28455ed4de93/MGT
  VG Name                VG_XenStorage-f4967e14-dce2-6cca-8e4e-28455ed4de93
  LV UUID                tPFx23-JC5F-nCar-srcy-M22i-ijz9-ttrrci
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                4.00 MB
  Current LE             1
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:2
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-f4967e14-dce2-6cca-8e4e-28455ed4de93/VHD-ab15d649-6f13-45a3-b46a-b26a326ee385
  VG Name                VG_XenStorage-f4967e14-dce2-6cca-8e4e-28455ed4de93
  LV UUID                dUQYyD-Ohzl-k2Rs-6NHm-n9R7-0bmL-KFfeX0
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                50.11 GB
  Current LE             12827
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:6
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-901dc8e1-c351-f7d3-82d9-7ccda4919881/MGT
  VG Name                VG_XenStorage-901dc8e1-c351-f7d3-82d9-7ccda4919881
  LV UUID                nDzILM-KklQ-5NDP-0yT0-VpKr-b1KN-9sV62p
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                4.00 MB
  Current LE             1
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:3
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-901dc8e1-c351-f7d3-82d9-7ccda4919881/VHD-b341d2cc-3b35-48c1-86f1-c756f834e592
  VG Name                VG_XenStorage-901dc8e1-c351-f7d3-82d9-7ccda4919881
  LV UUID                0tTbWj-NNDV-X0Bs-7Hf7-Gbbs-6FEr-FrOUJn
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                50.11 GB
  Current LE             12827
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:5
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/MGT
  VG Name                VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e
  LV UUID                1Lh4P2-RIAG-MYAc-1XGe-WMJd-bsB0-xwk855
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                4.00 MB
  Current LE             1
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:1
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/VHD-971e7332-a1f1-43a3-9190-bd3dbdc24892
  VG Name                VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e
  LV UUID                IhqeTR-EOA3-PYkr-tdCE-R2Ai-H0Mr-d4Gpw7
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                16.00 MB
  Current LE             4
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:7
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/everRun_f6aa4669-3790-477a-8ddd-26b468b0d87b
  VG Name                VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e
  LV UUID                1nTNPh-0B8j-97QI-3gZf-q9Fe-d6Ht-PECVgr
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                3.91 GB
  Current LE             1000
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:0
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/VHD-530e6a23-a4f5-4f04-8bb7-1ffb22639df2
  VG Name                VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e
  LV UUID                29UbE1-W16N-KpY8-7rvk-Pp1N-mxpo-4HkYC2
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                50.11 GB
  Current LE             12827
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:4
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e/VHD-13b11ac2-601a-497c-bdee-6deaebc588f6
  VG Name                VG_XenStorage-92ea2ed5-b521-4298-d784-d5847486f86e
  LV UUID                6s83i8-8Xvz-HmOw-aW3Y-IMnY-kwSE-tacHpH
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                50.11 GB
  Current LE             12827
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:8
   
[root@MNRNextivaXS2 ~]# 

[root@MNRNextivaXS2 ~]# xe pbd-list
uuid ( RO)                  : 25787a6f-e621-f0c6-f0cc-8c361301c403
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): 7af67f94-080d-fa92-2c52-52f45f7afc46
         device-config (MRO): location: /var/everRun_res/iso; legacy_mode: true
    currently-attached ( RO): true


uuid ( RO)                  : 55047b9c-48d8-c91a-e893-1d921a8a4da8
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): 7af67f94-080d-fa92-2c52-52f45f7afc46
         device-config (MRO): location: /var/everRun_res/iso; legacy_mode: true
    currently-attached ( RO): true


uuid ( RO)                  : fa6ff305-905c-6f57-d85c-f66b97ff5df9
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): 211077c2-90e9-2783-a90a-66cdb26a955a
         device-config (MRO): device: /dev/disk/by-id/scsi-36c81f660cbb6f3001b98806c063c6b5b-part3
    currently-attached ( RO): true


uuid ( RO)                  : 54548dc5-2ce4-0f8d-b263-2472e91ccba1
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): 975cba07-35cc-c469-ae46-36ce6bc2cebc
         device-config (MRO): location: /opt/xensource/packages/iso; legacy_mode: true
    currently-attached ( RO): true


uuid ( RO)                  : ba99e412-eba7-e10a-e450-9008aee62c2b
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): 92ea2ed5-b521-4298-d784-d5847486f86e
         device-config (MRO): device: /dev/disk/by-id/scsi-36c81f660cbc15b001b98829704906e46-part3
    currently-attached ( RO): true


uuid ( RO)                  : 44650477-56f8-115e-ada6-b72b0a516592
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): 3c0b420a-f17a-ee90-8544-1668a7af3c5d
         device-config (MRO): location: /dev/xapi/cd
    currently-attached ( RO): true


uuid ( RO)                  : 85bc4ed4-cc61-3fc9-f3c5-d27d0ec25bab
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): 975cba07-35cc-c469-ae46-36ce6bc2cebc
         device-config (MRO): location: /opt/xensource/packages/iso; legacy_mode: true
    currently-attached ( RO): true


uuid ( RO)                  : 397cba5b-4761-5eb0-eeb1-285fe3b70eaa
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): f4967e14-dce2-6cca-8e4e-28455ed4de93
         device-config (MRO): device: /dev/disk/by-id/scsi-36c81f660cbc15b001b9882d80872fad7
    currently-attached ( RO): true


uuid ( RO)                  : a68452ae-57e1-4c62-895d-4ce5b6efcca1
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): e26d705a-437e-d65e-e31c-f4be325bf0cd
         device-config (MRO): device: /dev/disk/by-id/scsi-36c81f660cbb6f3001b988139126df0d8
    currently-attached ( RO): true


uuid ( RO)                  : f6629f20-a25a-0e20-c958-a4fa7c6cfafd
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): a550da38-ed07-6734-199b-af515967809c
         device-config (MRO): location: /dev/xapi/cd
    currently-attached ( RO): true


uuid ( RO)                  : afb466f1-c325-69a7-7b18-a6659ba916a6
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): 68034caf-97e6-6749-f9a3-b825d05bdd84
         device-config (MRO): location: /dev/xapi/block
    currently-attached ( RO): true


uuid ( RO)                  : 83f0beca-1b4c-306a-60af-13ae769d6d6b
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): 8ea0b0ef-8010-de92-9451-e1ad0cd02eb9
         device-config (MRO): location: /dev/xapi/block
    currently-attached ( RO): true


uuid ( RO)                  : ef89e022-ddad-29d3-034e-0519fcc73e4c
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): 50d40269-283d-8c79-482d-7f8c53d57cb8
         device-config (MRO): device: /dev/disk/by-id/scsi-36c81f660cbb6f3001b98809708c887a7
    currently-attached ( RO): true


uuid ( RO)                  : 3b568647-93de-986d-cdd1-3e1bff76dffb
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): 901dc8e1-c351-f7d3-82d9-7ccda4919881
         device-config (MRO): device: /dev/disk/by-id/scsi-36c81f660cbc15b001b9882b3063d6dc5
    currently-attached ( RO): true


[root@MNRNextivaXS2 ~]# 

 

Link to comment
  • 0
[root@MNRNextivaXS1 ~]# ls -la /dev/mapper
total 0
drwxr-xr-x  2 root root     140 Jan 21 12:54 .
drwxr-xr-x 18 root root   16580 Jan 21 12:55 ..
crw-------  1 root root  10, 56 Jan 21 12:53 control
brw-rw----  1 root disk 252,  0 Jan 21 12:54 VG_XenStorage--211077c2--90e9--2783--a90a--66cdb26a955a-everRun_e636cf8f--bda7--477b--854b--eb8f32ee1001
brw-rw----  1 root disk 252,  1 Jan 21 12:54 VG_XenStorage--211077c2--90e9--2783--a90a--66cdb26a955a-MGT
brw-rw----  1 root disk 252,  3 Jan 21 12:54 VG_XenStorage--50d40269--283d--8c79--482d--7f8c53d57cb8-MGT
brw-rw----  1 root disk 252,  2 Jan 21 12:54 VG_XenStorage--e26d705a--437e--d65e--e31c--f4be325bf0cd-MGT
[root@MNRNextivaXS1 ~]# lvscan
  ACTIVE            '/dev/VG_XenStorage-e26d705a-437e-d65e-e31c-f4be325bf0cd/MGT' [4.00 MB] inherit
  inactive          '/dev/VG_XenStorage-e26d705a-437e-d65e-e31c-f4be325bf0cd/VHD-947dc9a1-88b1-4350-84ad-0e2ac11ee7dc' [50.11 GB] inherit
  ACTIVE            '/dev/VG_XenStorage-50d40269-283d-8c79-482d-7f8c53d57cb8/MGT' [4.00 MB] inherit
  inactive          '/dev/VG_XenStorage-50d40269-283d-8c79-482d-7f8c53d57cb8/VHD-71a99d5e-f4e7-4f4b-a51f-acf9824f65d4' [50.11 GB] inherit
  ACTIVE            '/dev/VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a/MGT' [4.00 MB] inherit
  inactive          '/dev/VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a/VHD-3c81583f-741a-494b-98a5-d5a80fde6ba2' [16.00 MB] inherit
  ACTIVE            '/dev/VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a/everRun_e636cf8f-bda7-477b-854b-eb8f32ee1001' [3.91 GB] inherit
  inactive          '/dev/VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a/VHD-f70ea3ba-5681-4310-9950-9e01476eca47' [50.11 GB] inherit
[root@MNRNextivaXS1 ~]# 

[root@MNRNextivaXS1 ~]# lvdisplay
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-e26d705a-437e-d65e-e31c-f4be325bf0cd/MGT
  VG Name                VG_XenStorage-e26d705a-437e-d65e-e31c-f4be325bf0cd
  LV UUID                DHE5R6-soaj-TfkO-AVO9-m2Ol-ME2J-KtHpVz
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                4.00 MB
  Current LE             1
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:2
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-e26d705a-437e-d65e-e31c-f4be325bf0cd/VHD-947dc9a1-88b1-4350-84ad-0e2ac11ee7dc
  VG Name                VG_XenStorage-e26d705a-437e-d65e-e31c-f4be325bf0cd
  LV UUID                6z7WnB-D1On-DZGJ-mRsx-GdZG-HtVI-m16TUL
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                50.11 GB
  Current LE             12827
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-50d40269-283d-8c79-482d-7f8c53d57cb8/MGT
  VG Name                VG_XenStorage-50d40269-283d-8c79-482d-7f8c53d57cb8
  LV UUID                PkzBSV-39gQ-Cy4z-o387-7pz2-PDj0-hZDqaR
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                4.00 MB
  Current LE             1
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:3
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-50d40269-283d-8c79-482d-7f8c53d57cb8/VHD-71a99d5e-f4e7-4f4b-a51f-acf9824f65d4
  VG Name                VG_XenStorage-50d40269-283d-8c79-482d-7f8c53d57cb8
  LV UUID                fptrni-2kK9-1Qgk-kL2P-WFni-snPF-n64gQ5
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                50.11 GB
  Current LE             12827
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a/MGT
  VG Name                VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a
  LV UUID                n9QuHS-ha6t-u1KO-u9lp-2yda-5WUP-jtmZPN
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                4.00 MB
  Current LE             1
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:1
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a/VHD-3c81583f-741a-494b-98a5-d5a80fde6ba2
  VG Name                VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a
  LV UUID                8u70sH-1OUG-hKzF-tVdj-34yO-1GUy-Q00Cyc
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                16.00 MB
  Current LE             4
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a/everRun_e636cf8f-bda7-477b-854b-eb8f32ee1001
  VG Name                VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a
  LV UUID                JZl5gT-l0Vx-EHch-QQNy-f12k-wAGF-0eIxPx
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                3.91 GB
  Current LE             1000
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:0
   
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a/VHD-f70ea3ba-5681-4310-9950-9e01476eca47
  VG Name                VG_XenStorage-211077c2-90e9-2783-a90a-66cdb26a955a
  LV UUID                bGNUcD-Ltpu-tCN1-kEMi-2zza-Gv9N-by1lfP
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                50.11 GB
  Current LE             12827
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
   
[root@MNRNextivaXS1 ~]# 






[root@MNRNextivaXS1 ~]# xe pbd-list
uuid ( RO)                  : 25787a6f-e621-f0c6-f0cc-8c361301c403
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): 7af67f94-080d-fa92-2c52-52f45f7afc46
         device-config (MRO): location: /var/everRun_res/iso; legacy_mode: true
    currently-attached ( RO): true


uuid ( RO)                  : 55047b9c-48d8-c91a-e893-1d921a8a4da8
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): 7af67f94-080d-fa92-2c52-52f45f7afc46
         device-config (MRO): location: /var/everRun_res/iso; legacy_mode: true
    currently-attached ( RO): true


uuid ( RO)                  : fa6ff305-905c-6f57-d85c-f66b97ff5df9
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): 211077c2-90e9-2783-a90a-66cdb26a955a
         device-config (MRO): device: /dev/disk/by-id/scsi-36c81f660cbb6f3001b98806c063c6b5b-part3
    currently-attached ( RO): true


uuid ( RO)                  : 54548dc5-2ce4-0f8d-b263-2472e91ccba1
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): 975cba07-35cc-c469-ae46-36ce6bc2cebc
         device-config (MRO): location: /opt/xensource/packages/iso; legacy_mode: true
    currently-attached ( RO): true


uuid ( RO)                  : ba99e412-eba7-e10a-e450-9008aee62c2b
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): 92ea2ed5-b521-4298-d784-d5847486f86e
         device-config (MRO): device: /dev/disk/by-id/scsi-36c81f660cbc15b001b98829704906e46-part3
    currently-attached ( RO): true


uuid ( RO)                  : 44650477-56f8-115e-ada6-b72b0a516592
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): 3c0b420a-f17a-ee90-8544-1668a7af3c5d
         device-config (MRO): location: /dev/xapi/cd
    currently-attached ( RO): true


uuid ( RO)                  : 85bc4ed4-cc61-3fc9-f3c5-d27d0ec25bab
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): 975cba07-35cc-c469-ae46-36ce6bc2cebc
         device-config (MRO): location: /opt/xensource/packages/iso; legacy_mode: true
    currently-attached ( RO): true


uuid ( RO)                  : 397cba5b-4761-5eb0-eeb1-285fe3b70eaa
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): f4967e14-dce2-6cca-8e4e-28455ed4de93
         device-config (MRO): device: /dev/disk/by-id/scsi-36c81f660cbc15b001b9882d80872fad7
    currently-attached ( RO): true


uuid ( RO)                  : a68452ae-57e1-4c62-895d-4ce5b6efcca1
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): e26d705a-437e-d65e-e31c-f4be325bf0cd
         device-config (MRO): device: /dev/disk/by-id/scsi-36c81f660cbb6f3001b988139126df0d8
    currently-attached ( RO): true


uuid ( RO)                  : f6629f20-a25a-0e20-c958-a4fa7c6cfafd
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): a550da38-ed07-6734-199b-af515967809c
         device-config (MRO): location: /dev/xapi/cd
    currently-attached ( RO): true


uuid ( RO)                  : afb466f1-c325-69a7-7b18-a6659ba916a6
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): 68034caf-97e6-6749-f9a3-b825d05bdd84
         device-config (MRO): location: /dev/xapi/block
    currently-attached ( RO): true


uuid ( RO)                  : 83f0beca-1b4c-306a-60af-13ae769d6d6b
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): 8ea0b0ef-8010-de92-9451-e1ad0cd02eb9
         device-config (MRO): location: /dev/xapi/block
    currently-attached ( RO): true


uuid ( RO)                  : ef89e022-ddad-29d3-034e-0519fcc73e4c
             host-uuid ( RO): e636cf8f-bda7-477b-854b-eb8f32ee1001
               sr-uuid ( RO): 50d40269-283d-8c79-482d-7f8c53d57cb8
         device-config (MRO): device: /dev/disk/by-id/scsi-36c81f660cbb6f3001b98809708c887a7
    currently-attached ( RO): true


uuid ( RO)                  : 3b568647-93de-986d-cdd1-3e1bff76dffb
             host-uuid ( RO): f6aa4669-3790-477a-8ddd-26b468b0d87b
               sr-uuid ( RO): 901dc8e1-c351-f7d3-82d9-7ccda4919881
         device-config (MRO): device: /dev/disk/by-id/scsi-36c81f660cbc15b001b9882b3063d6dc5
    currently-attached ( RO): true


[root@MNRNextivaXS1 ~]# 

 

Link to comment
  • 0

The fsck command requires the full path to the device, such as : fsck /dev/...

for whatever devices is associated with your local SR.  The command "fdisk -l" should list all those  storage devices and the size should give away which is the local SR (maybe you

already know the full device path to it).

To me, it looks like it might be /dev/sdb (with /dev/sdc the path of its mirror).

 

-=Tobias

Link to comment
  • 0

I don't think Everrun is an issue, the server is the issue at the moment.

Everrun isn't even involved until the server is up.

 

I can't run fsck at all. if I do fsck /dev/sdb, I get 'device or resource busy, filesystem mounted or opened exclusively by another program?'

but it's not mounted.

 

fsck -l is bad_blocks_file.

Link to comment
  • 0

Still no luck with fsck.

Couldn't find ext2 superblock, trying backup blocks...

fsck.ext2: Bad magic number in super-block while trying to open /dev/sda3 The superblock could not be read or does not describe a correct ext2 filesystem. filesystem (and not swap or ufs or something is corrupt, and you might try running e2fsck -b 8193 <device> else> then the superblock e2 fsck with an alternate superblock:

          e2fsck -b 8193 <device>

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...