Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Set-NaVolCharmap


NAME
Set-NaVolCharmap

SYNOPSIS
Associate a charmap description with a specified volume.

SYNTAX
Set-NaVolCharmap [-Name] <String> [-Controller <NaController>] [[-Charmap] <
String>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Associate a charmap description with a specified volume.


PARAMETERS
-Name <String>
Name of the volume on which to list the charmap information.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Charmap <String>
Description of the character mapping to be done for this volume. This ma
pping is to allow CIFS clients to use NFS file names that would otherwis
e result in invalid CIFS names. The values are comma-separated pairs of
hex character mappings. The A-F hex values can be in upper or lower case
, and the values do not have to be padded. Example: "5c:f2e1,3c:b6,3e:ae
,7C:394". If a value is not passed, any existing charmap will be removed
.

Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
NetApp.Ontapi.Filer.Volume.VolumeInfo


NOTES


Category: volume
API: volume-charmap-set

-------------- Example 1 --------------

C:\PS>Set-NaVolCharmap vol2 "5c:f2e1,3c:b6,3e:ae,7C:394"


Set charmap info on volume 'vol2'.


DedupeEnabled : True
ChecksumStyle : block
CloneChildren : {vol2clone}
CloneParent :
ContainingAggregate : aggr1
DiskCount : 8
FilesTotal : 6381567
FilesUsed : 208
IsChecksumEnabled : True
IsInconsistent : False
IsSnaplock : False
IsUnrecoverable : False
MirrorStatus : unmirrored
Name : vol2
PercentageUsed : 50
PlexCount : 1
Plexes : {/aggr1/plex0}
QuotaInit : 0
RaidSize : 16
RaidStatus : raid_dp,sis
Reserve : 0
ReserveRequired : 0
ReserveUsed : 0
Sis : idle
SizeAvailable : 95894626304
SizeTotal : 193273528320
SizeUsed : 97378889728
SnaplockType :
SpaceReserve : volume
SpaceReserveEnabled : True
State : online
Type : flex
Uuid : e91dc1f8-ab4f-11dd-867f-00a09806c227
IsUnrecoverableSpecified : True
PercentageUsedSpecified : True
SpaceReserveEnabledSpecified : True



RELATED LINKS
Get-NaVolCharmap







 Data ONTAP® PowerShell Toolkit