Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

SG_MAP devices chagne between reboots

Posted on 2012-08-30
4
Medium Priority
?
58 Views
Last Modified: 2016-06-26
Hi,

I have an auto loader and two tape devices hooked up to a RHEL 5.8 server. The issue im having is that when this server is rebooted the tape devices and the auto loader device names change. so What was on /dev/sg3 could end up being on /dev/sg4 after reboot, this mean that my backup software cant find the device which means i need to configure this again. My question is how do i nail these devices to a particular device name?

I have googled but have not found what i'm looking for

Thanks
0
Comment
Question by:kaygroth2
  • 2
2 Comments
 
LVL 47

Accepted Solution

by:
David earned 2000 total points
ID: 38351203
This is because the physical device name can change between boots.  So ...

1. DYNAMICALLY use sg_map to do the cross-referencing whenever the script is invoked.  That is the only safe thing to do, because if you are on a SAN or have FC, or are multipathed, then even the physical device name can change.

2. Various SAS, FC, SCSI HBAS have persistance settings.  Check the manual for the HBA you are using and see how to set it up.  If you make the device names persistent, then the problem will go away.
0
 
LVL 47

Expert Comment

by:David
ID: 41675188
The answer https:#a38351203  is correct.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
"Any files you do not have backed up in at least two [other] places are files you do not care about."
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question