PrepAway - Latest Free Exam Questions & Answers

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 need to create 3-TB virtual hard disk (VHD) on Server1.
Which tool should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Server Manager

B.
New-StorageSubsytemVirtualDisk

C.
Computer Management

D.
Share and Storage Management

Explanation:
With Share and Storage Management, youcan 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 volumeon 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.

15 Comments on “Which tool should you use?

  1. Dan says:

    Easiest way is C.

    From Computer Management, click on Disk Management on left pane and wait for the list of drives to refresh. Once the list of drives appear in the middle pane, right click Disk Management and select Create VHD.




    0



    0
  2. Ebrahim Hasan says:

    The correct answers are Diskpart or 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




    0



    0
    1. Hernan says:

      But, what about the diskpart limitation to 2TB size for create vdisk command??

      DISKPART> create vdisk file=”c:\test.vhd” maximum=3000000 type=expandable

      DiskPart has encountered an error: The parameter is incorrect.
      See the System Event Log for more information.




      0



      0
      1. Biloux says:

        You should just Add the X for vhdX in your command and it works :

        DISKPART> create vdisk file=”c:\test.vhdX” maximum=3000000 type=expandable

        Disk created sucessfully.

        you bypass the 2TB limit of vhd.




        0



        0
  3. Boss30 says:

    Correct answer is C : Computer management (Computer management > Disk Management > CreateVHD > 3TB-VHDx)

    Share and Storage management available only in Server 2008R2 and earlier versions




    0



    0
  4. Bob says:

    This is a stupid question. Let’s make it interesting you could do the following as well
    from server manager > tools > computer management > disk management > action > create vhd or vhdx




    0



    0
  5. URwellWisher says:

    Answer is Computer Management.

    Virtual Disk (created within physical storage pool) and VHD ( Virtual Hard Disk or .VHD or .VHDx files) are different.

    —–——-
    -Server Manager

    For Virtual disk use Server Manager

    https://blogs.technet.microsoft.com/filecab/2012/12/06/using-the-storage-pools-page-in-server-manager-to-create-storage-spaces/

    ———-

    – New-StorageSubsytemVirtualDisk

    To create a Virtual Disk on the StorageSubsystem without the use of a Storage Pool.
    https://technet.microsoft.com/en-us/itpro/powershell/windows/storage/new-storagesubsystemvirtualdisk

    ————-
    – Computer Management

    For VHD or VHDx use Computer management > Disk Management > Right click > Create VHD > Select Virtual Hard Disk format as VHDx
    VHD will be limited to 2TB but VHDx can be upto 64TB.

    http://www.online-tech-tips.com/computer-tips/create-mount-vhd-windows/

    ——

    – Share and Storage

    Mainly used on 2008 R2

    https://technet.microsoft.com/en-us/library/cc725945(v=ws.11).aspx

    Can be viewed in 2012 but its usage is not relevant for this question.

    https://social.technet.microsoft.com/Forums/en-US/f8a4bc36-1bad-4665-a38d-dd943535bbe9/shares-and-storage-management-in-ws-2012r2?forum=winserverfiles




    0



    0

Leave a Reply