Windows 7 และ Server 2008 Configuring Disks

0
355

บทสรุปย่อ เพื่อทบทวนความเข้าใจ

· การบริหารจัดการ Disk ของ Windows 7 สามารถเข้าถึงหรือใช้เครื่องมือได้จากเครื่องมือ GUI = Disk Management และ Diskpart.exe Command Line

· การบริหารจัดการ disk มีตัวเลือกให้ใช้เช่น Disk Cleanup , Disk Defragmenting,

· การตั้งค่า Disk โดยใช้ Group Policy ได้ด้วย (Removable Storage)

Master Boot Record กับ GUID Partition Table

Windows Server 2008 Configuring Disks

คำสั่งย่อสำหรับเปิด Disk Management = diskmgmt.msc

การจัดการ Removable Storage วิธีการใช้งานโดย Local Group Policy

Windows Server 2008 Configuring Disks

Configuring Disks

เปิดเครื่อง W7-02 เพื่อทดสอบ Disk Configurations

คำสั่งสำหรับ Convert Disk เป็น GPT ด้วย Diskpart

· List disk

· Select disk xx

· Convert gpt

1. Create a simple volume by using Disk Management.

อันนี้ใช้ GUI ในการสร้าง Disk Volume

2. Create a simple volume by using Diskpart.exe.

คำสั่งสำหรับ Create Simple Volume

· List disk

· Select disk xx

· Create Partition Primary size=100

· List Partition

· Select Partition xx

· Format fs=ntfs label=simple100MB quick

· assign

3. Resize a simple volume.

4. Resize a simple volume with Diskpart.exe.

· Shrink a volume (reduce size of partition)

§ List disk

§ Select disk xx

§ List volume

§ Select volume xx

§ Shrink desired = 50

§ exit

· Extends the volume or partition (increase size) in DiskPart

5. Create a spanned volume.

ต้องทำการ Convert เป็น Dynamic Disk ก่อนนะครับ

6. Create a striped volume.

ต้องทำการ Convert เป็น Dynamic Disk ก่อนนะครับ

Options: การสร้าง Spanned

Windows Server 2008 Configuring Disks

: Configuring Disk Quotas (Optional)

1. Create disk quotas on a volume.

Windows Server 2008 Configuring Disks

2. Create test files.

รูปแบบคำสั่งในการสร้างไฟล์ทดสอบ

§ Fsutil file createnew 2mb-file 2097152

§ Fsutil file createnew 1kb-file 1024

3. Test the configured quotas by using a standard user account to create files.

ลองทดสอบการตั้ง Quota และดูรายงานดูครับ

4. Review quota alerts and event-log messages.

เปิด Quota Entries แล้วเปิด Event Viewer ไปด้วย

Windows Server 2008 Configuring Disks