You are on page 1of 1

IBM® System Storage® N series Data ONTAP® 7.

2 Core Commands—Quick Reference


GC26-7977-01 NA 210-01414_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 ] [ -v ] [ -l language_code ] [ -s none | file | volume ] created in the storage provided by aggregate aggrname. The
Creates an aggregate named aggr1 with 20 disks
{ ndisks[@size] aggrname size size argument specifies the size of the FlexVol volume being
and a RAID group that can contain up to 10 disks.
| -d disk1 [ disk2... ] [ -d diskn [ diskn+1... ] ] } [ -S originfiler : sourcevol ] created. It is a number, optionally followed by k, m, g, or t,
aggr status [ aggrname ] [ -r | -v | -d | -c | -b | Displays the status of one or all aggregates on the denoting kilobytes, megabytes, gigabytes, or terabytes
-s | -f | -i ] storage system. respectively. If none of the above letters is used, the unit
vol create tradvolname
aggr add aggrname [ -f ] [ -n ] [ -g raidgroup ] Adds disks to the aggregate named aggrname. defaults to bytes (and is rounded up to the nearest 4 KB).
[ -l language_code ]
{ ndisks[@size] | FlexVol volumes can be as small as 20 MB.
[-f] [-n] [-m] [-L]
-d disk1 [ disk2 ... ] [ -d diskn [ diskn+1 ... ] ] } The -L flag creates a SnapLock™ (traditional) volume.
[-t raidtype ] [-r raidsize ] [-R rpm ]
Destroys the aggregate named aggrname, or the The -S flag is used to create a FlexCache volume.
aggr destroy { aggrname | plexname } [ -f ] { ndisks[@size] | -d disk1 [ disk2... ]
plex named plexname. Example: vol create vol1 aggr0 50g creates a 50-GB volume
[ -d diskn [ diskn+1... ] ] }
aggr offline { aggrname | plexname } with the name vol1 in aggregate aggr0.
Brings the specified aggregate or plex offline. vol size volname [[+|-]size] Sets or displays the given FlexVol volume's size, using space
[ -t cifsdelaytime ]
aggr online { aggrname | plexname } [ -f ] Brings the specified aggregate or plex online. from the volume's containing aggregate.
aggr copy start [ -S | -s snapshot ] source Copies all data, including Snapshot™ copies and vol status [ volname ] Displays the status of one or all volumes on the storage
destination FlexVol volumes, from one aggregate to another. [ -r | -v | -d | -l | -c | -b | -s | -f ] system.
aggr copy { abort | status | throttles } Terminates, displays, and controls the vol offline { volname | plexname } Brings the specified volume (or plex within a traditional
operation_number | [value] all performance of the aggregate copy operations. [ -t cifsdelaytime ] volume) 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
[ -v victim_aggrname ] [ -d disk1 [ disk2 ... ] ] aggregate by adding a plex to it. plexname } volume) online.
aggr options aggrname [ optname optval ] Displays the options that have been set for vol options volname Displays the options that have been set for volume volname,
fs_size_fixed on | off ignore_inconsistent on | off aggregate aggrname, or sets the option named [ optname optval ] or sets the option named optname of the volume named
nosnap on | off raidsize number raidtype raid4 | optname of the aggregate named aggrname to the volname to the value optval.
raid_dp | raid0 resyncsnaptime number value optval. 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-
snaplock_enterprise | snapmirrored off | { ndisks[@size] | -d disk1 [ disk2... ] visible file system portion of the traditional volume by that
snapshot_autodelete on | off [ -d diskn [ diskn+1... ] ] } same amount of storage.
aggr undestroy [ -n ] [ aggrname ] Undestroy a previously destroyed aggregate. vol clone create clone_vol Creates a FlexVol volume named clone_vol on the local
Renames the aggregate named aggrname to [ -s none | file | volume ] storage system that is a FlexClone volume, backed by a
aggr rename aggrname newname -b parent_vol [ parent_snap ] FlexVol volume named parent_vol.
newname.
aggr verify start | stop | status| suspend | Starts, stops, displays, suspends, or resumes vol clone split start | stop | status Begins, stops, displays status, or estimates space
resume [ aggrname ] [ -n ] RAID mirror verification on the specified | estimate [volname] requirements of separating FlexClone volume volname from
aggregate, or, if no aggregate name is given, on its parent.
aggregates currently undergoing RAID mirror vol container volname Displays the name of the aggregate that contains FlexVol
verification. volume volname.
Space and Snapshot Management Commands vol copy start [ -S | -s snapshot ] Copies all data, including Snapshots copies, from one volume
df [ -i | -r | -s ] [ -h | -k | -m | -g | -t ] [ -A | -V ] Displays statistics about the amount of free disk source destination to another.
[ -L ] space in one or all volumes or aggregates. If the vol copy status | throttle | abort Displays the status of, throttles, or aborts one or all active
[ pathname | aggrname ] -A option is used, aggrname free space is shown. [ operation_number] [ value ] volume copy operations, if any.
The -r option displays the amount of reserved vol destroy { volname | plexname } Destroys the specified volume (or plex within a traditional
space in the aggregate or volume. [ -f ] mirrored volume).
snap list [ -A | -V ] [ -n ] [ [ -q ] [ volname ] Manages or creates Snapshot copies. vol lang Displays or changes the character mapping on volname.
| -o [ qtree_path ] ] The-A and -V options specify whether the [ volname [ language_code ] ]
snap create | delete [ -A | -V ] volname name command operates on the Snapshot copy of an vol media_scrub status [ volname Prints the status of the media scrub on the named traditional
snap delta [ -A | -V ] [ volname [ snap ] aggregate ([-A]) or a volume ([-V]). The default is a | plexname | groupname -s disk- volume, plex, RAID group, or spare drive.
[ snap ] ] Snapshot copy of a volume. name ]
snap reclaimable volname snap [-v]
snap rename [ -A | -V ] volname old-snapshot- vol mirror volname Mirrors the currently unmirrored traditional volume volname,
name new-snapshot-name [ -n ] [ -v victim_volname ] [ -f ] either using the specified set of disks or using another
snap reserve [ -A | -V ] [ volname [ % ] ] [ -d disk1 [ disk2 ... ] ] unmirrored traditional volume victim_volname, which is
snap restore [ -A | -V ] [ -f ] [ -t vol | file ] [ -s destroyed in the process.
snapshot_name ] [ -r restore_as_path ] vol verify start | stop| resume | Start, stop, resume, get status on, or suspend RAID mirror
volname | restore_from_path status| suspend [ volname ] [ -n ] 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
[ on | off | show | reset help ] Copyright © 2006 Network Appliance, Inc. Portions copyright © 2006 IBM Corporation.
snap autodelete volname option value All rights reserved. Second Edition December 2006

You might also like