M04-LogicalStorage
-
Upload
kurtenweiser -
Category
Documents
-
view
215 -
download
0
Transcript of M04-LogicalStorage
-
7/27/2019 M04-LogicalStorage
1/30
Logical Storage
Module 4
Data ONTAP 8.0 7-Mode
Administration
-
7/27/2019 M04-LogicalStorage
2/30
2009 NetApp. All rights reserved.
Module Objectives
By the end of this module, you should be able to:
Explain volume concepts in Data ONTAP
Define and create a flexible volume
Execute vol commands
Define and create qtrees
-
7/27/2019 M04-LogicalStorage
3/30
2009 NetApp. All rights reserved.
Volumes
-
7/27/2019 M04-LogicalStorage
4/30
2009 NetApp. All rights reserved.
Volumes
Volumes represent logical storage
Data ONTAP allows up to 500 volumes per
storage system
Volumes are accessible through supported
protocols such as CIFS or NFS Data ONTAP 8.0 and later supports the
following types of volumes:
Flexible volumes, also known as FlexVol
volumes
Traditional volumes (deprecated)
Additional product-specific volumes such as
SnapLock volumes and FlexClone volumes
-
7/27/2019 M04-LogicalStorage
5/30
2009 NetApp. All rights reserved.
Rules for Volumes
A volume name must:
Begin with either a letter or underscore
character (_)
Contain only letters, digits, and underscore
characters Contain no more than 255 characters
The maximum size of a flexible volume is
limited by the maximum containing aggregate
size with a space guaranteed volume
(Discussed in Module 12)
-
7/27/2019 M04-LogicalStorage
6/30
2009 NetApp. All rights reserved.
Root Volumes
One root volume per storage system
Only 32-bit aggregate is recommended
Minimum recommended size is 2 GB (1-GB
swapfile used on root)
Root volume contains the /etc directory
Root volume is accessible using:
/vol/vol_namesuch as /vol/vol0
Simply /
Special virtual root path
Root volume
Directory (configuration information)
/vol
/vol0
/etc
-
7/27/2019 M04-LogicalStorage
7/30 2009 NetApp. All rights reserved.
Volumes Access
All volume path names begin with /vol
The /vol path name is not a directory
The /vol is not accessible
/vol
/vol0
/etc
/users
/cheryl
Special virtual root path
Root volume
Directory (configuration information)
Volume
Directory
-
7/27/2019 M04-LogicalStorage
8/30 2009 NetApp. All rights reserved.
Flexible Volumes
-
7/27/2019 M04-LogicalStorage
9/30 2009 NetApp. All rights reserved.
Flexible Volumes
Flexible volumes manage the logical layer
independent of the physical layer
Multiple flexible volumes can exist within a
single aggregate
aggr1
FlexVol 1 FlexVol 2
-
7/27/2019 M04-LogicalStorage
10/30 2009 NetApp. All rights reserved.
aggr1
Aggregates and FlexVol Volumes
Create RAID Groups
Create aggregate
RAID groups are createdas result
Create FlexVol 1
Only metadata space isused
There is no pre-allocationof blocks to a specificvolume
Create FlexVol 2 WAFL allocates
aggregate space as datais written
Populate volumes
Aggregate
RG1 RG2 RG3
FlexVol 1 FlexVol 2 FlexVol 3
vol1 vol2
vol3
-
7/27/2019 M04-LogicalStorage
11/30 2009 NetApp. All rights reserved.
Performance Increases with FlexVol
I/O performance:
Spindle-sharing
makes total
aggregate
performance available
to all volumes
Space utilization:
No pre-allocation of
free space
Free space is
available for use by
other volumes or new
volumes
Vol 1
Vol 2
Vol 3
Vol 4
Free
-
7/27/2019 M04-LogicalStorage
12/30 2009 NetApp. All rights reserved.
Creating a Flexible Volume
To create a flexible volume using the CLI:system> vol create volnameaggrnamesize[k|m|g|t]
To create a flexible volume using NetApp
System Manager, use the Volume Wizard
When creating a flexible volume, you musthave the following information available:
Volume name
Aggregate name
Language
Space guarantee settings (Discussed in
Module 12)
-
7/27/2019 M04-LogicalStorage
13/30 2009 NetApp. All rights reserved.
Creating a Flexible Volume Using the CLI
The following is an example of a CLI entry
used to create a flexible volume:
system> vol create sales aggr1 20G
Creates a flexible volume called sales in aggr1
20G in size
aggr1
sales
-
7/27/2019 M04-LogicalStorage
14/30 2009 NetApp. All rights reserved.
System Manager: Volume Management
Select Volumesto reveal a list of
volumes
-
7/27/2019 M04-LogicalStorage
15/30 2009 NetApp. All rights reserved.
System Manager: Volume Creation
Removed Snapshot reserve
default; we discuss Snapshot
copies in Module 11
-
7/27/2019 M04-LogicalStorage
16/30 2009 NetApp. All rights reserved.
System Manager: Volume Creation (Cont.)
The new volume
-
7/27/2019 M04-LogicalStorage
17/30 2009 NetApp. All rights reserved.
System Manager: Volume Creation (Cont.)
The new volumeusage
-
7/27/2019 M04-LogicalStorage
18/30 2009 NetApp. All rights reserved.
Volume Administration
To resize a volume:system> vol size volname [[+|-][k|m|g|t]]
To offline a volume:system> vol offline volname
To online a volume:system> vol online volname
To destroy a volume:system> vol offline volname
system> vol destroy volname
Command Result
vol size flexvol 50m FlexVol volume size is changed to 50 MB
Vol size flexvol +50m FlexVol volume size is increased by 50 MB
Vol size flexvol -25m FlexVol volume size is decreased by 25 MB
First take the
volume offline
-
7/27/2019 M04-LogicalStorage
19/30 2009 NetApp. All rights reserved.
System Manager: Volume Management
To delete theselected volume
-
7/27/2019 M04-LogicalStorage
20/30 2009 NetApp. All rights reserved.
System Manager: Volume Resize
Increase the
size from 1 GB
to 2 GB
-
7/27/2019 M04-LogicalStorage
21/30 2009 NetApp. All rights reserved.
System Manager: Volume Resize (Cont.)
Verify your
request
-
7/27/2019 M04-LogicalStorage
22/30
2009 NetApp. All rights reserved.
System Manager: Volume Resize (Cont.)
The newlyresized volume
-
7/27/2019 M04-LogicalStorage
23/30
2009 NetApp. All rights reserved.
Qtrees
-
7/27/2019 M04-LogicalStorage
24/30
2009 NetApp. All rights reserved.
Qtrees
A qtree is:
A logically defined file system
A special subdirectory at the root of a volume
Viewed as a directory by clients
Qtrees allow the user to:
Further partition data within a volume
Establish unique quotas for the partitioned data
Perform backup and recover with SnapVault
Perform logical mirroring with SnapMirror
4,995 maximum qtrees per volume
-
7/27/2019 M04-LogicalStorage
25/30
2009 NetApp. All rights reserved.
CLI: Qtree Management
To add a qtree using the CLI:
system> qtree create fullpath
Full path: /vol/volname/qtreename
To delete a qtree from CLI:
system>priv set advancedsystem*> qtree delete [-f] fullpath
Delete the directory to remove a qtree:
M:\> dir
08/09/2009 10:02 AM qtree1
M:\> rmdir qtree1
Mapped drive to the volume
-
7/27/2019 M04-LogicalStorage
26/30
2009 NetApp. All rights reserved.
System Manager: Qtree Creation
Select Qtrees
to reveal a list
of qtrees and
volumes
-
7/27/2019 M04-LogicalStorage
27/30
2009 NetApp. All rights reserved.
System Manager: Qtree Management
To delete a
qtree, select it
and then click
Delete
The newly
created qtree
-
7/27/2019 M04-LogicalStorage
28/30
2009 NetApp. All rights reserved.
Module Summary
In this module, you should have learned to:
Explain volume concepts in Data ONTAP
Define and create a flexible volume
Execute vol commands
Define and create qtrees
-
7/27/2019 M04-LogicalStorage
29/30
Exercise
Module 4: Logical Storage
Estimated Time: 40 minutes
-
7/27/2019 M04-LogicalStorage
30/30
Check Your Understanding
How does a traditional volume compare to an
aggregate?
An aggregate defines physical disks, while the
term volume relates to the logical collection of
information A traditional volume cannot share disks with
other volumes; therefore, a traditional volume
fully occupies the aggregate containing it,
making the two terms functionally synonymous What is the name of the default root volume?
vol0