Simplifying Solutions
Adding a disk is easy enough when it is a virutal machine. Making use of the disk with diskpart still has a bit of a learning curve for me.
diskpart
DISKPART> list disk
DISKPART> select disk 1
DISKPART> create partition primary
DiskPart has encountered an error: The media is write protected.
See the System Event Log for more information.
DISKPART> attributes disk
Read-only : Yes
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
——– ———- ——- ——- — —
Disk 0 Online 36 GB 0 B
* Disk 1 Offline 127 GB 127 GB
DISKPART> attributes disk clear readonly
Disk attributes cleared successfully.
DISKPART> online disk
DiskPart successfully onlined the selected disk.
DISKPART> convert dynamic
DiskPart successfully converted the selected disk to dynamic format.
DISKPART> create volume simple
DiskPart successfully created the volume.
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
——– ———- ——- ——- — —
Disk 0 Online 36 GB 0 B
* Disk 1 Online 127 GB 0 B *
DISKPART> list part
Partition ### Type Size Offset
————- —————- ——- ——-
Partition 1 Dynamic Data 127 GB 32 KB
DISKPART> list vol
Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 E 20081030_12 CDFS DVD-ROM 342 KB Healthy
Volume 1 C NTFS Partition 36 GB Healthy System
* Volume 2 RAW Simple 127 GB Healthy
DISKPART> format fs=NTFS label="FTP data"
100 percent completed
DiskPart successfully formatted the volume.
DISKPART> assign letter=d
DiskPart successfully assigned the drive letter or mount point.
DISKPART> list vol
Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 E 20081030_12 CDFS DVD-ROM 342 KB Healthy
Volume 1 C NTFS Partition 36 GB Healthy System
* Volume 2 D FTP data NTFS Simple 127 GB Healthy
Comments Closed.