You are on page 1of 1

Data ONTAP® 7.3 Core Commands—Quick Reference Part number 215-03893_A0 Data ONTAP® 7.

Part number 215-03893_A0 Data ONTAP® 7.3 Core Commands—Quick Reference Part number 215-03893_A0
Aggregate Commands Traditional Volume and FlexVol® Commands
aggr create aggrname [ -f ] [ -m ] [ -n ] vol create flexvolname Creates either a FlexVol volume or a traditional volume.
Creates a new aggregate named aggrname.
[ -t raidtype ] [ -r raidsize ] [ -T disktype ] [ -l language_code ] In the first syntax, a FlexVol volume named flexvolname is
Example: aggr create aggr1 -r 10 20
[ -R rpm ] [ -L [compliance | enterprise]] [ -v ] [ -s none | file | volume ] created in the storage provided by aggregate aggrname. The size
Creates an aggregate named aggr1 with 20 disks
[ -l language_code ] { ndisks[@size] aggrname size argument specifies the size of the FlexVol volume being created.
and a RAID group that can contain up to 10 disks.
| -d disk1 [ disk2... ] [ -d diskn [ diskn+1... ] ] } [ -S originfiler : sourcevol ] It is a number, optionally followed by k, m, g, or t, denoting
aggr status [ aggrname ] [ -r | -v | -d | -c | -b | Displays the status of one or all aggregates on the kilobytes, megabytes, gigabytes, or terabytes respectively. If none
-s | -f | -i ] storage system. of the above letters is used, the unit defaults to bytes (and is
vol create tradvolname
aggr add aggrname [ -f ] [ -n ] [ -g { raidgroup | Adds disks to the aggregate named aggrname. rounded up to the nearest 4 KB). FlexVol volumes can be as
[ -l language_code ]
new | all }] { ndisks[@size] | small as 20 MB.
[-f] [-n] [-m] [-L [compliance | ®
-d disk1 [ disk2 ... ] [ -d diskn [ diskn+1 ... ] ] } The -L flag creates a SnapLock volume.
enterprise]] [-t raidtype ]
Destroys the aggregate named aggrname, or the The -S flag is used to create a FlexCache volume.
aggr destroy { aggrname | plexname } [ -f ] [-r raidsize ]
plex named plexname. Example: vol create vol1 aggr0 50g creates a 50-GB volume with
{ ndisks[@size] | -d disk1 [ disk2... ]
aggr offline { aggrname | plexname } the name vol1 in aggregate aggr0.
Brings the specified aggregate or plex offline. [ -d diskn [ diskn+1... ] ] }
[ -t cifsdelaytime ] vol size volname [[+|-]size] Sets or displays the given FlexVol volume's size, using space
aggr online { aggrname | plexname } [ -f ] Brings the specified aggregate or plex online. from the volume's containing aggregate.
aggr copy start [ -S | -s snapshot ] [ -C ] Copies all data, including Snapshot™ copies and vol status [ volname ] Displays the status of one or all volumes on the storage system.
source destination FlexVol volumes, from one aggregate to another. [ -r | -v | -d | -l | -c | -b | -s | -f | -m]
aggr copy { abort | status | throttles } Terminates, displays, and controls the performance vol offline { volname | plexname } Brings the specified volume (or plex within a traditional volume)
operation_number | [value] all of the aggregate copy operations. [ -t cifsdelaytime ] offline.
aggr mirror aggrname [ -f ] [ -n ] Turns an unmirrored aggregate into a mirrored vol online { volname [ -f ] | Brings the specified volume (or plex within a traditional volume)
[ -v victim_aggrname ] [ -d disk1 [ disk2 ... ] ] aggregate by adding a plex to it. plexname } online.
aggr options aggrname [ optname optval ] Displays the options that have been set for aggregate vol options volname Displays the options that have been set for volume volname, or
fs_size_fixed on | off ignore_inconsistent on | off aggrname, or sets the option named optname of the [ optname optval ] sets the option named optname of the volume named volname to
nosnap on | off raidsize number raidtype raid4 | aggregate named aggrname to the value optval. the value optval.
raid_dp | raid0 resyncsnaptime number vol add volname [ -f ] [ -n ] Adds the specified set of disks to the aggregate portion of the
| root | snaplock_compliance | [ -g raidgroup ] traditional volume named volname, and grows the user-visible file
snaplock_enterprise | snapmirrored off | { ndisks[@size] | -d disk1 [ disk2... ] system portion of the traditional volume by that same amount of
snapshot_autodelete on | off [ -d diskn [ diskn+1... ] ] } storage.
Recovers a partially intact or previously destroyed vol clone create clone_vol Creates a FlexVol volume named clone_vol on the local storage
aggr undestroy [ -n ] [ aggrname ]
aggregate or traditional volume. [ -s none | file | volume ]
®
system that is a FlexClone volume, backed by a FlexVol volume
Renames the aggregate named aggrname to -b parent_vol [ parent_snap ] named parent_vol.
aggr rename aggrname newname
newname. vol clone split start | stop | status Begins, stops, displays status, or estimates space requirements of
aggr verify start | stop | status| suspend | Starts, stops, displays, suspends, or resumes RAID | estimate [volname] separating FlexClone volume volname from its parent.
resume [ aggrname ] mirror verification on the specified aggregate, or, if no vol container volname Displays the name of the aggregate that contains FlexVol volume
aggregate name is given, on aggregates currently volname.
undergoing RAID mirror verification. vol copy start [ -S | -s snapshot ] Copies all data, including Snapshots copies, from one volume to
Space and Snapshot Management Commands source destination another.
df [ -i | -r | -s | -S] [ -h | -k | -m | -g | -t ] [ -A | -V ] Displays statistics about the amount of free disk vol copy status | throttle | abort Displays the status of, throttles, or aborts one or all active volume
[ -L ] space in one or all volumes or aggregates. If the [ operation_number] [ value ] copy operations, if any.
[ pathname | aggrname ] -A option is used, aggrname free space is shown. vol destroy { volname | plexname } Destroys the specified volume (or plex within a traditional mirrored
The -r option displays the amount of reserved space [ -f ] volume).
in the aggregate or volume.
vol lang Displays or changes the character mapping on volname.
snap list [ -A | -V ] [ -n ] [ -l ] [ [ -q ] [ volname ] Manages or creates Snapshot copies. [ volname [ language_code ] ]
| -o [ qtree_path ] ] The -A and -V options specify whether the command
vol media_scrub status [ volname Prints the status of the media scrub on the named traditional
snap create | delete [ -A | -V ] volname name operates on the Snapshot copy of an aggregate ([-A])
| plexname | groupname -s disk- volume, plex, RAID group, or spare drive.
snap delta [ -A | -V ] [ volname [ snap ] or a volume ([-V]). The default is a Snapshot copy of
name ]
[ snap ] ] a volume.
[-v]
snap reclaimable volname snap
vol mirror volname Mirrors the currently unmirrored traditional volume volname, either
snap rename [ -A | -V ] volname old-snapshot-
[ -n ] [ -v victim_volname ] [ -f ] using the specified set of disks or using another unmirrored
name new-snapshot-name
[ -d disk1 [ disk2 ... ] ] traditional volume victim_volname, which is destroyed in the
snap reserve [ -A | -V ] [ volname [ % ] ]
process.
snap restore [ -A | -V ] [ -f ] [ -t vol | file ] [ -s
snapshot_name ] [ -r restore_as_path ] vol verify start | stop| resume | Starts, stops, resumes, gets status on, or suspends RAID mirror
volname | restore_from_path status| suspend [ volname ] verification on the named online, mirrored traditional volume.
snap sched [ -A | -V ] [ volname [ weeks [ days Useful Resources
[ hours[@list] ] ] ] ] For complete command information, see the Manual Page Reference or the man pages.
snap autodelete volname NetApp on the Web (NOW) The definitive resource for support, documentation, software, and
[ on | off | show | reset | help ] http://now.netapp.com more for NetApp® products.
snap autodelete volname option value E-mail comments or feedback on this document to doccomments@netapp.com
Many of these commands are available through FilerView® (http://filerIPaddr.x.x.x/na_admin) Copyright © 2008 NetApp, Inc. All rights reserved. June 2008

You might also like