Creating iSCSI LUNs on vFiler units for MultiStore
Prerequisite for creating LUNs on vFiler units
MultiStore vFiler technology is supported for the iSCSI protocol only. You must purchase a MultiStore license to create vFiler units. Then you can enable the iSCSI license for each vFiler to manage LUNs (and igroups) on a per vFiler basis.
Note
SnapDrive can only connect to and manage LUNs on the hosting storage system (vfiler0), not to vFiler units.
Guidelines for creating LUNs on vFiler units
Use the following guidelines when creating LUNs on vFiler units.
- The vFiler access rights are enforced when the storage system processes iSCSI host requests.
- LUNs inherit vFiler ownership from the storage unit on which they are created. For example, if /vol/vfstore/vf1_0 is a qtree owned by vFiler vf1, all LUNs created in this qtree are owned by vf1.
- As vFiler ownership of storage changes, so does ownership of the storage's LUNs.
LUN subcommands available on vFiler units
You can use the following LUN subcommands on vFiler LUNs:
|
attribute
|
help
|
online
|
show
|
|
clone
|
map
|
resize
|
snap
|
|
comment
|
maxsize
|
serial
|
stats
|
|
create
|
geometry
|
set
|
unmap
|
|
destroy
|
move
|
setup
|
|
|
df
|
offline
|
share
|
|
Note
You cannot use the lun rescan command for vFiler LUNs.
Methods for issuing LUN subcommands on vFiler units
You can issue LUN subcommands using the following methods:
- From the default vFiler (vfiler0) on the hosting storage system, you can do the following:
- From non-default vFiler units, you can:
- Enter the vfiler run * lun command
Creating LUNs on a vFiler
To create LUNs on a vFiler, complete the following step.
Step
|
Action
|
|
1
|
Enter the lun create command in the vFiler context that owns the storage, as follows:
vfiler run vfiler_name lun create -s 2g -t os_type /vol/vfstore/vf1_0/lun0
Example
The following command creates a LUN on a vFiler at /vol/vfstore/vf1_0:
vfiler run vf1 lun create -s 2g -t windows /vol/vfstore/vf1_0/lun0
Note If you omit the vfiler command and the context, an error message is displayed. Example
The following command omits the vfiler run command and the storage context (vf1).
lun create -s 2g -t windows /vol/vfstore/vf1_0/lun0
Result
The following error message is displayed:
lun create: Requested LUN path is inaccessible.
|
Displaying vFiler LUNs
To display LUNs owned by the vFiler context, complete the following step.
Step
|
Action
|
|
1
|
Enter the following command from the vFiler that contains the LUNs:
vfiler run * lun show
Result
The following information is an example of what is displayed.
==== vfiler0
/vol/vfstore/vf0_0/vf0_lun0 2g (21437483648) (r/w, online)
/vol/vfstore/vf0_0/vf0_lun1 2g (21437483648) (r/w, online)
==== vfiler1
/vol/vfstore/vf0_0/vf1_lun0 2g (21437483648) (r/w, online)
/vol/vfstore/vf0_0/vf1_lun1 2g (21437483648) (r/w, online)
|
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01094_B0
File: c4cr-f15.htm
Last updated: 08-Dec-2005 13:25:25