In the Linux virtual machine, the device id is the drive letter of the mapped disk, so the device id and the drive letter are consistent. However, when users look at the Linux device id, they find that the device id in the Linux virtual machine does not match the drive letter. What should I do at this time?
When a user mounts multiple scsi disks, the internal disk mapping and user configuration of the virtual machine are inconsistent after the Linux virtual machine is restarted. As shown in the figure, the virtual machine scsi device id configured by the user corresponds to the drive letter.
When restarting the virtual machine, the device id of a correspondence relationship scsi letter virtual machine configuration is inconsistent with the user. id scsi devices with virtual machine letter inconsistent shown below:
In this case, the corresponding letter Oracle RAC device used is changed, the service will cause some influences.
Solution:
The scsi device id needs to be specified when using the virtual machine scsi device. This solution is mainly used when the entire scsi disk is used and the scsi disk is not partitioned inside the virtual machine. Environment: RedHat 6.5 64-bit operating system, for example: /etc/udev/rules.d/60-raw.rules configuration file.
ACTION==“add”, KERNEL==“sd*”, PROGRAM==“/sbin/scsi_id -g -u -d /dev/$name”,
RESULT==“360022a11000e085d0de717f500000003”, RUN+=“/bin/raw /dev/raw/raw1 %N”
ACTION==“add”, KERNEL==“sd*” , PROGRAM==“/sbin/scsi_id -g -u -d /dev/$name”,
RESULT==“360022a11000e085d0de7372c0000002e”, RUN+=“/bin/raw /dev/raw/Raw2 %N”
KERNEL==“raw1”, OWNER=“grid”, GROUP=“oinstall”, MODE=“777”
KERNEL==“raw2&rdquo ;, OWNER=“grid”, GROUP=“oinstall”, MODE=“777” Previous12Next Total 2 Pages
In Linux systems, multiple network cards are usually bundled into one logical netwo
Sometimes we want to log in to SSH through another account, usually we need to re-enter the password
We all know that the transfer between the same system is easy to implement, but it
In the Linux command, the usage of the chmod command is somewhat similar to that of
What is the command to specify the line in the Linux view file?
How to test the performance of a Linux disk using the DD command?
How to modify the time zone of CentOS6 system?
How to upgrade Ubuntu system to 4.x kernel
Introduction to the syntax of the bzip2 command in Linux system
How Linux implements the transmission of UDP broadcast messages
Linux system startx command function and usage
What if Ubuntu can't start Eclipse?
Linux SecureCRT Chinese garbled how to do?
Linux iis can not run asp file how to solve
Linux how to carry out Alibaba Cloud server FTP configuration
Handling of the Segmentation fault error in Linux programming
How to display the win7 hidden folder
Microsoft Consumer Edition Win7 technical support period extends ten years to 2020
Win10 Mobile 10162 new mobile phone wallpaper appreciation free download
Linux configuration minicom step
Win 7 problem step recorder operation strategy
How to set up Windows 8 in the new tab to open the window
The difference between Windows x86, x86_64, x64
How does the Win8.1 system use the right-click menu to shut down?