Local Storage Flashcards
Partition table format:
How many partitions per drive can MBR / GPT handle ?
MBR : 4 Primary partitions
GPT : 128 partitions
Partition table format:
How big can MBR / GPT disks be ?
MBR: up to 2 TB
GPT: up to 128 exabytes
Disk type:
Can the disk type be converted without data loss ?
Basic disk -> dynamic disk: yes
Dynamic disk -> Basic disk: no
What file systems are there ?
FAT (partitions up to 2GB) FAT32 (partitions up to 2TB) exFAT (for flash drives) NTFS ReFS
How to view information about the NTFS volume ?
fsutil fsinfo volumeinfo f:
How to view the sector information about the NTFS volume ?
fsutil fsinfo sectorinfo f:
Create a new dynamically resizing .vhd file of 10 GB with PS
New-VHD -Path c:\sales.vhd -Dynamic -SizeBytes 10Gb
Cmdlets to
- mount a VHD,
- initialize it,
- create a Partition
- format it
- Mount-VHD
- Initialize-disk -PartitionStyle MBR
- New-Partition -AssignDriveLetter -UseMaximumSize
- Format-Volume -FileSystem NTFS
- Confirm:$false -Force
Change the physical sector size of MyDisk.vhdx with PS
Set-VHD –Path MyDisk.vhdx –PhysicalSectorSizeBytes 4096
Cmdlets to
- get Information about a VHD
- convert it to vhdx
- Get-VHD
- Convert-VHD
What kind of volumes does 2016 support ?
- simple
- spanned
- striped (RAID 0)
- mirrored (RAID 1)
- RAID 5
but only on dynamic disks
How many disks can be used for a spanned volume ?
2 - 32
Tools to create and manage volumes
Server Manager
Disk Management
Diskpart.exe
Power Shell
In Server Manager -> Files and Storage Services ->
Volumes
What can be done with existing volumes ?
Manage Drive Letter And Access Paths Format Extend Volume Delete Volume Properties
Cmdlet to remove all partitions and volumes from a disk
Clear-disk