This document provides instructions for 3 exercises on configuring disks and updating device drivers in a virtual machine:
1. The first exercise describes how to create, resize, and delete simple, spanned, and striped volumes using Disk Management and DiskPart.
2. The second exercise is optional and provides steps for configuring disk quotas on a volume and testing them.
3. The third exercise demonstrates how to update and rollback a device driver for a mouse.
This document provides instructions for 3 exercises on configuring disks and updating device drivers in a virtual machine:
1. The first exercise describes how to create, resize, and delete simple, spanned, and striped volumes using Disk Management and DiskPart.
2. The second exercise is optional and provides steps for configuring disk quotas on a volume and testing them.
3. The third exercise demonstrates how to update and rollback a device driver for a mouse.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4
Module 2
Lab Answer Key: Configuring Disks and Device
Drivers Contents: Exercise 1: Configuring Disks 3 Exercise 2: Configuring Disk Quotas (Optional) 7 Exercise 3: Updating a Device Driver
Lab: Configuring Disks and Device
Drivers Computers in this lab Before you begin the lab, you must start the virtual machines. The virtual machines used at the start of this lab are: • AMA-DC1 • AMA-CL1 Start the virtual machines 1. On the host computer, Open Oracle VM Virtualbox Manager. 2. In the Virtual Machines pane, click the virtual machine name. In the Actions pane, under the virtual machine name, click Start.
Exercise 1: Configuring Disks
Task 1: Create a simple volume by using disk management 1. Log on to the AMA-CL1 virtual machine as AMAES\Administrator with a password of Pa$$w0rd. 2. Click Start, right-click Computer, and then click Manage. 3. In the Computer Management (Local) list, click Disk Management. 4. In the Initialize Disk dialog box, click OK. 5. In Disk Management, on Disk 1, right-click Unallocated, and then click New Simple Volume. 6. In the New Simple Volume wizard, click Next. 7. On the Specify Volume Size page, in the Simple volume size in MB box, type 100, and then click Next. 8. On the Assign Drive Letter or Path page, click Next. 9. On the Format Partition page, in the Volume label box, type Simple, click Next, and then click Finish.
Task 2: Create a simple volume by using diskpart.exe
1. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator. 2. At the command prompt, type diskpart, and then press ENTER. 3. At the DISKPART> prompt, type list disk, and then press ENTER. 4. At the DISKPART> prompt, type select disk 2, and press ENTER. 5. At the DISKPART> prompt, type create partition primary size=100, and press ENTER. 6. At the DISKPART> prompt, type list partition, and press ENTER. 4 Lab Answer Key: Configuring Disks and Device Drivers 7. At the DISKPART> prompt, type select partition 1, and press ENTER. 8. At the DISKPART> prompt, type format fs=ntfs label=simple2 quick, and press ENTER. 9. At the DISKPART> prompt, type Assign, and press ENTER.
Task 3: Resize a simple volume
1. Switch to Disk Management. 2. In Disk Management, on Disk 1, right-click Simple (F:), and then click Extend Volume. 3. In the Extend Volume wizard, click Next. 4. On the Select Disks page, in the Select the amount of space in MB box, type 100, click Next, and then click Finish.
Task 4: Resize a simple volume with diskpart.exe
1. Switch to the Command Prompt window. 2. At the DISKPART> prompt, type list disk, and press ENTER. 3. At the DISKPART> prompt, type select disk 1, and press ENTER. 4. At the DISKPART> prompt, type list partition, and press ENTER. 5. At the DISKPART> prompt, type select partition 1, and press ENTER. 6. At the DISKPART> prompt, type shrink desired = 100, and press ENTER. 7. At the DISKPART> prompt, type exit, and press ENTER.
Task 5: Create a spanned volume
1. Switch to Disk Management. 2. In Disk Management, on Disk 1, right-click Simple (F:), and then click Delete Volume. 3. In the Delete simple volume dialog box, click Yes. 4. In Disk Management, on Disk 2, right-click simple2 (G:), and then click Delete Volume. 5. In the Delete simple volume dialog box, click Yes. 6. In Disk Management, on Disk 1, right-click Unallocated, and then click New Spanned Volume. 7. In the New Spanned Volume wizard, click Next. 8. On the Select Disks page, in the Select the amount of space in MB box, type 100 9. In the Available list, click Disk 2, and then click Add >. 10. In the Selected list, click Disk 2, and in the Select the amount of space in MB box, type 150, and then click Next. 11. On the Assign Drive Letter or Path page, click Next. 12. On the Format Partition page, in the Volume label box, type Spanned, click Next, and then click Finish. 13. In the Disk Management dialog box, click Yes.
Task 6: Create a striped Volume
1. In Disk Management, right-click Disk 1, and then click New Striped Volume. 2. In the New Striped Volume wizard, click Next. 3. On the Select Disks page, in the Available list, click Disk 2, and then click Add >. 4. On the Select Disks page, in the Select the amount of space in MB box, type 1024, and then click Next. 5. On the Assign Drive Letter or Path page, click Next. 6. On the Format Partition page, in the Volume label box, type Striped, click Next, and then click Finish. 7. Close Computer Management.
Exercise 2: Configuring Disk Quotas (Optional)
Task 1: Create quotas on a volume 1. Click Start, and then click Computer. 2. Right-click Striped (G:), and then click Properties. 3. In the Striped (G:) Properties dialog box, click the Quota tab. 4. On the Quota tab, select the Enable quota management check box. 5. Select the Deny disk space to users exceeding quota limit check box. 6. Click Limit disk space to, in the adjacent box, type 10, and in the KB list, click MB. 7. In the Set warning level to box, type 5, and in the KB list, click MB. 8. Select the Log event when a user exceeds their warning level check box, and then click OK. 9. In the Disk Quota dialog box, review the message, and then click OK.
Task 2: Create test files
1. Switch to the Command Prompt window. 2. At the command prompt, type G: , and then press ENTER. 3. At the command prompt, type fsutil file createnew 1mb-file 10000, and then press ENTER. 4. At the command prompt, type fsutil file createnew 1kb-file 1024, and then press ENTER. Note: These filenames enable you to identify them later as being 1 megabyte (MB) and 1 kilobyte (KB), respectively. 5. Close the Command Prompt window.
Task 3: Test the configured quotas by using a standard user account to
create files 1. Log off, and then log on to the AMA-CL1 virtual machine as AMAES\Randy with a password of Pa$$w0rd. 2. Click Start, click Computer, and then double-click Striped (G:). 3. In the toolbar, click New Folder. 4. Type Randy’s files, and then press ENTER. 5. In the file list, right-click 1mb-file and drag it to Randy’s files, and then click Copy here. 6. Double-click Randy’s files. 7. Right-click 1mb-file, and then click Copy. 8. Press CTRL+V four times. 9. In the Address bar, click Striped (G:). 10. In the file list, right-click 1kb-file and drag it to Randy’s files, and then click Copy here. 11. Double-click Randy’s files. 12. Right-click 1mb-file, and then click Copy. 13. Press CTRL+V four times. 14. Press CTRL+V again. 15. In the Copy Item dialog box, review the message, and then click Cancel
Task 4: Review quota alerts and event-log messages
1. Log off, and then log on to the AMA-CL1 virtual machine as AMAES\administrator with a password of Pa$$w0rd. 2. Click Start, and then click Computer. 3. Right-click Striped (G:), and then click Properties. 4. In the Striped (G:) Properties dialog box, click the Quota tab, and then click Quota Entries. 5. In the Quota Entries for Striped (G:), in the Logon Name column, doubleclick AMAES\adam. 6. In the Quota Settings for Randy Llandelar (\Randy) dialog box, click OK. 7. Close Quota Entries for Striped (G:). 8. Close Striped (G:) Properties. 9. Click Start, and in the Search box, type Event. 10. In the Programs list, click Event Viewer. 11. In the Event Viewer (Local) list, expand Windows Logs, and then click System. 12. Right-click System, and then click Filter Current Log. 13. In the <All Events IDs> box, type 37, and then click OK. 14. Examine the listed entry. 15. Close all open windows.
Exercise 3: Updating a Device Driver
Task 1: Update a device driver 1. Click Start, right-click Computer, and then click Manage. 2. In Computer Management, click Device Manager. 3. Expand Mice and other pointing devices, right-click Microsoft PS/2 Mouse, and then click Update Driver Software. 4. In the Update Driver Software – Microsoft PS/2 Mouse dialog box, click Browse my computer for driver software. 5. On the Browse for driver software on your computer page, click Let me pick from a list of device drivers on my computer. 6. In the Show compatible hardware list, click PS/2 Compatible Mouse, and then click Next. 7. Click Close. 8. In the System Settings Change dialog box, click Yes to restart the computer.
Task 2: Rollback a device driver
1. Log on to the AMA-CL1 virtual machine as AMAES\administrator with a password of Pa$$w0rd. 2. Click Start, right-click Computer, and then click Manage. 3. In Computer Management, click Device Manager. 4. Expand Mice and other pointing devices, right-click PS/2 Compatible Mouse, and then click Properties. 5. In the PS/2 Compatible Mouse Properties dialog box, click the Driver tab. 6. Click Roll Back Driver. 7. In the Driver Package rollback dialog box, click Yes. 8. Click Close, and then in the System Settings Change dialog box, click Yes to restart the computer. 9. Log on to the AMA-CL1 virtual machine as AMAES\administrator with a password of Pa$$w0rd. 10. Click Start, right-click Computer, and then click Manage. 11. In Computer Management, click Device Manager. 12. Expand Mice and other pointing devices, and then click Microsoft PS/2 Mouse. 13. Verify that you have successfully rolled back the driver. 14. Close Computer Management.