Module 6: Managing Data by Using NTFS 33 Lab B: Configuring Disk Compression and Quotas Topic Objective To introduce the lab. Lead-in In this lab, you will configure disk compression and quotas. *****************************ILLEGAL FOR NON-TRAINER USE****************************** Explain the lab objectives. Objectives After completing this lab, you will be able to: Configure an NTFS volume for compression. Assign disk quotas for a user account. Prerequisites Before working on this lab, you must have: Knowledge of the NTFS file system. Knowledge of the difference between a workgroup and a domain. Knowledge of assigning quotas on a NTFS file system. Lab Setup To complete this lab, you need a computer running Windows 2000 Advanced Server configured as a member server. Estimated time to complete this lab: 30 minutes
34 Module 6: Managing Data by Using NTFS Exercise 1 Configuring Disk Compression Scenario To provide the maximum storage capacity for your network, the IT manager has decided that NTFS disk compression will be enabled for data folders on all member servers. You have been tasked with enabling disk compression for specified folders on your member server. Goal In this exercise, you will enable disk compression and view the effects of compression on the Inetpub folder and subfolders. 1. Log on to nwtraders as Adminx (where x is your student number) with the password of domain and configure Windows Explorer to display compressed files and folders in another color. 2. Compress the Inetpub folder hierarchy. a. Log on using the following information: User name: Adminx (where x is your assigned student number) Password: domain Log on to: nwtraders b. In Windows Explorer, on the Tools menu, click Folder Options. c. In the Folder Options dialog box, on the View tab, select the Display compressed files and folders with alternate color check box, and then click OK. a. In the console tree, expand Local Disk (C:), right-click Inetpub, and then click Properties. What are the Size and Size on disk values for the Inetpub folder? Answers will vary. 2. (continued) b. In the Inetpub Properties dialog box, click Advanced. c. In the Advanced Attributes dialog box, under Compress or Encrypt attributes, select the Compress contents to save disk space check box, and then click OK. d. Click OK to close the Inetpub Properties dialog box. e. In the Confirm Attribute Changes dialog box, click Apply changes to this folder, subfolders and files, and then click OK. In the console tree, the Inetpub folder appears in a different color. f. Open the Properties dialog box for the Inetpub folder.
Module 6: Managing Data by Using NTFS 35 What are the Size and Size of disk values for the Inetpub folder? How much disk space does using disk compression save? (Hint: compare the values recorded before disk compression was enabled with the values after disk compression was enabled.) Answers will vary. 2. (continued) g. Click OK to close the Inetpub Properties dialog box.
36 Module 6: Managing Data by Using NTFS Exercise 2 Assigning Disk Quotas Scenario The users on your network store files on your server, and most of them have not been trained in proper disk storage space management. Therefore, your server is always running out of disk space. The IT managers for your department want you to limit the amount of disk space on your server that is available to users. You must enable disk quotas on your server and limit storage space to 10 MB per user. When the users have used 60 percent of their allotted storage space, you want them to receive a message indicating that they are close to exceeding their allotted storage space. Goal In this exercise, you will enable the disk quota system on the drive C: partition, and then create a console containing the Local User Manager snap-in. You will then use Local User Manager to enable the guest account to which you will assign a disk quota. 1. Configure default quota management settings for drive C. Disk Space Limit: 10 MB Disk Space Warning: 6 MB a. In Windows Explorer, display the Properties dialog box for Local Disk (C:). b. In the Local Disk (C:) Properties dialog box, on the Quota tab, select the Enable quota management and the Deny disk space to users exceeding quota limit check boxes. c. Under Select the default quota limit for new users on this volume, verify that Limit disk space to is selected. d. In the Limit disk space to box, type 10 and then change the unit size to MB. e. In the Set warning level to box, type 6 and then change the unit size to MB. f. Click Apply. A message appears, warning you that the volume will be rescanned if you enable quotas. g. Click OK, and then click Quota Entries. h. On the Quota menu, click New Quota Entry. i. In the Select Users dialog box, in the Look in box, click Server (where Server is your assigned computer name). j. Under Name, click QuotaUser, click Add, and then click OK to close the Select Users dialog box. The Add New Quota Entry dialog box appears. Notice that the quota limits that you set for drive C have been applied. k. Click OK to close the Add New Quota Entry dialog box. l. Close the Quota Entries for Local Disk (C:) window. m. Click OK to close the Local Disk (C:) Properties dialog box. n. Close any open windows, and then log off.
Module 6: Managing Data by Using NTFS 37 Exercise 3 Testing and Removing Quota Limits Scenario You have enabled disk quotas on your server and now need to test them to verify that they are operating as expected. To do this, you will set a quota limit and a warning level for the QuotaUser user account. You will then log on as that user and test the disk quota settings to ensure they are operating properly by copying enough data to the partition that you configured to exceed those limits. Goal In this exercise, you will test the quota settings for the QuotaUser account, and then remove the disk quota limits. 1. Log on to Server (where Server is your assigned computer name) with the password of password and test quota limits for the QuotaUser account by viewing the free space on drive C. Copy the Program Files folder to the My Documents folder. a. Log on using the following information: User name: QuotaUser Password: password Log on to: Server (where Server your assigned computer name) b. In Windows Explorer, in the console tree, click Local Disk (C:). How much free disk space is reported? Why? Less than 10 MB. This indicates that the quota is working properly. 1. (continued) c. Expand Local Disk (C:), right-click Program Files, and then click Properties. If disk quotas are working, will you be able to copy the entire Program Files folder logged on as QuotaUser? No. The disk space required to copy the entire Program Files folder would exceed the quota limit for the QuotaUser user account.
38 Module 6: Managing Data by Using NTFS 1. (continued) d. In the console tree, click OK to close the Program Files Properties dialog box. e. Right-click Program Files, and then click Copy. f. In the console tree, right-click My Documents, and then click Paste. A message appears, indicating that the copy process has begun. The Error Copying File or Folder message appears, indicating that there is not enough available disk space and instructing you to delete one or more files to make more disk space available. Why did you get this error message? This is the error message that appears when there is not enough available space to continue the copy operation due to quota limits. 1. (continued) g. Click OK to close the Error Copying File or Folder message. h. Close Windows Explorer, and then log off. 2. Log on to nwtraders as Adminx (where x is your assigned student number) with the password of domain and disable quota management for drive C. a. Log on using the following information: User name: Adminx (where x is your assigned student number) Password: domain Log on to: nwtraders b. In Windows Explorer, in the console tree, right-click Local Disk (C:), and then click Properties. c. On the Quota tab, clear the Enable quota management check box. d. Click Apply. Notice that the quota settings for drive C are no longer available. The Disk Quota message appears, warning you that if you disable quotas, the volume will be rescanned if you enable them later. e. Click OK to close the Disk Quota message. f. Click OK to close the Local Disk (C:) Properties dialog box. g. Close any open windows, and then log off.