Anda di halaman 1dari 1

Data ONTAP 8.

0 7-Mode Core CommandsQuick Reference Part number 215-04948_A0 Aggregate Commands aggr create aggrname [ -f ] [ -m ] [ -n ] Creates a new aggregate named aggrname. [ -t raidtype ] [ -r raidsize ] [ -T disktype ] Example: aggr create aggr1 -r 10 20 [ -R rpm ] [ -v [ -l language_code ] ] Creates an aggregate named aggr1 with 20 disks [ -B { 32 | 64 }] and a RAID group that can contain up to 10 disks. { ndisks[@size] | -d disk1 [ disk2... ] [ -d diskn [ diskn+1... ] ] } aggr status [ aggrname ] [ -r | -v | -d | -c | -b | Displays the status of one or all aggregates on the -s | -f | -i ] storage system. aggr add aggrname [ -f ] [ -n ] [ -g { raidgroup | Adds disks to the aggregate named aggrname. new | all }] { ndisks[@size] | -d disk1 [ disk2 ... ] [ -d diskn [ diskn+1 ... ] ] } Destroys the aggregate named aggrname, or the aggr destroy { aggrname | plexname } [ -f ] plex named plexname. aggr offline { aggrname | plexname } Brings the specified aggregate or plex offline. [ -t cifsdelaytime ] aggr online { aggrname | plexname } [ -f ] Brings the specified aggregate or plex online. aggr copy start [ -S | -s snapshot ] [ -C ] Copies all data, including Snapshot copies and FlexVol volumes, from one aggregate to another. source destination aggr copy { abort | status | throttles } Terminates, displays, and controls the performance operation_number | [value] all of the aggregate copy operations. aggr mirror aggrname [ -f ] [ -n ] Turns an unmirrored aggregate into a mirrored [ -v victim_aggrname ] [ -d disk1 [ disk2 ... ] ] aggregate by adding a plex to it. Displays the options that have been set for aggregate aggr options aggrname [ optname optval ] aggrname, or sets the option named optname of the aggregate named aggrname to the value optval. Recovers a partially intact or previously destroyed aggr undestroy [ -n ] [ aggrname ] aggregate or traditional volume. Renames the aggregate named aggrname to aggr rename aggrname newname newname. aggr verify { start | stop | status| suspend | Starts, stops, displays, suspends, or resumes RAID resume} [ aggrname ] mirror verification on the specified aggregate, or, if no aggregate name is given, on aggregates currently undergoing RAID mirror verification. Space and Snapshot Management Commands df [ -i | -r | -s | -S | -x] Displays statistics about the amount of free disk [ -h | -k | -m | -g | -t ] space in one or all volumes or aggregates. If the [ -A | -V ] -A option is used, aggrname free space is shown. [ -L ] The -r option displays the amount of reserved space [ pathname | aggrname ] in the aggregate or volume. snap list [ -A | -V ] [ -n ] [ -l ] [ -b ] Manages or creates Snapshot copies. [ [ -q ] [ volname ] | -o [ qtree_path ] ] The -A and -V options specify whether the command snap {create | delete} [ -A | -V ] volname name operates on the Snapshot copy of an aggregate ([-A]) snap delta [ -A | -V ] [ volname [ snap ] or a volume ([-V]). The default is a Snapshot copy of [ snap ] ] a volume. snap reclaimable volname snap snap rename [ -A | -V ] volname old-snapshotname new-snapshot-name snap reserve [ -A | -V ] [ volname [percent] ] snap restore [ -A | -V ] [ -f ] [ -t { vol | file }] [ -s snapshot_name ] [ -r restore_as_path ] volname | restore_from_path snap sched [ -A | -V ] [ volname [ weeks [ days [ hours[@list] ] ] ] ] snap autodelete volname [ on | off | show | reset | help ] snap autodelete volname option value Many of these commands are available through FilerView (https://systemIPaddr.x.x.x/na_admin).

Data ONTAP 8.0 7-Mode Core CommandsQuick Reference Part number 215-04948_A0 Traditional Volume and FlexVol Commands vol create flexvolname Creates either a FlexVol volume or a traditional volume. [ -l language_code ] In the first syntax, a FlexVol volume named flexvolname is [ -s { none | file | volume }] created in the storage provided by aggregate aggrname. The size argument specifies the size of the FlexVol volume being created. aggrname size [ -S remotehost:remotevolume ] The -S flag is used to create a FlexCache volume. Example: vol create vol1 aggr0 50g vol create tradvolname Creates a 50-GB volume with the name vol1 in aggregate aggr0. [ -l language_code ] [ -f ] [ -n ] [ -m ] [-t raidtype ] [ -r raidsize ] { ndisks[@size] | -d disk1 [ disk2... ] [ -d diskn [ diskn+1... ] ] } vol size volname [[+|-]size] Sets or displays the given FlexVol volume's size, using space from the volume's containing aggregate. vol status [ volname ] [ -r | -v | -d | Displays the status of one or all volumes on the storage system. -l | -c | -b | -s | -f | -m | -w ] vol offline { volname | plexname } Brings the specified volume (or plex within a traditional volume) [ -t cifsdelaytime ] offline. vol online { volname [ -f ] | Brings the specified volume (or plex within a traditional volume) plexname } online. vol options volname Displays the options that have been set for volume volname, or [ optname optval ] sets the option named optname of the volume named volname to the value optval. vol add volname [ -f ] [ -n ] Adds the specified set of disks to the aggregate portion of the [ -g raidgroup ] traditional volume named volname, and grows the user-visible file { ndisks[@size] | -d disk1 [ disk2... ] system portion of the traditional volume by that same amount of [ -d diskn [ diskn+1... ] ] } storage. vol clone create clone_vol Creates a FlexVol volume named clone_vol on the local storage [ -s { none | file | volume } ] system that is a FlexClone volume, backed by a FlexVol volume -b parent_vol [ parent_snap ] named parent_vol. vol clone split { start | stop | Begins, stops, displays status, or estimates space requirements of status | estimate } [volname] separating FlexClone volume volname from its parent. vol container volname Displays the name of the aggregate that contains FlexVol volume volname. vol copy start [ -S | -s snapshot ] Copies all data, including Snapshot copies, from one volume to another. source destination vol copy { status | throttle | abort } Displays the status of, throttles, or aborts one or all active volume [ operation_number ] [ value ] copy operations, if any. vol destroy { volname | plexname } Destroys the specified volume (or plex within a traditional mirrored [ -f ] volume). vol lang Displays or changes the character mapping on volname. [ volname [ language_code ] ] vol media_scrub status [ volname Prints the status of the media scrub on the named traditional | plexname | groupname -s diskvolume, plex, RAID group, or spare drive. name ] [ -v ] vol mirror volname Mirrors the currently unmirrored traditional volume volname, either [ -n ] [ -v victim_volname ] [ -f ] using the specified set of disks or using another unmirrored [ -d disk1 [ disk2 ... ] ] traditional volume victim_volname, which is destroyed in the process. vol verify { start | stop| resume | Starts, stops, resumes, gets status on, or suspends RAID mirror status | suspend } [ volname ] verification on the named online, mirrored traditional volume. Useful Resources For complete command information, see the Manual Page Reference or the man pages. NetApp on the Web (NOW) The definitive resource for support, documentation, software, and http://now.netapp.com more for NetApp products. E-mail comments or feedback on this document to doccomments@netapp.com. Copyright 2010 NetApp, Inc. All rights reserved. February 2010

Anda mungkin juga menyukai