Add-DPMDiskStorage
Belirtilen diski DPM sunucusundaki depolama havuzuna ekler.
Syntax
Add-DPMDiskStorage
[-DPMDisk] <Disk[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Add-DPMDiskStorage
[-Volumes] <Volume[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Add-DPMDiskStorage
[-Volume] <Volume>
[[-Subdirectory] <String>]
[[-FriendlyName] <String>]
[[-DatasourceType] <VolumeTag[]>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Add-DPMDiskStorage cmdlet'i, System Center - Data Protection Manager (DPM) sunucusundaki depolama havuzuna bir disk veya birim ekler. DPM sunucusundaki bir depolama havuzu, sunucunun korunan veri kaynakları için çoğaltmaları, gölge kopyaları ve aktarım günlüklerini depoladığı bir disk kümesinden ve sunucunun çoğaltma sanal sabit disklerini (VHD) depoladığı Dayanıklı Dosya Sistemi (ReFS) birimlerinden oluşur.
BIR DPM sunucusundaki tüm disklerin listesini almak için Get-DPMDiskStorage cmdlet'ini kullanın. BIR DPM sunucusundaki tüm birimlerin listesini almak için Get-DPMDiskStorage cmdlet'ini -All ve -Volumes parametreleri belirtilen şekilde kullanın.
Örnekler
Örnek 1: DPM depolama havuzuna disk ekleme
PS C:\>$disks = Get-DPMDiskStorage -DPMServerName "TestingServer"
PS C:\> Add-DPMDiskStorage -DPMDisk $disks
İlk komut, TestServer adlı DPM sunucusuna bağlı disklerin listesini almak için Get-DPMDiskStorage kullanır ve listeyi $disks değişkeninde depolar.
Örnek 2: DPM depolama havuzuna birim ekleme
PS C:\>$volumes = Get-DPMDiskStorage -DPMServerName "TestingServer" -Volumes -All
PS C:\> Add-DPMDiskStorage -Volumes $volumes
İlk komut, DPM sunucusunda TestingServer adlı kullanılabilir birimlerin listesini almak için Get-DPMDiskStorage cmdlet'ini kullanır. Bunları $volumes değişkeninde depolar.
İkinci komut, $volumes'teki tüm birimleri DPM depolama havuzuna ekler.
Parametreler
-Confirm
Cmdlet'i çalıştırmadan önce sizden onay ister.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DatasourceType
Bu disk depolama alanına yedeklenebilen veri kaynağı türleri dizisini belirtir. Veri kaynağı türü listesi aşağıdaki değerlerin herhangi bir bileşimi olabilir:
- DosyaSistemi
- İstemci
- SQL
- SharePoint
- Exchange
- SystemProtection
- HyperV
- VMware
- Diğer
- Tümü
Type: | VolumeTag[] |
Position: | 4 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DPMDisk
Bu cmdlet'in DPM depolama havuzuna eklediği disk dizisini belirtir.
Type: | Disk[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-FriendlyName
Bu cmdlet'in DPM depolama havuzuna eklediği birim için kolay bir ad belirtir.
Type: | String |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Subdirectory
Bu cmdlet'in DPM depolama havuzuna eklediği birim içinde boş bir dizin belirtir. Birim DPM depolama havuzuna eklendikten sonra alt dizin güncelleştirilemez.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Volume
DPM depolama havuzuna eklenecek birimi belirtir. Alt Dizin parametresi belirtilmezse DPM, depolama havuzuna eklemeden önce birimi ReFS 3.0 dosya sistemiyle biçimlendirebilir. Alt Dizin parametresi belirtilirse, belirtilen birim bir ReFS 3.0 birimi olmalıdır. Bu durumda DPM birimi biçimlendirmez ve yalnızca yedekleme verilerini depolamak için alt dizini kullanır.
Type: | Volume |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Volumes
DPM depolama havuzuna eklenecek birim dizisini belirtir. DPM, bu birimleri depolama havuzuna eklemeden önce ReFS 3.0 dosya sistemiyle biçimlendirmektedir.
Type: | Volume[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Cmdlet çalıştırılıyorsa ne olacağını gösterir. Cmdlet çalıştırılmaz.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |