Management practices for detailed configuration of logical volume LVM in Linux

Before configuring logical volume management and configuration, we think about a problem. we all know that Linux is a multi-user mode. when our preliminary plan causes insufficient hard disk space, in general, we add a new hard disk, partition and

Network Monitoring Tool tcpdump usage

First, explain the result format of tcpdump (refer to "laruence's Linux House dish"). The following data is captured by using the tcpdump command: 04: 00: 59.483389IP192.168.1.1.ssh192.168.1.2.netuitive: P46808: 46956 (148) ack365win1286404: 00: 59.4

CentOS6.5 the system uses the logical volume method to add a new hard disk.

An operating system has been installed on a server. after the cabinet is connected, you need to create a logical volume for system mounting. The entire disk is used as a partition, and the CentOS6.3 file system has a maximum of 16 T limit. First

Install javaslerac and use NFS for shared storage

1. The/etc/hostsfilemustcontainthefollowinginformation.127.0.0.1localhost. localdomainlocalhost # Public192.168.2.101rac1. localdomainrac1191_2.102rac2. localdoma 1. The/etc/hosts file must contain the followinginformation. 127.0.0.1 localhost.

OOM principle analysis

Usually there are two conditions for OOM: 1. no more pages can be allocated in the VM (note that linuxkernel delays page allocation policies and alloc only when used; therefore, malloc + memset is valid ). 2. insufficient user address space. in this

Ubuntu system modification default editor

Generally, the default editor in ubuntu is nano. you can directly edit a file to enable nano by default. For example, when "crontab-e" is input, the nano editor is opened by default. If anyone familiar with VIM wants the default editor to use vim,

Mount disk image files in lvm format

If it is not in lvm format, it is very convenient to pass the offset parameter to the mount command, for example: [root @ jcwkylxen-images] # fdisk-lucentos_vm1last_lba (): Idontknowhowtohandlefileswithmode81edYoumustsetcylinders. If the format is

Configure iSCSI storage in RHEL5/CentOS5 system

1. in RHEL5, download and install the iSCSI initiator package # rpm-ivhiscsi-initiator-utils-6.2.0.871-0.10.el5.i386.rpmwarning: iscsi-initiator-utils-6.2.0.871-0.10.el5.i386.rpm: HeaderV3DSAsignat 1. download and install the iSCSI initiator package

Iptables firewall command

1. define the default policy iptables [-tnat]-P [INPUT, OUTPUT, FORWARD, PREROUTING, OUTPUT, POSTROUTING] [ACCEPT, DROP]-P: defines the default policy. ACCEPT, DROP: ACCEPT or discard. -t: specifies the defined type. the default value is the filter

Vim configuration script

As the saying goes, to do a good job, you must first sharpen the tool. today, I will share with you my vi script configuration. I use f8, and the configuration file is/etc/vimrc, or ~ /. Vimrc. What I am talking about is the configuration added on

Insert row numbers in vim in Linux

1. Insert a row number in the text. a friend recently mentioned that an editor has a plug-in that can insert a row number and asked Vim if it is possible to insert a row number in the article. % $ ^ * #8 ~ #$ @#!...... Let's take a look at how many

Solution to LVM volume group with the same name in Linux

A friend's server hard drive went wrong over the weekend. The IDC had an IDE hard drive mounted to install the system, and then the former SATA hard drive was mounted. he wanted to reset the data, as a result, the buddy found that he was not sure.

Use of fdisk and LVM commands in Linux

I. fdisk disk partition [root @ localhost ~] # Fdisk-l (display the current Disk partition) Disk/dev/hdb: 5368 MB, 5366709120bytes16heads, 63 sectors/track, 10402cylindersUnitscylindersof1008*512516096 bytesDevi one. fdisk partition [Root @

Use lvm2 logical volume partition in Debian system

To do this experiment, you need to add a new hard disk, and then you can use the hard disk to test how to install and use lvm. For details about how to add a hard disk to vmware, Refer to Appendix 1. prepare a physical hard disk and partition 1.

Vim common command collection

Run the vim command: vimfilename: to open or create a file, place the cursor on the first line of vim + nfilename: to open the file, and place the cursor on the first line of vim + filename: open the file, place the cursor in the first line of the

Iptables study notes

The Iptables table has two filter tables and nat tables. There are four links without output ???? INPUT (in the filter table) FORWORD (in the filter table) PREROUTING (in the nat table) POSTROUTING (in the nat table) iptables [-t table] operation

Multiple methods for attaching hard disk partitions in Linux

1. use Autofs to automatically mount partitions 2. modify/etc/fstab3. write shell scripts and run the mount command automatically upon startup method 1. features of Autofs1 and Autofs: the difference between Autofs and Mount/Umount is that it is a

How to build an NFS server

To complete the final configuration of the NIS server, you must also configure the NFS server. NFS: The network file system is mainly a file sharing method between Linux hosts. by sharing the shared directory of the NFS server, the client only needs

Step 5 of tcpdump

The first four moves are all about tcpdump options. from this move, we will focus on the more commonly used "filter expressions" content. With these learning techniques, you will be able to do your best. [Master's Portal] it can send a "filter

Replace command of Linuxvi

In vi/vim, you can use the: s command to replace the string. In the past, we used only one format to replace the full text. today we found that there are many ways to write this command (vi is really powerful, and there are still a lot to learn).

Total Pages: 2732 1 .... 2040 2041 2042 2043 2044 .... 2732 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.