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: