Data ONTAP® 8.0 7-Mode Core Commands—Quick Reference Part number 215-04948_A0 Data ONTAP® 8.
r 215-04948_A0 Data ONTAP® 8.0 7-Mode Core Commands—Quick Reference Part number 215-04948_A0
Aggregate Commands Traditional Volume and FlexVol® Commands
aggr create aggrname [ -f ] [ -m ] [ -n ] Creates a new aggregate named aggrname. vol create flexvolname Creates either a FlexVol volume or a traditional volume.
[ -t raidtype ] [ -r raidsize ] [ -T disktype ] Example: aggr create aggr1 -r 10 20 [ -l language_code ] In the first syntax, a FlexVol volume named flexvolname is
[ -R rpm ] [ -v [ -l language_code ] ] Creates an aggregate named aggr1 with 20 disks [ -s { none | file | volume }] created in the storage provided by aggregate aggrname. The size
[ -B { 32 | 64 }] and a RAID group that can contain up to 10 disks. aggrname size argument specifies the size of the FlexVol volume being created.
{ ndisks[@size] | -d disk1 [ disk2... ] [ -S remotehost:remotevolume ] The -S flag is used to create a FlexCache volume.
[ -d diskn [ diskn+1... ] ] } Example: vol create vol1 aggr0 50g
aggr status [ aggrname ] [ -r | -v | -d | -c | -b | Displays the status of one or all aggregates on the vol create tradvolname Creates a 50-GB volume with the name vol1 in aggregate aggr0.
-s | -f | -i ] storage system. [ -l language_code ]
aggr add aggrname [ -f ] [ -n ] [ -g { raidgroup | Adds disks to the aggregate named aggrname. [ -f ] [ -n ] [ -m ] [-t raidtype ]
new | all }] { ndisks[@size] | [ -r raidsize ]
-d disk1 [ disk2 ... ] [ -d diskn [ diskn+1 ... ] ] } { ndisks[@size] | -d disk1 [ disk2... ]
Destroys the aggregate named aggrname, or the [ -d diskn [ diskn+1... ] ] }
aggr destroy { aggrname | plexname } [ -f ] vol size volname [[+|-]size] Sets or displays the given FlexVol volume's size, using space
plex named plexname.
aggr offline { aggrname | plexname } Brings the specified aggregate or plex offline. from the volume's containing aggregate.
[ -t cifsdelaytime ] vol status [ volname ] [ -r | -v | -d | Displays the status of one or all volumes on the storage system.
aggr online { aggrname | plexname } [ -f ] Brings the specified aggregate or plex online. -l | -c | -b | -s | -f | -m | -w ]
aggr copy start [ -S | -s snapshot ] [ -C ] Copies all data, including Snapshot™ copies and vol offline { volname | plexname } Brings the specified volume (or plex within a traditional volume)
source destination FlexVol volumes, from one aggregate to another. [ -t cifsdelaytime ] offline.
aggr copy { abort | status | throttles } Terminates, displays, and controls the performance vol online { volname [ -f ] | Brings the specified volume (or plex within a traditional volume)
operation_number | [value] all of the aggregate copy operations. plexname } online.
aggr mirror aggrname [ -f ] [ -n ] Turns an unmirrored aggregate into a mirrored vol options volname Displays the options that have been set for volume volname, or
[ -v victim_aggrname ] [ -d disk1 [ disk2 ... ] ] aggregate by adding a plex to it. [ optname optval ] sets the option named optname of the volume named volname to
Displays the options that have been set for aggregate the value optval.
aggr options aggrname [ optname optval ] aggrname, or sets the option named optname of the vol add volname [ -f ] [ -n ] Adds the specified set of disks to the aggregate portion of the
aggregate named aggrname to the value optval. [ -g raidgroup ] traditional volume named volname, and grows the user-visible file
Recovers a partially intact or previously destroyed { ndisks[@size] | -d disk1 [ disk2... ] system portion of the traditional volume by that same amount of
aggr undestroy [ -n ] [ aggrname ] [ -d diskn [ diskn+1... ] ] } storage.
aggregate or traditional volume.
Renames the aggregate named aggrname to vol clone create clone_vol Creates a FlexVol volume named clone_vol on the local storage
aggr rename aggrname newname ®
newname. [ -s { none | file | volume } ] system that is a FlexClone volume, backed by a FlexVol volume
aggr verify { start | stop | status| suspend | Starts, stops, displays, suspends, or resumes RAID -b parent_vol [ parent_snap ] named parent_vol.
resume} [ aggrname ] mirror verification on the specified aggregate, or, if no vol clone split { start | stop | Begins, stops, displays status, or estimates space requirements of
aggregate name is given, on aggregates currently status | estimate } [volname] separating FlexClone volume volname from its parent.
undergoing RAID mirror verification. vol container volname Displays the name of the aggregate that contains FlexVol volume
Space and Snapshot Management Commands volname.
df [ -i | -r | -s | -S | -x] Displays statistics about the amount of free disk vol copy start [ -S | -s snapshot ] Copies all data, including Snapshot copies, from one volume to
[ -h | -k | -m | -g | -t ] space in one or all volumes or aggregates. If the source destination another.
[ -A | -V ] -A option is used, aggrname free space is shown. vol copy { status | throttle | abort } Displays the status of, throttles, or aborts one or all active volume
[ -L ] The -r option displays the amount of reserved space [ operation_number ] [ value ] copy operations, if any.
[ pathname | aggrname ] in the aggregate or volume. vol destroy { volname | plexname } Destroys the specified volume (or plex within a traditional mirrored
snap list [ -A | -V ] [ -n ] [ -l ] [ -b ] Manages or creates Snapshot copies. [ -f ] volume).
[ [ -q ] [ volname ] | -o [ qtree_path ] ] The -A and -V options specify whether the command vol lang Displays or changes the character mapping on volname.
snap {create | delete} [ -A | -V ] volname name operates on the Snapshot copy of an aggregate ([-A]) [ volname [ language_code ] ]
snap delta [ -A | -V ] [ volname [ snap ] or a volume ([-V]). The default is a Snapshot copy of vol media_scrub status [ volname Prints the status of the media scrub on the named traditional
[ snap ] ] a volume. | plexname | groupname -s disk- volume, plex, RAID group, or spare drive.
snap reclaimable volname snap name ] [ -v ]
snap rename [ -A | -V ] volname old-snapshot- vol mirror volname Mirrors the currently unmirrored traditional volume volname, either
name new-snapshot-name [ -n ] [ -v victim_volname ] [ -f ] using the specified set of disks or using another unmirrored
snap reserve [ -A | -V ] [ volname [percent] ] [ -d disk1 [ disk2 ... ] ] traditional volume victim_volname, which is destroyed in the
snap restore [ -A | -V ] [ -f ] [ -t { vol | file }] process.
[ -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 ] [Link] more for NetApp® products.
snap autodelete volname option value E-mail comments or feedback on this document to doccomments@[Link].
Many of these commands are available through FilerView® ([Link] Copyright © 2010 NetApp, Inc. All rights reserved. February 2010