Mike Lyon
2012-Apr-17 23:47 UTC
failure("Storage_access failed with: SR_BACKEND_FAILURE_47: [ ; The SR is not available
Hello, Please excuse my complete xen ignorance but I am hoping someone will be able ot help me out here. I recently built my first Xen box using a 2, 1TB drives in a raid configuration, 2TB total. I installed Xen, I am able to access it via XenCenter. However, I am trying to use some of that 2TB as a local datastore but for the life of me I cannot get it mounted, I keep on getting this error: [root@xen1 dev]# xe pbd-plug uuid=6f3aa3c9-cd9e-adc6-c164-00655e6fe154 The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem. message: Failure("Storage_access failed with: SR_BACKEND_FAILURE_47: [ ; The SR is not available [opterr=no such volume group: VG_XenStorage-46d633a8-2d98-03a8-3203-64e2f0e14f2b]; ]") The steps I followed was this: http://www.schirmacher.de/display/INFO/How+to+reattach+a+disk+to+XenServer Here is exactly what I did: [root@xen1 dev]# ls -l /dev/disk/by-id total 0 lrwxrwxrwx 1 root root 9 Apr 16 20:03 scsi-360024e807d2ad400171f396d1603f8af -> ../../sda lrwxrwxrwx 1 root root 10 Apr 16 20:03 scsi-360024e807d2ad400171f396d1603f8af-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Apr 16 20:03 scsi-360024e807d2ad400171f396d1603f8af-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Apr 16 20:03 scsi-360024e807d2ad400171f396d1603f8af-part3 -> ../../sda3 [root@xen1 dev]# xe host-list uuid ( RO) : 31c2dfa5-fb34-4410-9d73-cc2e595b3935 name-label ( RW): xen1 name-description ( RW): Default install of XenServer [root@xen1 dev]# [root@xen1 dev]# [root@xen1 dev]# [root@xen1 dev]# [root@xen1 dev]# [root@xen1 dev]# vgdisplay -v Finding all volume groups Finding volume group "XSLocalEXT-46d633a8-2d98-03a8-3203-64e2f0e14f2b" --- Volume group --- VG Name XSLocalEXT-46d633a8-2d98-03a8-3203-64e2f0e14f2b System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 2 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size 1.81 TB PE Size 4.00 MB Total PE 474621 Alloc PE / Size 474621 / 1.81 TB Free PE / Size 0 / 0 VG UUID dqnVEp-1SwY-xgwR-fdY3-LoQl-XmgU-SIJNSN --- Logical volume --- LV Name /dev/XSLocalEXT-46d633a8-2d98-03a8-3203-64e2f0e14f2b/46d633a8-2d98-03a8-3203-64e2f0e14f2b VG Name XSLocalEXT-46d633a8-2d98-03a8-3203-64e2f0e14f2b LV UUID DWRoBQ-bL0T-4k5M-PnBk-Vo3n-WnMp-m02s22 LV Write Access read/write LV Status available # open 0 LV Size 1.81 TB Current LE 474621 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 1024 Block device 252:0 --- Physical volumes --- PV Name /dev/sda3 PV UUID js5bUR-m390-mFFv-Quif-WHyf-vhg8-6OE0Ud PV Status allocatable Total PE / Free PE 474621 / 0 [root@xen1 dev]# [root@xen1 dev]# xe sr-introduce uuid=46d633a8-2d98-03a8-3203-64e2f0e14f2b Required parameter not found: name-label For usage run: ''xe help'' [root@xen1 dev]# xe sr-introduce uuid=46d633a8-2d98-03a8-3203-64e2f0e14f2b type=lvm name-label="Local storage 2" content-type=user 46d633a8-2d98-03a8-3203-64e2f0e14f2b [root@xen1 dev]# ls -l /dev/disk/by-id total 0 lrwxrwxrwx 1 root root 9 Apr 16 20:03 scsi-360024e807d2ad400171f396d1603f8af -> ../../sda lrwxrwxrwx 1 root root 10 Apr 16 20:03 scsi-360024e807d2ad400171f396d1603f8af-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Apr 16 20:03 scsi-360024e807d2ad400171f396d1603f8af-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Apr 16 20:03 scsi-360024e807d2ad400171f396d1603f8af-part3 -> ../../sda3 [root@xen1 dev]# xe host-list uuid ( RO) : 31c2dfa5-fb34-4410-9d73-cc2e595b3935 name-label ( RW): xen1 name-description ( RW): Default install of XenServer [root@xen1 dev]# xe pbd-create host-uuid=31c2dfa5-fb34-4410-9d73-cc2e595b3935 sr-uuid=46d633a8-2d98-03a8-3203-64e2f0e14f2b device-config:device=/dev/disk/by-id/scsi-360024e807d2ad400171f396d1603f8af-part1 6f3aa3c9-cd9e-adc6-c164-00655e6fe154 [root@xen1 dev]# xe pbd-plug uuid=6f3aa3c9-cd9e-adc6-c164-00655e6fe154 The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem. message: Failure("Storage_access failed with: SR_BACKEND_FAILURE_47: [ ; The SR is not available [opterr=no such volume group: VG_XenStorage-46d633a8-2d98-03a8-3203-64e2f0e14f2b]; ]") [root@xen1 dev]# [root@xen1 dev]# Any help would be GREATLY appreciated. Thank You, Mike -- Mike Lyon 408-621-4826 mike.lyon@gmail.com http://www.linkedin.com/in/mlyon _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users