Implement disk partition and disk quota in RedHatLinux5

Source: Internet
Author: User
In today's experiment, we added a new hard disk to the RedHatLinux5 host and created a disk partition and a disk quota (two SCSI hard disks were added to the host ). 1. First, run the "fdisk-l" command to confirm the hard disk devices (/dev/sdb and/dev/sdc) recognized by the system ). 2. use the newly added first hard disk (/dev/sdb) to complete today's experiment. Next, start partitioning the hard disk and run "fdisk/dev/sdb ", enter the interactive partition management interface and enter "n" to create

In today's experiment, we added a new hard disk to the Red Hat Linux5 host and created a disk partition and a disk quota (two SCSI hard disks were added to the host ).

1. First, run the "fdisk-l" command to confirm the hard disk devices (/dev/sdb and/dev/sdc) recognized by the system ).

2. use the newly added first hard disk (/dev/sdb) to complete today's experiment. Next, start partitioning the hard disk and run "fdisk/dev/sdb ", go to the interactive partition management interface, enter "n" to create a partition, enter "p" to create the first primary partition, and enter "1" to set the first primary semicolon to 1, that is, sdb1. the disk space for this partition is 20000 MB, which is about 20 GB. Enter "p" to view the information of the first partition/dev/sdb1 just created:

3. Create the second partition/dev/sdb2 in the same way:

4. Divide the remaining disk space into extended partitions, enter "n", and then enter "e" to create the extended partition. The Partition Number is 4, that is, sdb4:

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.