5.lvm*********************For creating an extensible disk# # 1.LVM Build # # pvs //View physical Volume information vgs //View physical volume group information LVs //View Logical Volume Information established: Fdisk/dev/vdb //divides the physical partition and modifies the partition ID to 8e pvcreate/ DEV/VDB1 //Creating a physical volume Vgcreate hello/dev/ VDB1 //Creating a physical volume gro
RAID (Redundant array of inexpensive disks) is referred to as a disk array, combining multiple hard disks into a single logical sector, so that the performance of poor performance of the hard drives, to reach even more valuable, larger capacity of the hard disk. and increase the data integration, fault tolerance, processing capacity, capacity. This blog only describes the most commonly used RAID-5RAID-
Label:Write in frontThe previous article updated the login interface of the network disk and the proportional compression function of the user avatar. Today, toss the style of the page, will be looking for a template from the Web to apply in the project.Series Articles[Ef]vs15+ef6+mysql Code First mode Actual combat MVC5+EF6+MYSQL Enterprise Network Disk Combat (1) Actual combat MVC5+EF6+MYSQL Enterprise Ne
Problem:When you add a hard disk to ESXi, you are prompted with the following error: "On ESXi" xxx.xxx.xxx.xxx "called the object" Ha-datastoresystem " Hostdatastoresystem.queryvmfsdatastorecreateoptions "Failed".Problem Analysis:This disk is preceded by a boot disk on another virtual host, which may be related to this. There are other reasons for this:
Before the speech, ask everyone a question, do not start timing AH!(first, plus gesture) who can say the features of the U-disk?(second, plus gesture) Ask who is a freelancer, or start a business and do it all by yourself?All right, thank you for your wonderful answers!Today, the topic of my speech is "the internet era of U-disk survival mode"; "U disk Survival"
1, first check whether the USB high-speed transmission mode is turned on, or check whether the USB2.0 opened. Different motherboard BIOS settings are also different, the specific operation can be based on the motherboard model, to operate, the USB 2.0 Controller Mode set to HiSpeed
2, the U disk inserted into the computer USB interface, open the choice U disk right button, select Properties
Summary of common Linux commands (5) disk management and common linux commands
Disk Management
Command
Option
Annotation
Example
Df
[Option]
Display disk space usage
Displays the disk space as an employee, in MB
Identification Disk (/SBIN/SCSI_ID)
Oracle Linux 5 uses the following script:
#! /bin/shfor I in B c D E F g do echo "kernel==\" sd*\ ", bus==\" scsi\ ", program==\"/sbin/scsi_id-g-u-s/block/\ $na Me\ ", result==\" '/sbin/scsi_id/block/sd$i ' \ ", name=\" asm-disk$i\ ", owner=\" grid\ ", group=\" asmadmin\ ", MODE=\" 0660\ ""
Oracle Lin
know much about this command (I don't know what to say, but I will use it ),It can be used to view system mounting information and perform mounting operations..
Let's take a look at the mounting status:
[Root @ localhost ~] # Mount/Dev/sda1 on/type ext3 (RW)Proc on/proc type proc (RW)Sysfs on/sys type sysfs (RW)Devpts on/dev/PTS type devpts (RW, gid = 5, mode = 620)Tmpfs on/dev/SHM type tmpfs (RW)None on/proc/sys/fs/binfmt_misc type bi
Linux disk and file system management (5) _ creating swap partitionsSwap partition swap: When the cpu usage is insufficient, it will temporarily occupy a portion of the hard disk space to store memory information, which is the swap partition. Create a new swap partition swap: 1 create a new partition, set the Id, create a swap partition 2 format the swap partitio
' Authorization Required. ';
Exit
} else if ((Isset ($PHP _auth_user)) (Isset ($PHP _auth_pw)) {
/* values contain some values, so check to see if they ' re correct */
if ($PHP _auth_user! = "Validname") | | ($PHP _AUTH_PW! = "Goodpassword")) {
/* If Either the username entered is incorrect, or the password entered is incorrect, send the headers causing dialog box to appear */
Header (' Www-authenticate:basic realm= ' My Private Stuff ');
Header (' http/1.0 401 Unauthorized ');
Echo ' Authoriz
Linux practice engineer study Note 5: Use the disk quota or modify the/etc/fstab file to enable the quota for each file system-add the option usrquota
The default system kernel supports quota.
Mount-o usrquota, maid/dev/sdb1/mnt/d1 or
Mount-o remount, usrquota, kgquota/
You can also modify the/etc/fstab file to enable the quota of each file system-add the options usrquota
Example:
Set LABEL =/home ext3 defa
more informationSwapoff: Disable swap partitionswapoff [option] [DEVICE]-A: Disable all swap partitions-V: Show more informationExample:#1 Create a new partition swap[[emailprotected]~]#fdisk/dev/sdawelcometofdisk ( util-linux2.23.2). changeswillremaininmemoryonly,untilyoudecideto Writethem. Becarefulbeforeusingthewritecommand. command (mforhelp): nallprimarypartitionsareinuseadding logicalpartition9Firstsector (107507712-251658239,default107507712): NBSP;USINGNBSP;DEFAULTNBSP;VALUENBSP;107507
. handling of command line burning:
1) first, build the required backup data into an image file iso, and use the mkisofs command for processing.
2) burn the image file to a CD/DVD and use cdrecord to process it.
3 dd commands can be used not only to create a large file, but also to back up data using dd commands.
4 dd if = "input file" of = "output file"
If it is input file or device, of IS output file or output device.
Dd if =/etc/passwd of =/tmp/passwd. back is used to back up/etc/passwd to/tm
, which can be processed by data flow redirection
-D Uncompressed Parameters
-T can be used to verify the consistency of a compressed file to see if there are errors in the file
-V can be used to display information such as the compression ratio of the original file/compressed file
4 When we use gzip compression, the default state of the original file will be compressed called. gz file, the original file does not exist.
5 use gzip compressed file
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.