Home  >  Article  >  Operation and Maintenance  >  Detailed information about partition size

Detailed information about partition size

零下一度
零下一度Original
2017-06-10 11:01:041927browse

This article mainly introduces how to resize partitions in Linux without loss. The editor thinks it is quite good. Now I will share it with you and give it as a reference. Let’s follow the editor and take a look at the situation: home: 500Groot: 50Groot partition is not enough. Idea: divide part of the space of the home partition into the root partition # Set the size of the home partition to 200G and release 300G space. $ lvreduce -L 200G /dev/centos/home # Expand free space to root partition $ lvextend -l +100%FREE /dev/centos/root # Use the command set that comes with the XFS file system to increase partition space $ xfs_growfs /dev/mapper/centos-root instance situation is mounted in the root directory partition /dev/mapp

1. Detailed introduction to lossless adjustment

Detailed information about partition size

Introduction: This article mainly introduces how to resize the partition losslessly in Linux. The editor thinks it is quite good, so I will share it with you now. Also as a reference for everyone. Let’s follow the editor to take a look at the situation: home: 500Groot: 50Groot partition is not enough. Idea: allocate part of the home partition space to the root partition # Set the home partition size to 200G and release 300G space $ lvreduce -L  ;200G /dev/centos/h...

2. Detailed introduction on how to resize the partition losslessly in Linux

Detailed information about partition size

Introduction: This article mainly introduces how to resize the partition in Linux without loss. The editor thinks it is quite good. Now I will share it with you and make it for everyone. refer to. Let’s follow the editor and take a look

3. Teach you how to adjust the partition size in Linux

Detailed information about partition size

Introduction: This article mainly introduces how to resize the partition losslessly in Linux. The editor thinks it is quite good. Now I will share it with you and give it as a reference. Let’s follow the editor to take a look

4. Centos5.8_x86_64+ASM+ORACLE11G

Introduction: Centos5 .8_x86_64+ASM+ORACLE11G operating system Centos5.8_64-bit installation desktop, turn off SELINUX and turn off the firewall, 1. Memory and swap partition size, the server can be installed with more than 2G memory, try to

5. RHEL6 installation Oracle 11gR2Introduction: 1 Install Oracle database software 1) Check basic requirements (mem: 1024M, swap: mem*1.5. You can skip) memory size grep MemTotal /proc /meminfo swap partition size g

6. Partition table

##Introduction: --Delete partition truncate table partition declare day number; begin day := 20110901; loop execute immediate 'alter table lbidw.TB_DW_MGR_01_DAY truncate partition DATA_' || day; day := day 1; exit when day 20110915; end loop; end; --Partition size SEL

7. Oracle Linux 4.7+Oracle10g RAC+Oracle 10g ASM

##Introduction: echo 3 /proc/sys/vm/drop_caches (can be released Memory) 0 Linux adds a swap partition: 1) Create a 512M empty file dd if=/dev/zero of=/tmp/swap1 bs=1M count=512 2) Format it into a swap partition mkswap /tmp/swap1 3) View the swap Partition size free 4) Mount the swap partition swapon /tmp/swap1 If you want to restart

[Related Q&A recommendations]:

linux - Questions about disk partition

The above is the detailed content of Detailed information about partition size. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn