Académique Documents
Professionnel Documents
Culture Documents
CreatingaNetworkAttachedStorageVMwareusingFreeNAS|Simon'sBlog
CreatingaNetworkAttachedStorageVMware
usingFreeNAS
8Votes
ThisTutorialwillgiveyouarundownonhowtocreateaVMwareusingthefreeNASFreeBSDDistroFree
NAShttp://freenas.org
CreateanewVMwareVirtualServer
UsingthecreatenewServerwizardcreateanewvmwareserveroftypeOtherLinux2.4kernel
AssignaHDDofatleast8GB
Assignatleast256MBRAM
Downloadthefreenasdistrofromthefreenassitehttp://www.freenas.org/
AssignNetworkingoftypebridgedorhostonlyastheNASservershouldhaveafixedIPaddress
StartuptheNewlycreatedVMwareServerandallowFreeNastobootupuntilitreachestheConsole
SetupScreen(SeeAboveScreenShot)
data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20color%3A%20rgb(76%2C%2076 1/9
1/1/2015
CreatingaNetworkAttachedStorageVMwareusingFreeNAS|Simon'sBlog
InstallFreeNASontheVirtualmachine
FromtheConsoleSetupWindowchooseoption9Install/UpgradetoHardDrive
ChooseOption2InstallembeddedOSonHDD+DataPartition.
ClickOK
ClickOK
SelecttheCDROMDriveFoundastheInstallersource
SelecttheTargetVMWarevirtualdiskastheInstallerTarget
AllowtheInstallertocontinue
AfterithasformattedthediskSelectEntertoreturntotheInstall&UpgradeScreen
ChooseExitOptiontoreturntotheSetupConsole
data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20color%3A%20rgb(76%2C%2076 2/9
1/1/2015
CreatingaNetworkAttachedStorageVMwareusingFreeNAS|Simon'sBlog
AssignaLANIPAddressfortheInstall
FromtheConsoleSetupScreenChooseOption2toSettheLANIPaddress
AssignanIPv4StaticAddressDONOTUSEDHCP
OncetheIPhasbeenassignedshutdowntheSystemfromtheConsoleSetupmenuandremovetheISO
imageofFreeNASfromthevirtualmachineandthenStartuptheVMagaintoensureitbootsfromthe
newlyinstalledO/SandnottheCDROM.
AccesstheFreeNASAdminWebGUI
OncetheVirtualMachinehasrestartedyoushouldnowbeabletoreachtheFreeNASWebAdminGUI
usingtheIPaddresssetinthepreviousStep
Loginwithuseradminandpasswordfreenas
AddTheDataPortionoftheDataDisk
data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20color%3A%20rgb(76%2C%2076 3/9
1/1/2015
CreatingaNetworkAttachedStorageVMwareusingFreeNAS|Simon'sBlog
fromTheWebGUIGototheDiskMenuandChooseManagement
FromTheDiskDropDownChoosetheVmwareHDDandClickAdd
ClickApplyChanges
AddtheDataPortionoftheHDDasanewMountpoint
FromtheWebGUIChoosetheMountpointMenuDisks/Mountpoint
clicktheRedCrosstoaddaMountPoint
ChoosetheDiskfromtheDropDowncreatedinthepreviousStep
ChoosePartitionoftype2fromthePArtitionDropDown
InputaShareNamee.gDATA
DontChangeanyOtherOptions
ClickAdd
ThenClickApplyChanges
ManuallyAddingExtents
data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20color%3A%20rgb(76%2C%2076 4/9
1/1/2015
CreatingaNetworkAttachedStorageVMwareusingFreeNAS|Simon'sBlog
ForEachISCSIDiskwewishtocreateforourNASwemustcreateanISCSIExtentandTarget
TheExtentsarebasedonafileintheMountpointcreatedinthepreviousstepandmustbecreatedfrom
theshell
GobacktotheVMwareandchooseoption6(Shell)fromtheConsoleSetupmenuandthiswillreturna
standardlinuxShellPrompt
ChangeDirectorytothemountpointcreatedearliere.gcd/mnt/DATA
ForeachiSCSIDiskwerequirewemustcreateanextentfile
InthisexampleIwillcreatejustone
AttheshellpromptinthemountpointdirectorytypetouchQD
Thenameisnotimportant.
WecannowaddtheISCSITargetsviatheWEBGUIsocannowgobacktotheWebGUI
AddingiSCSITargets
FromtheWEBGUIgototheServices/iSCSITargetPage
AddingtheExtenttotheiSCSITarget
data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20color%3A%20rgb(76%2C%2076 5/9
1/1/2015
CreatingaNetworkAttachedStorageVMwareusingFreeNAS|Simon'sBlog
OntheiSCSItargetpageintheWebGUIClickthe+toaddanewextent
OntheAddExtentPageChooseTypeFileandinthePathwindowsetthepathtotheextentfilecreated
fromtheshell(UsetheRadioButtonattherightofthewindowtochoosethepathtothefile.
SetaSizefortheExtentinMBandaddacommentifyouwish
ClickAddandthebrowsershouldreturntothepreviouspageshowingthenewlyaddedextent.
CreatinganiSCSiTargetusingthenewlycreatedextent
FromtheiSCSITargetPageClickthe+attherightoftheTargetsectiontoaddanewiSCSitarget.
Choosetheextentcreatedinthepreviousstep
ChoosetheAuthorizedNetworkthatwillhaveaccesstothisiSCSITargete.g.192.168.254.0/24.
ClickAddtoreturntothenextpage.
CompletingtheiSCSiTargetCreation
data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20color%3A%20rgb(76%2C%2076 6/9
1/1/2015
CreatingaNetworkAttachedStorageVMwareusingFreeNAS|Simon'sBlog
FromtheiSCSITargetPage
SelecttheEnableCheckbox
ThenclicktheApplyChangesbutton
ThenClicktheSaveandRestartButtontoapplytheChangestotheFreeNASServer.
WearenowfinishedwiththeFreeNASsetup.
WeshouldnowabletoattachaWindowsServertothisiSCSITargetusingtheWindowsiSCSIInitiator.
DownloadandInstalltheiSCSIInitiator
DownloadtheMicrosoftiSCSiInitiatorfromtheMicrosoft
data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20color%3A%20rgb(76%2C%2076 7/9
1/1/2015
CreatingaNetworkAttachedStorageVMwareusingFreeNAS|Simon'sBlog
websitehttp://www.microsoft.com/downloads/details.aspx?familyid=12cb3c1a15d64585b385
befd1319f825&displaylang=en
Oncethedownloadhasfinishedruntheinstaller
TheInstallerwillplaceashortcuttotheiSCSiconfigurationtoolonyourDesktop
ThenLaunchtheConfigurationtoolinordertoaddaniSCSitargetfromourFreeNASserver
IntheDiscoveryTabaddtheFreeNASserverasaTargetPortal
GoTotheTargetsTabtoseetheiSCSidisks
IntheiSCSIInitiatorToolgototheTargetsTabandyoushouldseetheiSCSITargetsprovidedbyyour
FreeNAsserver
SelecttherelevantoneandclicktheLogonbuttonandthenchecktheAutomaticallyRestorethis
connectioncheckbox
ClickOK
ClickOK
ThenewlyattachedDiskshouldnowbeavailableintheDiskManagementAdminToolinWindows
AttachaDriveLetterandformattheiSCSIdisk
data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20color%3A%20rgb(76%2C%2076 8/9
1/1/2015
CreatingaNetworkAttachedStorageVMwareusingFreeNAS|Simon'sBlog
OpenAdministrativeToolsComputerManagementandgotoDiskManagement
AwizardshouldnowrunonceitdetectsthenewDisk
AssignaDriveLetterandformattheDrive(NTFS)
YounowhaveaniSCSIattachedNASdiskthatcanbeusedforexampletocreateaWindowsCluster
HaveFun!!!
data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20color%3A%20rgb(76%2C%2076 9/9