MODULE 18: LUN ACCESS
In this exase, you provision LUNs on storage system and aces them on your asigned Windows®
Server anc Red H® machine.
osuecrves
By teen ofthis exercise, you shouldbe able
Crese LUN using commands
Inalie LUN wih Disk Management
Provision LUN with Disk Management
Make te mounting ofa LUN persistent
(CeateiSCSTatached LUNS for Red Hat Linax
DiseoveriSCSaccessible LUNS from Red at nix
‘Preparan individual LUN and mount ion Red Hat Linx
TASK 1: CREATE A LUN USING COMMANDS.
{mths task you fog ino your assigned storage system and erste LUN ht the Windows machin wil
‘cone tng ISCSL
Gre — volume eles a =
Tam off the dtl Snapsbt copy shade
yaten> anap ached Iunl 0 0 0
| Crete an nioor poop amu
system group create 1 -t windows Wz
scat ign ef windows machine
Replace ign_of windows machine withthe IQN ef you sssgned Windows Server
rrsthine
‘S| Verily te iroup that you rates
| Gree LIN ing ic comand 1
system tun ereate ~2 $0a ~t windows /vol/tunt/Lent
7. | Verify LUN tat you eed
system tun show8. | Map the LUN tothe group:
system tun map /vei/tunt/Iunt Im taoas 1
sncmep: info): LON /vo1/Lunl/Auol wae mapped to initiator
9, | Vel the LUN with he lowing command:
aystem tum show -m i
Example ouput
um path Mapeed to LH ID. Protocal |
Prot /tusi/1s0 samsaces 1 sscsr
“TASK 2: INITIALIZE A LUN WITH DISK MANAGEMENT
"nti tsk, you wil og nto your assigned Windows platform and ini the new hn.
PS ACTON
1. [On your asigard remote Windows Serer 2008 R2 machin, click the Server Manage ico:
4
eco
2. Inthe we pane on the left, expand Storage.
The Disk Management nde shouldbe vise.
‘ezrin eg aa‘3. | Select Disk Management:
lace
[NOTE: If you do not sea east one LUN inthe main pane ight-c Ihsk Management ad
| select Reseun Disks.
After while, one of more LUN should appear.
| Select un and bring tonne ty vghi-lickng the dak mame and clocting Online
‘ight the disk vomber of unl and sleet Tali,
ayy e
Sele the master bot record (NBR) partion se (Dat was the ope oF LUN tat you ret
in the previous application) andclick OK,
“TASK 3: PROVISION A LUN WITH DISK MANAGEMENT
“To poison the new fun wih Disk Management, you can use either the New Simple Volume Wizard othe
‘Provisioning Storage Wiz fom the Stare and Storage Mandgement on this task, you provision land
‘using the New Simple Volume Wizard
Righelick the ew unallocated and selec New Si
The New Simple Volume Wizasl appears:F Click Next.
[3. [On the Specify Volume Siz page, selec te maxima posible LUN size and ick Newt
‘4 | Assign an available rive letter, such as E, and click Next.
{snot vallable enter afer: dive lets.
‘S| Seleet Format his volume with the following setngs and fom the "Fle syten dop-lown
Tis sleet NTFS.
[cane
7 | Veily caval of he temaon on the Completing te New Simple Velane Wiad apes
comet Click Finish
's, [After momen, the LUN should become avaiable Navignte wn te dive eter ef the LUN ond
write atest flo the LUN to verify that its woking eect“TASK 4: MAKE THE MOUNTING OF A.LUN PERSISTENT
In this task, you make the mapping of un! persistent. Ifyou bind a volume inthis way (ora device before
you inte an fommat the LUN, then when Windows Server 2008 R2 restr, the volume moe ready
_valbl for use by programs and sevies.
NOTE: The target thats asocated witha persitemly mounted volume must be onthe Favorite Targets list
1. | OpentheiSCSI Ito Properties dialog box,
NOTE: For conveniene, you cn open the Start menu an select SCSI Initiator rom the ist of|
|
|
2. nthe Targets ab cick Devices.
_ the Devices dialog box, you should see tnt.
3 [Click OK
‘¢m1) mee atm meyer teChick the Volumes and Deviees a,
Nols tat there are currenty no voumes onthe Vlume List:
SSS
a
Sas
———<——
arom
4
=I
4
‘S| Click AwtoConfigars
‘The dive ltr esscited withthe ESCST age shold mw appr n the Volume Ls.
aa
a
= me
"Now when yo estar te Windows system un wile avallahe onthe ssscitd mountpoint
inthis rample c= oeta\eLs)
etag Pe med enecndeyieing pecan te