- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: EVA Lun problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2007 10:08 PM
03-07-2007 10:08 PM
i've a problem with a Redhat AS 3.2
I configured two luns on an EVA3000.
My problem is that if the server reboot, sometimes it change the special files associated to LUN.
The /dev/sda become /dev/sdb and this is a huge problem.
Any suggestion please?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2007 12:22 AM
03-08-2007 12:22 AM
Re: EVA Lun problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2007 12:22 AM
03-08-2007 12:22 AM
Re: EVA Lun problem
When devlabel runs, it reads its configuration file (/etc/sysconfig/devlabel) to obtain the list of devices for which it is responsible. For each device on the list, there is a symbolic link (chosen by the system administrator) and the device's UUID (Universal Unique IDentifier).
The devlabel command makes sure the symbolic link always refers to the originally-specified device â even if that device's name has changed. In this way, a system administrator can configure a system to refer to /dev/projdisk instead of /dev/sda12, for example.
Because the UUID is obtained directly from the device, devlabel must only search the system for the matching UUID and update the symbolic link appropriately.
# devlabel add -s /dev/my_stable_disk_name -d /dev/sda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2007 01:16 PM
03-08-2007 01:16 PM
Solution""The Linux operating system does not provide built-in LUN persistence. Lack of
LUN persistence means that if you add or delete physical LUNs or disks and
reboot your system, there is a probability that the device mnemonics will change
in an undesirable way.""
The SecurePath software can be installed on your system to address device persistance with the sps program, however if you don't have SP installed, there are ways of identifying your LUNS when adding and removing EVA devices from your linux system. Is that what you are looking for, a means of identification?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2007 07:42 PM
03-08-2007 07:42 PM
Re: EVA Lun problem
Yes Celeste, is exactly what i need.
I think i have to edit /etc/CPQswsp/sppf file?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2007 09:07 PM
03-08-2007 09:07 PM
Re: EVA Lun problem
Thanks.
Now I' ve another problem.
When system boots, it don't see the lun until i do hp_rescan -a command.
Sometimes i solved this problem:
1)put in /etc/modules.conf options scsi_mod max_luns=127
2)rebuilding image with mkinitrd -v
But this time it still doesn't work...
Any suggestion??
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 01:11 PM
03-09-2007 01:11 PM
Re: EVA Lun problem
I didn't make any changes to my modules.conf file.
Question: Does your secure path not work. if you have SP installed then you can do a 'spmgr display' and that will show you all the luns that you have presented to the server from the EVA.
The sppf file is the persistence file for the sps program. I use it on other systems for mappings but I don't trust it as much because I have seen duplicate LUN entries in that file that I think have caused us problems in the past. I'm glad it worked for you.
To address your last inquiry - and then some:
(NOTE: This is LUN EVA mgmt with NO SecurePath involved. Just the Linux OS and the fibre utilities.)
When a LUN is added, you have to do a pvcreate on that LUN before it will be acknowledged by the system as a physical device to be utilized. SP does this but remember we are not utilizing SP on this system).
So, to identify which LUN to perform the pvcreate on do a df to get the logical volume info.
Then do a pvscan to tie that logical volume to a physical device on your system. We use spvXX for all our EVA LUN assignments (/dev/spv01, /dev/spv02, etc..)
df -->gives me--> /dev/spv01/lvol1
pvscan -->gives me--> pvscan -- ACTIVE PV "/dev/sdh" of VG "spv01"
So I see that /dev/spv01 is created on the sdh device. Do this for all your logical volumes and you'll have the correct mappings for your currently utilized physical devices. Now execute
/opt/hp/hp_fibreutils/hp_rescan to resan your LUNS (if you have just performed a reboot you shouldn't have to do this.)
and
/opt/hp/hp_fibreutils/lssd
The devices you see listed from the lssd command that were not in the list when you verified your current physical devices are the devices that you need to perform a pvcreate on. Once you do a pvcreate on the device you can do a pvscan and you will see the newly added device and their sizes.
You can now perform LVM configurations on these devices they will not disappear or move unless they are removed from the system for additional LUN configuration.