special circumstances such as hot swapping of some devices and restarting, the device files mapped to the actual disk in Linux may be changed due to such queuing reasons, however, this underlying "secretly" change sometimes causes administrators to make some low-level mistakes.
This is the limitation of Linux Kernel, so there is no way to overcome it. However, there are two "Roundabout tactics" to reduce possible problems, one is the unique identification method of the UUID device, and the othe
perform the patch operation (assuming that the patch-2.4.0test8 is already in the/usr/src directory, otherwise, you need to copy the file to/usr/src first ):
# Patch-P0
Now we have upgraded the kernel source program to the latest version. Let's start the kernel compilation journey.
Preparations
The first command to be run is:
# Cd/usr/src/Linux; Make mrproperThis command ensures that the source code directory does not contain the correct. o file and file dependencies. This step can be omitted
patch-2.4.0test8 is already in the/usr/src directory, otherwise, you need to copy the file to/usr/src first ):
# Patch-P0
Now we have upgraded the kernel source program to the latest version. Let's start the kernel compilation journey.
Preparations
The first command to be run is:
# Cd/usr/src/Linux; Make mrproper
This command ensures that the source code directory does not contain the correct. o file and file dependencies. This step can be omitted because we use the downloaded full source prog
Bash-2.05 # format-e c0t1d0
Selecting c0t1d0
[Disk formatted]
Format menu:Disk-select a diskType-select (define) a disk typePartition-select (define) a partition tableCurrent-describe the current diskFormat-format and analyze the diskRepair-repair a defective sectorLabel-write label to the diskAnalyze-surface analysisDefect-defect list managementBackup-SearchBackupLabelsVerify-read and display labelsInquiry-show vendor, product and revisionScsi-independent
or later. And if you want to add protection to this file system, you will have des.1.tar.gz
This program. Note: This is not related to the network. We recommend that you compile it into the module [] RAM disk suppscsi SCSI device support ---> which contains USB support. You need to select [] SCSI Device Support USB, [] legacy/proc/SCSI/support USB must be select
file to/usr/src first ):
# Patch-P0
6. kernel CompilationThe first command to be run is:
# Cd/usr/src/Linux# Make mrproper
This command ensures that the source code directory does not contain the correct. o file and file dependencies. This step can be omitted because we use the downloaded full source program package for compilation. If you use these source programs to compile the kernel multiple times, you 'd better run this command first.Make sure that the ASM, Linux, and
you also download the patch file, such as the patch-2.4.0test8, you can perform the patch operation (assuming that the patch-2.4.0test8 is already in the/usr/src directory, otherwise, you need to copy the file to/usr/src first ): # Patch-P0 Now we have upgraded the kernel source program to the latest version. Let's start the kernel compilation journey. Preparations The first command to be run is: # Cd/usr/src/Linux; Make mrproper This command ensures that the source code directory does n
", which forms multiple links, if a disk is selected from the storage on the host, many disks may be released on the host, which will make the operator unable to choose which disk to operate. To avoid this cumbersome disk link, the multi-path software is used to aggregate multiple paths. It facilitates disk management and load balancing. If one link is disconnected, other links are still available, which will not affect disk access.
Several multi-path software:
(1) IBM host and IBM storage: RDA
CompilationThe first command to be run is:
# Cd/usr/src/Linux# Make mrproper
This command ensures that the source code directory does not contain the correct. o file and file dependencies. This step can be omitted because we use the downloaded full source program package for compilation. If you use these source programs to compile the kernel multiple times, you 'd better run this command first.Make sure that the ASM, Linux, and SCSI links in the/
The first command to be run is:
# Cd/usr/src/Linux
# Make mrproper
This command ensures that the source code directory does not contain the correct. o file and file dependencies. This step can be omitted because we use the downloaded full source program package for compilation. If you use these source code to compile the kernel multiple times, you 'd better run this command first.
Make sure that the ASM, Linux, and SCSI links in the/usr/include/dir
connection component between the hard disk and the host system. it is used to transmit data between the hard disk cache and the host memory. Different hard disk interfaces determine the connection speed between the hard disk and the computer. in the whole system, the advantages and disadvantages of hard disk interfaces directly affect the program running speed and system performance. From an overall perspective, hard disk interfaces are divided into four types: IDE, SATA,
is about 512 bytes. These are the basic components of the entire hard disk.2. hard disk interface
The hard disk interface is the connection component between the hard disk and the host system. it is used to transmit data between the hard disk cache and the host memory. Different hard disk interfaces determine the connection speed between the hard disk and the computer. in the whole system, the advantages and disadvantages of hard disk interfaces directly affect the program running speed and sys
Several methods for checking whether the currently running LINUX is in the VM or in the physical machine mentioned the escape problem in the VM yesterday. to escape, first check whether the current operating system is a VM, the following provides several methods to check in LINUX: first, we recommend factervirtual with the permission of a common user, it is agreed that several methods should be used to check whether the currently running LINUX is in the VM or in the physical machine. yesterday w
interfaces directly affect the program running speed and system performance. From an overall perspective, hard disk interfaces are divided into four types: IDE, SATA, SCSI, and fiber-optic channels. IDE interface hard disks are mostly used in household products and also partly used on servers, SCSI interface hard disks are mainly used in the server market, while fiber channel is only used on high-end serve
Configure iSCSI network storage in CentOS 6.3
I. Introduction
ISCSI (internet SCSI) is a SCSI instruction set that is used by hardware devices and can run on the upper layer of the IP protocol, this command set allows you to run the SCSI protocol on an IP network so that it can select routes on high-speed Gigabit Ethernet. ISCSI is a new storage technology that c
format using TAR. The first tape archive begins storage (tar #0) from the physical start of the tape. The next step is the tar #1, and so on.Tape Device name on Unix
/dev/rmt/0 or/DEV/RMT/1 or/dev/rmt/[0-127]: A generic tape device name on Unix. The tape is automatically inverted back.
/dev/rmt/0n: Feature with no rewind, in other words, after the tape is used, stay in the current state and wait for the next command.
/DEV/RMT/0B: Using the tape interface, which is BSD behavior.
mount point#mount-O loop-t iso9660/home/sunky/mydisk.iso/mnt/vcdromNote: You can access all the files in the disk image file Mydisk.iso using/mnt/vcdrom. Hooking up a removable hard diskFor Linux systems, the USB interface's removable hard disk is treated as a SCSI device. Before inserting a removable hard disk, you should first use Fdisk–l or more/proc/partitions to view the system's hard disk and hard disk partition.[Root at Pldyrouter/]# fdisk-ld
I. Introduction to the LINUX/PROC catalogueThe Linux kernel provides a mechanism for accessing kernel internal data structures and changing kernel settings through the/proc file system at run time. Proc File system is a pseudo file system, it only exists in memory, and does not occupy the storage space. It provides an interface to the operation of accessing system kernel data in a file system manner.Users and applications can get information about the system through proc and can change some of t
files is as follows:
[boot loader]
Timeout=30
Default=multi (0) disk (0) rdisk (0) partition (1) \ Windows
[Operating Systems]
multi (X) disk (Y) rdisk (Z) partition (Q) \windows= "Microsoft WINDOWS XP Professional"/fastdetect
SCSI (X) disk (Y) rdisk (Z) partition (Q) \win98= Microsoft Windows/fastdetect
The file is divided into boot loader (boot loading) and operating systems (operating system) two parts. In the Boot load section, TIMEOUT=XX
Theoretical part:A Disks and partitions:1, disk partition representation: Common hard disks can be divided into primary partitions, extended partitions, and logical partitions. Typically, the primary partition is only 4, and the extended partition is considered a special primary partition type, and logical partitioning can be established in the extended partition. Primary partitions are typically used to install operating systems, and extended partitions are used to store file data.2, the hard d
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.