Tuesday, September 22, 2009

How volume works in Netapp

How volume works in netapp:

A volume is a logical file system whose structure is made visible to users when
you export the volume to a UNIX host through an NFS mount or to a Windows
host through a CIFS share

Two types of volume:

1. traditional
2. Flexvol

Volume important stuff:

The name of the volume
◆ The size of the volume
◆ A security style, which determines whether a volume can contain files that
use UNIX security, files that use NT file system (NTFS) file security, or both
types of files
◆ Whether the volume uses CIFS oplocks (opportunistic locks)
◆ The type of language supported
◆ The level of space guarantees (for FlexVol volumes only)
◆ Disk space and file limits (quotas)
◆ A snapshot schedule
◆ Whether the volume is designated as a SnapLock™ volume
◆ Whether the volume is a root.

Traditional volume

The smallest possible 2 disk raid4 3 disk raiddp
A traditional volume is contained by a single, dedicated,
aggregate.
The only way to increase the size of a traditional volume is to add entire disks to
its containing aggregate
t is impossible to decrease the size of a traditional
volume.

Flexible volume (FlexVol):

Because the volume is managed separately from the aggregate,
FlexVol volumes give you a lot more options for managing the size of the
volume.

You can create FlexVol volumes in an aggregate nearly instantaneously.
They can be as small as 20 MB and as large as the volume capacity that is
supported for your storage system

You can increase and decrease the size of a FlexVol in small increments (as
small as 4 KB), nearly instantaneously

Aggregate:

Maximum you can create 100 aggregate per storage
Traditional volume only you can create 100 volume per aggregate.
FlexVol volumes is the overall system limit of 200 for all volumes

Aggregate DISK:

Minimum Aggregate DISK 2 RAID4
Minimum aggregate DISK3 RAID-DP

Qtree Support per Volume:

Up to 4,995 qtrees—that is 4,995 virtually
Independent file systems—are supported per volume
Upgrading: If you upgrade to Data ONTAP 7.0 or later from a previous
version, the upgrade program preserves all of your existing volumes as traditional
volumes.

Create Flexible Volume:

Create a FlexVol in the specified aggregate by entering the following
command:
vol create vol aggr size
Example:
vol create new_vol aggr1 32g

Verrify Volume:

vol status new_vol –v

Volumes must be uniquely named across all aggregates within
the same filer. If aggregate aggr1 contains a volume named volA,
no other aggregate on the filer can contain a volume with the
name volA.
◆ You can create a maximum of 200 FlexVol volumes in one filer.
◆ Minimum size of a FlexVol is 20 MB

Create Traditional Volume:

Aggr status -v
(Optional) Determine the free disk resources on your filer by entering
the following command:
aggr status -s
3 To create a traditional volume, enter the following command:
aggr create trad_vol -v ndisks[@disksize]

Example:
aggr create new_tvol -v 16@72g
4 (Optional) To verify the creation of the traditional volume named
new_tvol, enter the following command:
vol status new_tvol -v 16@72g

All volumes, including traditional volumes, must be uniquely
named within the same filer.
◆ You can create a maximum of 100 traditional volumes within
one storage system.
◆ Minimum traditional volume size depends on the disk capacity
and RAID protection level

Resize Volume:

vol size f_vol_name [+|-] n{k|m|g|t}

f_vol_name is the name of the FlexVol that you intend to resize.
If you include the + or -, n{k|m|g|t} specifies how many kilobytes,
megabytes, gigabytes or terabytes to increase or decrease the volume
size.

Verify status:

vol size f_vol_name

Cloning FlexVol volumes

2 comments:

  1. >You can create a maximum of 200 FlexVol volumes >in one filer.

    This information is not correct, number of Flex vol is depend on the FAS model.

    ReplyDelete