LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 11-24-2013, 04:50 AM   #1
jogdial
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Rep: Reputation: Disabled
RHEV and storage domains


Hi,

I'm trialing RHEV and have a lab that I work on.. I usually use VMware on this lab, but as my VMware setup uses autodeploy, I can install RHEV on the nodes of my cluster and boot from RHEV or change boot order and PXE boot back to ESXi.

So far so good, added my hosts in the cluster, I have an old CX200 direct attach SAN that still works well and has a couple of terabytes of storage. I unmounted one of the LUNS from my ESXi hosts so no hosts are associated with the LUN and the ESXi hosts are now RHEV hosts. I have RHEV-M loaded and added the hosts to my cluster. Now for storage. I go to add a new storage domain but it says the LUN I have designated for RHEV is in use. So I tick the box anyway and tell it to use the LUN, another warning, but I tick the box to say override the command, hit ok and then it fails and says it cannot create the volume group on the LUN. That's it, There are a couple of LUNS that appear as free and I have compared them on the SAN and can see no difference at all between the free LUN and the LUN I am trying to use. I have unbound the LUN and rebound it so any data on it has been destroyed.

So for the moment, my virtual experience with RHEV has stopped.., any RHEV experts out there that have any idea on what is happening?

Thanks
 
Old 11-24-2013, 05:11 AM   #2
jogdial
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
well, as usual, after asking the question, the answer was found of it's own accord. Obviously there is no automatic rescanning of the FC after changes are made. I imagine there is a way to force a rescan, but not from the RHEV-M interface it would appear, so I expect there is some form of command to rescan the SAN from the command line, but as I didn't know now to do that, I tried a reboot of the host and the LUN is now free and I have added my storage domain...
 
Old 11-25-2013, 11:48 AM   #3
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 844

Rep: Reputation: 91
Normally, you'd be able to avoid the entire experience if you presented RHEV with an empty LUN. I usually simply dd if=/dev/zero of=/dev/mapper/MYLUN bs=1024 count=20000 to wipe the beginning, at this point it just looks empty to RHEV and it can create it's own LVM structure on the LUN turning it into a storage domain
 
Old 11-26-2013, 04:27 AM   #4
jogdial
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
the problem is that I have esxi hosts connected to the SAN as well and they are greedy... ie they mount anything and everything as soon as they see it... so have fixed the problem for now by masking the LUN on the esxi hosts...
 
Old 11-26-2013, 04:01 PM   #5
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 844

Rep: Reputation: 91
this is what zoning is for
 
Old 11-27-2013, 03:44 AM   #6
jogdial
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
it's direct attach, masking is my only option, hopefully getting a switch soon so I can zone, but it's just my lab and I have to take what ever I can get. Masking the LUN at the ESXi host works anyway and it was one of the tasks on my VCAP exam that I though I'd never have to use :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: RHEV 3.1 Beta offers Storage Live Migration LXer Syndicated Linux News 0 08-30-2012 10:40 AM
RHEV-M Storage Error. deepak hajare Linux - Virtualization and Cloud 2 07-24-2012 03:16 PM
[SOLVED] VM storage on RHEV-Hypervisor rohitchauhan Linux - Virtualization and Cloud 1 07-13-2012 09:34 AM


All times are GMT -5. The time now is 01:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration