StarWind provide the Fee version of ISCSI software. I am going to use to service my SAN environment for Hyper-V.
The interface is relative easy to create the san disk.
Now, Let try to attached the SAN to the Windows Host.
1. Make sure iSCSI service is running and started automatically
SC QC MSiSCSI
2. First, we need to make the Windows server find the SAN.
You can use iscsicpl
Or Powershell or even iSCSIcli
iSCSIcli QAddTargetPortal <Storage Server>
iSCSIcli ListTargets
-- You should see the iQN of the target server
iSCSIcli QloginTarget <Target IQN>
-- You should see a connection and session id
iSCSIcli PersistentLoginTarget <target_iqn> T * * * * * * * * * * * * * * * 0
-- There are 15 “space” + “*”
-- You do this so you can survive a reboot
iSCSIcli ListPersistentTargets
-- You should see a target
-- Check iSCSI status
iSCSIcli ReportTargetMappings
3. Use diskpart to create the partition, mount the disk
select disk 1
attribute disk clear readonly
online disk
create part primary
select part 1
assign letter=Q
Other useful command to check the disk status
- LIST Disk
LIST Partition
LIST Volume - SELECT Disk n
SELECT Volume n
SELECT Partition n - DETAIL Disk
DETAIL Partition
DETAIL volume
ASSIGN (allocate the next free drive letter)
ASSIGN LETTER=l (Choose a free letter) - CREATE PARTITION Primary Size=50000 (50 GB)
CREATE PARTITION Extended Size=25000
CREATE PARTITION logical Size=25000 - DELETE Partition
Reference
http://www.thomasmaurer.ch/2010/02/cheatsheet-using-diskpart-on-a-server-core-installation-4/
Are you trying to earn money from your websites or blogs by using popunder ads?
ReplyDeleteIf so, have you ever consider using PopAds?