Marco 2016 new Linux+python high-end Operation Seventh Week

Source: Internet
Author: User

1, the creation of a 10G partition, and the format of the Ext4 file system, (1)   requirements its block size of 2048,  reserved space percentage of 2,  volume labeled as mydata,  Default Mount property contains ACLs; (2)   Mount to the/data/mydata directory, require the mount to prohibit the program to run automatically, and do not update the file access timestamp; 2. Create a swap partition of size 1G, create a file system, and enable it; 3. Write a script (1), Get and list all the disk devices on the current system; (2) , displaying the space usage information for each partition on each disk device; 4. Summarize the different levels of RAID and its combination mode and performance; 5, create a RAID1 size of 10G, requires a free disk, and chunk size is 128k;6, Create a RAID5 device of size 4G, chunk size 256k, format Ext4 file system, require the boot automatically mount to the/backup directory, and do not update the access timestamp, and support ACL function; 7. Write a script (1)   Accept more than one file path as a parameter; (2)   shows the number of rows per file, (3)   summarizes the number of rows for each file, 8, write a script (1)   pass more than two strings as a user name, (2)   Create these users ; and the password with the user name; (3)   Summary instructions created a number of users; 9. Write a script, create a new 20 user, VISITOR1-VISITOR20, calculate the sum of their IDs, 10, write a script, separate statistics/etc/rc.d/rc.sysinit,/ The sum of the number of lines in the etc/rc.d/init.d/functions and/etc/fstab files that begin with the # number, and the total number of blank lines; 11. Write a script that shows the user name of all the default shell-bash users on the current system, UID and the sum of the UID of all such users; 12. Write a script that displays the user name of all the users who have additional groups on the current system, and how many such users are there; 13. Create a volume group of at least two physical volumes with a size of 20G; required, PE size 8M , and in the volume group to create a size of 5G logical Volume MYLV1, formatted as EXT4 file system, boot automatically mount to/users directory, support acl;14, new user magedu; its home directory is/users/magedu, and then SU switches to this user, Copy multiple files to home directory, 15, expand MYLV1 to 9G, ensure that the original data is fully available after the expansion, 16, reduce mylv1 to 7G, and ensure the original number after the reduction is completed.It is fully available; 17. Create a snapshot of Mylv1, and by backing up data, request to retain the original genera group and other information; 


Marco 2016 new Linux+python high-end Operation Seventh Week

Related Article

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.