Questions

Which tool should you use?

Your network contains an Active Directory domain named contoso.com. The domain contains a server named
Server1. Server1 runs Windows Server 2012. You needto create 3-TB virtual hard disk (VHD) on Server1.
Which tool should you use?

A.
Diskpart

B.
Server Manager

C.
Computer Management

D.
New-VirtualDisk

E.
Share and Storage Management

F.
File Server Resource Manager (FSRM)

G.
New-StorageSubsytemVirtualDisk

H.
New-StoragePool

Explanation:
The New-VirtualDisk command creates a new virtual disk in the specified storage pool. New-VirtualDisk -Creates a new virtual disk in the specified storagepool.
Although the new Server Manager UI in Windows Server 2012 provides a very convenient and intuitiveworkflow
to provision and manage Storage, interaction with PowerShell is required to access many of theadvanced
features.
If I then create a simple 200GB Virtual Disk via the UI named VDiskSimpleUI, the resulting Virtual
Diskleverages 8 columns and maintains 1 copy of thedata. But when creating the Virtual Disk via PowerShell,
Ican force the tripping across all nine of the disks and optimize performance.
New-VirtualDisk -StoragePoolFriendlyName Pool01 -ResiliencySettingName Simple -Size 200GB -FriendlyNameVDiskSimplePS -ProvisioningType Fixed -NumberOfDataCopies 1 – NumberOfColumns 9
And creating a mirrored 200GB Virtual Disk via the UI named VDiskMirrorUI produces a Virtual Disk with
4columns and 2 data copies. But with PowerShell, I can create a slightly different configuration, increasing
thedata protection (and also the disk footprint):
New-VirtualDisk -StoragePoolFriendlyName Pool01 -ResiliencySettingName Mirror -Size 200GB -FriendlyNameVDiskMirrorPS -ProvisioningType Fixed -NumberOfDataCopies 3 – NumberOfColumns 3.

http://blogs.technet.com/b/wincat/archive/2012/05/21/optimizing-windows-server-2012- storagemanagementvia-powershell-for-both-performance-and-resiliency.aspx http://technet.microsoft.com/en-us/
library/hh848643%28v=wps.620%29.aspx

Discussion

4 Responses to “Which tool should you use?”

  1. TopCoder says:

    The Answer is D, Even the explanation says the answer is D

    • Rafik says:

      I’m agree with you. The answer should be D

    • Ebrahim Hasan says:

      The correct answers are A Diskpart and C Computer Management.

      New-StoragePool doesn’t create a virtual disk.
      New-VirtualDisk requires a storage pool first.
      “Share and Storage Management” and “File Server Resource Manager (FSRM)” applied to Windows Server 2008 and Windows Server 2008 R2.
      New-StorageSubsystemVirtualDisk Allows the creation of a VirtualDisk object on a storage subsystem that does not support creation of storage pools.

      New-StorageSubsystemVirtualDisk
      Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2
      Allows the creation of a VirtualDisk object on a storage subsystem that does not support creation of storage pools.
      The New-StorageSubsystemVirtualDisk cmdlet allows the creation of a VirtualDisk object on a storage subsystem that does not support creation of storage pools, or if its storage pool does not support virtual disk creation.
      EXAMPLE 1
      This example creates a Virtual Disk named VirtualDisk01 on the provided StorageSubsystem without the use of a Storage Pool
      PS C:\> $stsubsys = (Get-StorageSubsystem)
      PS C:\> New-StorageSubsystemVirtualDisk -StorageSubsystemUniqueId $stsubsys.UniqueID -FriendlyName “VirtualDisk01″ -Size “5GB” -ProvisioningType Fixed

      New-VirtualDisk
      Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2
      Creates a new virtual disk in the specified storage pool.
      The New-VirtualDisk cmdlet creates a new virtual disk in the specified storage pool.
      Example 1: Creating a 100 GB virtual disk using default settings
      This example creates a virtual disk named UserData from the storage pool named CompanyData that is 100GB in size, using the storage pool default settings for unspecified parameters.
      PS C:\> New-VirtualDisk -StoragePoolFriendlyName CompanyData -FriendlyName UserData -Size 100GB

      New-VHD
      Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2
      Creates one or more new virtual hard disks.
      The New-VHD cmdlet creates one or more new virtual hard disks in either VHD format or the newer VHDX format. The file extension you specify determines the format.
      Example 1
      This example creates a dynamic virtual hard disk in VHDX format that is 10 GB in size. The file extension determines the format and the default type of dynamic is used because no type is specified.
      PS C:\> New-VHD –Path c:\Base.vhdx –SizeBytes 10GB

      New-StoragePool
      Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2
      Creates a new storage pool using a group of physical disks, and a specific storage subsystem exposed by a storage provider.
      The New-StoragePool cmdlet creates a new storage pool using a group of physical disks, and a specific storage subsystem exposed by a storage provider.
      Example 1: Create a new storage pool using Storage Spaces
      This example creates a new storage pool named CompanyData using the Storage Spaces subsytem, using the minimum parameters, and assuming that there are no other storage subsystems attached to the computer that have available disks.
      This line uses the Get-PhysicalDisk cmdlet to get all PhysicalDisk objects than are not yet in a (concrete) storage pool, and assigns the array of objects to the $PhysicalDisks variable.
      PS C:\> $PhysicalDisks = (Get-PhysicalDisk -CanPool $True)
      This line creates a new storage pool using the $PhysicalDisks variable to specify the disks to include from the Storage Spaces subsystem (specified with a wildcard * to remove the need to modify the friendly name for different computers).
      PS C:\> New-StoragePool -FriendlyName CompanyData -StorageSubsystemFriendlyName “Storage Spaces*” -PhysicalDisks $PhysicalDisks

      Diskpart
      https://www.youtube.com/watch?v=W8f_JXgCAqA

      Share and Storage Management
      Applies To: Windows Server 2008, Windows Server 2008 R2
      Share and Storage Management provides a centralized location for you to manage two important server resources:
      Folders and volumes that are shared on the network
      Volumes in disks and storage subsystems
      Shared resources management
      You can share the content of folders and volumes on your server over the network using the Provision a Shared Folder Wizard, which is available in Share and Storage Management. This wizard guides you through the necessary steps to share a folder or volume and assign all applicable properties to it. With the wizard, you can:
      Specify the folder or volume that you want to share or create a new folder to share.

      Specify the network sharing protocol used to access the shared resource.

      Change the local NTFS permissions for the folder or volume you will be sharing.

      Specify the share access permissions, user limits, and offline access to files in the shared resource.

      Publish the shared resource to a Distributed File System (DFS) namespace.

      If Services for Network File System (NFS) has been installed, specify NFS-based access permissions for the shared resource.

      If File Server Resource Manager is installed on your server, apply storage quotas to the new shared resource, and create file screens to limit the type of files that can be stored in it.

      Using Share and Storage Management, you can also monitor and modify important aspects of your new and existing shared resources. You can:
      Stop the sharing of a folder or volume.

      Change the local NTFS permissions for a folder or volume.

      Change the share access permissions, offline availability, and other properties of a shared resource.

      See which users are currently accessing a folder or a file and disconnect a user if necessary.

      If Services for Network File System (NFS) has been installed, change the NFS-based access permissions for a shared resource.

      Storage management
      With Share and Storage Management, you can provision storage on disks that are available on your server, or on storage subsystems that support Virtual Disk Service (VDS). The Provision Storage Wizard guides you through the process of creating a volume on an existing disk, or on a storage subsystem attached to your server. If the volume is going to be created on a storage subsystem, the wizard will also guide you through the process of creating a logical unit number (LUN) to host that volume. You also have the option of only creating the LUN, and using Disk Management to create the volume later.
      Share and Storage Management also helps you monitor and manage the volumes that you have created, as well as any other volumes that are available on your server. Using Share and Storage Management you can:
      Extend the size of a volume.

      Format a volume.

      Delete a volume.

      Change volume properties like compression, security, offline availability and indexing.

      Access disk tools for error checking, defragmentation, and backup.

      http://technet.microsoft.com/en-us/library/cc753175.aspx

  2. marc says:

    i’m ok with Ebrahim Hasan

Leave a Reply