Disk Management
—————-
differnt types of DISKS are
IDE 133 Mb/s transfer rate 2 disks/channel
SCSI 320 Mb/s transfer rate 7/15 disks/channel
SATA 300 Mb/s transfer rate 1 disks/channel
for any type of disk eith we can make it basic or dynamic. For basic disk the unit of storage is partition(max 4 primary). But we can have 3 primay partitions, 1 Extended & in extended we can create any number of Logical partitions(max 10GB)
on the other hand in dynamic disk the unit of storage is volume. types of volumes are Simple, spanneded(multiple disks), RAID, 0, 1, 5. But OS can not be installed on dynamic disks. We can also combine multiple small disks and create one large volume
Practicle Implement these DISKS:
computer management-> Disk Management
partioning here is destructive. Partition magic is non-destructive partioning tool
command line way of disk management
————————————————
diskpart
DELETE – Delete an object.
DETAIL – Provide details about an object.
EXIT – Exit DiskPart
EXTEND – Extend a volume.
GPT – Assigns attributes to the selected GPT partition.
HELP – Prints a list of commands.
IMPORT – Imports a disk group.
INACTIVE – Marks the current basic partition as inactive.
LIST – Prints out a list of objects.
ONLINE – Online a disk that is currently marked as offline.
REM – Does nothing. Used to comment scripts.
REMOVE – Remove a drive letter or mount point assignment.
REPAIR – Repairs a RAID-5 volume with a failed member.
RESCAN – Rescan the computer looking for disks and volumes.
RETAIN – Place a retained partition under a simple volume.
SELECT – Move the focus to an object.
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
——– ———- ——- ——- — —
Disk 0 Online 4095 MB 8033 KB
Disk 1 Online 10 GB 10 GB *
Disk 2 Online 10 GB 10 GB *
Disk 3 Online 10 GB 10 GB *
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 D DVD-ROM 0 B Healthy
Volume 1 C NTFS Partition 4087 MB Healthy System
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> create volume simple size=2000
DiskPart successfully created the volume.
DISKPART> assign
DiskPart successfully assigned the drive letter or mount point.
DISKPART> assign /?
The arguments you specified for this command are not valid.
DISKPART> create volume simple size=2000
DiskPart successfully created the volume.
DISKPART> assign
DiskPart successfully assigned the drive letter or mount point.
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 D DVD-ROM 0 B Healthy
Volume 1 C NTFS Partition 4087 MB Healthy System
Volume 2 E RAW Simple 2000 MB Healthy
* Volume 3 F RAW Simple 2000 MB Healthy
DISKPART> select volume 2
Volume 2 is the selected volume.
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 D DVD-ROM 0 B Healthy
Volume 1 C NTFS Partition 4087 MB Healthy System
* Volume 2 E RAW Simple 2000 MB Healthy
Volume 3 F RAW Simple 2000 MB Healthy
DISKPART> assign letter=f
DiskPart could not assign the drive letter or mount point.
Make sure the drive letter or mount point is valid.
DISKPART> assign letter=g
DiskPart successfully assigned the drive letter or mount point.
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 D DVD-ROM 0 B Healthy
Volume 1 C NTFS Partition 4087 MB Healthy System
* Volume 2 G RAW Simple 2000 MB Healthy
Volume 3 F RAW Simple 2000 MB Healthy
DISKPART> SELEECT VOLUME 3
Microsoft DiskPart version 5.2.3790
ADD – Add a mirror to a simple volume.
ACTIVE – Marks the current basic partition as active.
ASSIGN – Assign a drive letter or mount point to the selected volume.
AUTOMOUNT – Enables and disables automatic mounting of basic volumes.
BREAK – Break a mirror set.
CLEAN – Clear the configuration information, or all information, off the
disk.
CONVERT – Converts between different disk formats.
CREATE – Create a volume or partition.
DELETE – Delete an object.
DETAIL – Provide details about an object.
EXIT – Exit DiskPart
EXTEND – Extend a volume.
GPT – Assigns attributes to the selected GPT partition.
HELP – Prints a list of commands.
IMPORT – Imports a disk group.
INACTIVE – Marks the current basic partition as inactive.
LIST – Prints out a list of objects.
ONLINE – Online a disk that is currently marked as offline.
REM – Does nothing. Used to comment scripts.
REMOVE – Remove a drive letter or mount point assignment.
REPAIR – Repairs a RAID-5 volume with a failed member.
RESCAN – Rescan the computer looking for disks and volumes.
RETAIN – Place a retained partition under a simple volume.
SELECT – Move the focus to an object.
DISKPART> ADD DISK3
The arguments you specified for this command are not valid.
DISKPART> ADD DISK2
The arguments you specified for this command are not valid.
DISKPART> ADD DISK 3
DiskPart succeeded in adding a mirror to the volume.
DISKPART> LIST VOLUME
Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 D DVD-ROM 0 B Healthy
Volume 1 C NTFS Partition 4087 MB Healthy System
* Volume 2 G RAW Mirror 2000 MB Healthy
Volume 3 F RAW Simple 2000 MB Healthy
DISKPART> SELECT VOLUME 3
Volume 3 is the selected volume.
DISKPART> ?
Microsoft DiskPart version 5.2.3790
ADD – Add a mirror to a simple volume.
ACTIVE – Marks the current basic partition as active.
ASSIGN – Assign a drive letter or mount point to the selected volume.
AUTOMOUNT – Enables and disables automatic mounting of basic volumes.
BREAK – Break a mirror set.
CLEAN – Clear the configuration information, or all information, off the
disk.
CONVERT – Converts between different disk formats.
CREATE – Create a volume or partition.
DELETE – Delete an object.
DETAIL – Provide details about an object.
EXIT – Exit DiskPart
EXTEND – Extend a volume.
GPT – Assigns attributes to the selected GPT partition.
HELP – Prints a list of commands.
IMPORT – Imports a disk group.
INACTIVE – Marks the current basic partition as inactive.
LIST – Prints out a list of objects.
ONLINE – Online a disk that is currently marked as offline.
REM – Does nothing. Used to comment scripts.
REMOVE – Remove a drive letter or mount point assignment.
REPAIR – Repairs a RAID-5 volume with a failed member.
RESCAN – Rescan the computer looking for disks and volumes.
RETAIN – Place a retained partition under a simple volume.
SELECT – Move the focus to an object.
DISKPART> EXTEND DISK 3 SIZE=4000
DiskPart successfully extended the volume.
DISKPART> CONVERT
Microsoft DiskPart version 5.2.3790
BASIC – Convert a disk from dynamic to basic.
DYNAMIC – Convert a disk from basic to dynamic.
GPT – Convert a disk from MBR to GPT.
MBR – Convert a disk from GPT to MBR.
DISKPART> CREATE VOLUME RAID DISK 1, 2, 3
The arguments you specified for this command are not valid.
DISKPART> LIST VOLUME
Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 D DVD-ROM 0 B Healthy
Volume 1 C NTFS Partition 4087 MB Healthy System
Volume 2 G RAW Mirror 2000 MB Healthy
* Volume 3 F RAW Spanned 6000 MB Healthy
DISKPART> CREATE VOLUME RAID DISK 1, 2, 3
The arguments you specified for this command are not valid.
DISKPART> CREATE VOLUME RAID DISK 1,2,3
DiskPart successfully created the volume.
DISKPART> LIST VOLUME
Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 D DVD-ROM 0 B Healthy
Volume 1 C NTFS Partition 4087 MB Healthy System
Volume 2 G RAW Mirror 2000 MB Healthy
Volume 3 F RAW Spanned 6000 MB Healthy
* Volume 4 RAW RAID-5 8 GB Rebuild
DISKPART> SLECT VOLUME 2
Microsoft DiskPart version 5.2.3790
ADD – Add a mirror to a simple volume.
ACTIVE – Marks the current basic partition as active.
ASSIGN – Assign a drive letter or mount point to the selected volume.
AUTOMOUNT – Enables and disables automatic mounting of basic volumes.
BREAK – Break a mirror set.
CLEAN – Clear the configuration information, or all information, off the
disk.
CONVERT – Converts between different disk formats.
CREATE – Create a volume or partition.
DELETE – Delete an object.
DETAIL – Provide details about an object.
EXIT – Exit DiskPart
EXTEND – Extend a volume.
GPT – Assigns attributes to the selected GPT partition.
HELP – Prints a list of commands.
IMPORT – Imports a disk group.
INACTIVE – Marks the current basic partition as inactive.
LIST – Prints out a list of objects.
ONLINE – Online a disk that is currently marked as offline.
REM – Does nothing. Used to comment scripts.
REMOVE – Remove a drive letter or mount point assignment.
REPAIR – Repairs a RAID-5 volume with a failed member.
RESCAN – Rescan the computer looking for disks and volumes.
RETAIN – Place a retained partition under a simple volume.
SELECT – Move the focus to an object.
DISKPART> DELETE VOLUME
DiskPart successfully deleted the volume.
DISKPART> SLECT VOLUME 2
Microsoft DiskPart version 5.2.3790
ADD – Add a mirror to a simple volume.
ACTIVE – Marks the current basic partition as active.
ASSIGN – Assign a drive letter or mount point to the selected volume.
AUTOMOUNT – Enables and disables automatic mounting of basic volumes.
BREAK – Break a mirror set.
CLEAN – Clear the configuration information, or all information, off the
disk.
CONVERT – Converts between different disk formats.
CREATE – Create a volume or partition.
DELETE – Delete an object.
DETAIL – Provide details about an object.
EXIT – Exit DiskPart
EXTEND – Extend a volume.
GPT – Assigns attributes to the selected GPT partition.
HELP – Prints a list of commands.
IMPORT – Imports a disk group.
INACTIVE – Marks the current basic partition as inactive.
LIST – Prints out a list of objects.
ONLINE – Online a disk that is currently marked as offline.
REM – Does nothing. Used to comment scripts.
REMOVE – Remove a drive letter or mount point assignment.
REPAIR – Repairs a RAID-5 volume with a failed member.
RESCAN – Rescan the computer looking for disks and volumes.
RETAIN – Place a retained partition under a simple volume.
SELECT – Move the focus to an object.
DISKPART> LIST VOLUME
Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 D DVD-ROM 0 B Healthy
Volume 1 C NTFS Partition 4087 MB Healthy System
Volume 2 G RAW Mirror 2000 MB Healthy
Volume 3 F RAW Spanned 6000 MB Healthy
DISKPART>