Linux operational logical partition and swap partition

Source: Internet
Author: User

Job One:

1) Add a 15G SCSI hard disk before opening the Linux system

2) Turn on the system, right click on the desktop, open the terminal

3) for the newly added hard disk partition, a primary partition size of 5G, the remaining space to the extended partition, on the extended partition divided 1 logical partitions, the size of 5G

4) format primary partition as EXT3 system

[[Email protected] Desktop]# MKFS.EXT3/DEV/SDC1

5) Set logical partition to swap partition

[[Email protected] Desktop]# MKSWAP/DEV/SDC5

6) enable the Swap partition for the previous step

[[Email protected] Desktop]# SWAPON/DEV/SDC5

7) View the status of the swap partition

[[Email protected] Desktop]# SWAPON/DEV/SDC5

Linux operational logical partition and swap partition

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.