- DAEMON Tools с функцией iSCSI Initiator — простой и удобный инициатор iSCSI для Mac
- 1. Что такое инициатор iSCSI и iSCSI таргет?
- 2. Зачем нужен инициатор iSCSI для Mac и Windows?
- 3. Есть ли штатный инициатор iSCSI для Mac OS?
- 4. Что представляет собой функция iSCSI Initiator в DAEMON Tools Lite и как с ней работать?
- Проброс iSCSI диска с NAS’а через Интернет на MAC OS X
- Iscsi initiator mac os
- Iscsi initiator mac os
- Question: Q: What is the best iSCSI initiator for macOS 10.12?
- Helpful answers
DAEMON Tools с функцией iSCSI Initiator — простой и удобный инициатор iSCSI для Mac
iSCSI становится все более популярным в последние годы, и количество людей, которые успели оценить преимущества коллективного использования данных, постоянно растет. Клиентское программное обеспечение, позволяющее работать с этим протоколом, уже появилось в операционной системе Windows 7, но пока, к сожалению, не выпустили штатный инициатор iSCSI для Mac OS X.
В этой статье я хочу ответить на несколько популярных вопросов об iSCSI. Что такое инициатор iSCSI? Как работать с iSCSI Mac-пользователям? Зачем вообще нужен данный протокол? Но обо всем по порядку.
1. Что такое инициатор iSCSI и iSCSI таргет?
iSCSI – это протокол, который позволяет открывать доступ к данным по локальным и глобальным сетям, а также через Интернет. Чтобы не вдаваться в детали, отмечу, что этот стандарт позволяет использовать SCSI команды через сети IP. Для правильной работы требуется хотя бы два компьютера – первый будет выступать в роли хранилища данных, а второй – подключаться к этому серверу в качестве клиента. Клиент обычно называют инициатором (iSCSI Initiator), а представленные на сервере данные – таргетами.
2. Зачем нужен инициатор iSCSI для Mac и Windows?
Как я уже упоминала выше, iSCSI сервер – это огромное хранилище данных, которое можно использовать совместно по сети. С помощью инициатора iSCSI Mac OS или Windows получает неограниченный доступ к глобальной базе информации. Так, можно пользоваться удаленными образами или даже физическими дисками, работать с некоторыми ресурсами совместно с другими людьми или просто хранить массу полезной информации на сервере, экономя таким образом свободное место на своем компьютере. Действительно, вы можете смело забыть о гигабайтах данных на своем компьютере! Все это можно хранить на сервере iSCSI – Mac-машина же будет просто подключаться к серверу в нужное время и пользоваться необходимыми удаленными ресурсами так, как и локальными.
3. Есть ли штатный инициатор iSCSI для Mac OS?
Несмотря на то что с протоколом iSCSI Mac OS получает огромное преимущество, разработчики пока не реализовали данный функционал в операционной системе. Поэтому для работы с удаленными данными необходимо устанавливать стороннее программное обеспечение. Я рекомендую программу DAEMON Tools Lite, позволяющую работать с iSCSI таргетами на вашем Mac. Это простое в использовании приложение также монтирует разные виды образов и позволяет организовать коллекцию своих виртуальных дисков. iSCSI Initiator – это отдельная функция программы, которую можно приобрести дополнительно.
4. Что представляет собой функция iSCSI Initiator в DAEMON Tools Lite и как с ней работать?
DAEMON Tools Lite – это оптимальный инструмент для работы с образами. Купив дополнительную функцию iSCSI Initiator, вы можете пользоваться удаленными дисками, причем точно так же, как и локальными. Для этого достаточно выполнить ряд простых шагов:
- Скачиваем и устанавливаем DAEMON Tools Lite с официального сайта программы:
Вводим IP адрес сервера или его имя, а также Порт. По умолчанию номер порта – 3260.
Сервер готов к использованию, теперь нажимаем на треугольник возле его имени, чтобы раскрыть список доступных таргетов:
Выбираем нужный таргет и находим в его контекстном меню опцию Подключиться или же кликаем по иконке Подключиться в панели инструментов. Также соединиться с таргетом можно, дважды кликнув по нему:
Соединение установлено! Таргет теперь ничем не отличается от обычного локального образа:
Таким образом, если вам необходим удобный, простой и недорогой инициатор iSCSI для Mac, то я советую программу DAEMON Tools Lite. Более того, покупать приложение сразу необязательно, так как его функции можно оценить бесплатно в течение пробного периода. Также DAEMON Tools Lite предназначен для работы с разными типами образов, например, файлами ISO и образами APE.
Источник
Проброс iSCSI диска с NAS’а через Интернет на MAC OS X
Доброе время суток! По долгу службы, я занимаюсь системами хранения и администрированием OS X, в связи с этим, хочется странного.
Давайте определимся, для чего это было нужно? Во-первых, было интересно попробовать такую конструкцию. Во-вторых, при такой схеме не нужно использовать VPN. В-третьих, для специфических вещей, когда нужно, чтобы в системе виделся жесткий диск, а не сетевой. Из мелких плюсов вы всегда сможете видеть размер занятого\свободного пространства, чего нельзя сказать о сетевом диске без залезаний в панель администрирования NAS’а.
Для данной операции нам понадобится iSCSI Initiator и iSCSI Target. Строить это будем на том что было под рукой примере GlobalSan iSCSI Initiator и Synology 1812+ (iSCSI Target).
Для начала подготовим систему хранения. Попытаюсь пошагово рассказать для тех, кто захочет повторить и на аналогичных СХД.
Сперва нарежем нужное кол-во LUNов.
1. Выберите «Storage Manager».
2. Выберите вкладку «iSCSI LUN».
3. Нажмите «Create».
4. Для примера выберем первый пункт, iSCSI LUN (Regular Files).
5.1 Name — Имя LUN’a.
5.2 Location — То место на СХД, откуда будет откусываться кусок нужного объема.
5.3 Thin Provision — Выберите «Yes», чтобы занимаемый объем данными рос по мере заполнения, а не сразу занимал весь объем. Из минусов, чуть сниженная производительность при разрастании диска до максимального размера.
5.4 Advanced LUN Features — Нужно для поддержки VMware, клонирования и создания snapshot’ов. Не может быть изменено позже.
5.5 Capacity (GB) — Требуемый объем нового диска в гигабайтах.
5.6 iSCSI Target Mapping — Привязка iSCSI Target к определенному LUN’у (создание нового, или привязка с существующему).
6. Выберите имя и скопируйте IQN (iSCSI Qualified Name).
6.1. По желанию, можно включить аутентификацию.
7. Подтвердите правильность создания LUN’а.
8. Переходим к настройке GlobalSan iSCSI Initiator.
9. Нажмите плюсик и выберите «Portal/Group».
10. Впишите локальный адрес СХД Synology или белый IP, порт оставьте стандартный, Group Name любой (я выбрал 123).
11. После добавления, у вас должна получиться примерно такая картина. Разберемся поподробнее.
11.1 Сюда рекомендую вписать iSCSI Name и iSCSI Alias из пункта 6.1, если это не произошло автоматически.
11.2 Должно определиться автоматически.
11.3 Alias — Впишите имя iSCSI Target Mapping из пункта 6.1.
11.4 Локальный адрес добавится автоматически, и белый IP появится рядом (при настройке через интернет).
11.5 Поставьте галку напротив адреса, если нужно постоянное подключение к диску (Persistent).
12. Нажмите кнопку «Connect», цвет иконки статуса сменится на зеленый и вы увидите следующее окно.
13. Нажмите кнопку «Initialize. », у вас откроется окно дисковой утилиты.
13.1 Выберите требуемый диск.
13.2 Выберите требуемую файловую систему.
13.3 Выберите имя для диска.
14. Через некоторое время (зависит от скорости дисков, объема и др.) на рабочем столе OS X вы должны увидеть такой значок.
15. Готово! Время открывать шампанское.
Используемые версии ПО:
OS X — 10.8.5
GlobalSan iSCSI Initiator — 5.1.1.423
Synology OS — 4.3
Источник
Iscsi initiator mac os
nsinenian released this Jun 3, 2017
- Fixes memory leaks
- Fixes connectivity issue when LUN 0 does not exist
- Fixes connectivity issues with multiple LUNs
- Misc. stability and compatibility fixes
- Standards non-conformance fix: allows iSCSI targets names without a ‘:’ qualifier per RFC3720
nsinenian released this Dec 20, 2016
- Fixes for auto-login, login after wakeup from sleep
- Fixes compatibility issue with some Synology NAS products
- Fixes issue where initiator IQN or alias cannot be changed (if this is the first configuration change)
- Fixes issue where running background discovery can prevent other daemon functions (e.g., login to a target)
- Debug symbol files excluded (smaller DMG file size)
nsinenian released this Sep 5, 2016
- Option for connection persistence (auto login after loss of network connectivity)
- Allow CHAP secret to be entered directly on command line
- Bug fixes to auto-login during startup
- Other misc. bug fixes
nsinenian released this Jun 20, 2016
- Significant memory leak fixes
- Installation fix for 10.9 and earlier
- Working CHAP implementation (shared secrets now managed by daemon)
- Misc. bug fixes
nsinenian released this May 21, 2016
- Memory leak fixes
- Arbitrary length TLDs supported
- Different installation path for OS X Mavericks and earlier
- Integrates with OS X authorization database (see Managing User Rights section in Wiki)
- Optimized IO transaction size for compatibility with some NAS products
- Improvement handling of system sleep and session restore
- CHAP implementation is NOT functional in this beta as it is undergoing modifications
nsinenian released this Jan 19, 2016
Beta release. Please open issues in GitHub if you discover bugs.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Источник
Iscsi initiator mac os
Update 27 March 2021 : Further development is on hold until DriverKit 20.4 (Beta) is released, with support for IOUserSCSIParallelInterfaceController . This software will ultimately transition away from kernel extensions.
iSCSI initiator is a software initiator for macOS. It allows machines running macOS to connect to iSCSI targets. It automatically detects and mounts logical units on which users can then create and mount volumes. For more information about the iSCSI standard, see IETF RFC3720.
Builds of the kernel extension will not be signed and as a result macOS won’t load them. Kext signing must therefore be disabled before attempting to install and load the kernel extension. Additionally, as of El Capitan, new security measures have been implemented that prevent the installation of files in certain protected system folders (unless the files are placed there by an appropriate installer). For this reason, it is important to follow the directions applicable to the relevant version of macOS prior to installation of the initiator.
macOS 10.10 and earlier (prior to El Capitan)
Run the following command at a terminal prompt:
The kernel will load unsigned kernel extensions after a reboot.
macOS 10.11 and later
Run the following command at the Recover OS terminal window:
Follow the instructions in the System Integrity Protection Guide to access the Recover OS terminal window. Two reboots may be required during this process.
Download the desired release image file (.dmg), mount and run Installer.pkg to install the initiator. Similarly, run Uninstall.pkg to remove the initiator from your system. Ensure that no iSCSI targets are connected when updating or removing the initiator software, or you may experience an error during installation.
If you have an existing installation, logout of all targets before launching the installer. The installer will attempt to unload the iSCSI initiator kernel extension, if one exists and install new files. The iSCSI configuration will not be altered (existing settings are preserved).
Источник
Question: Q: What is the best iSCSI initiator for macOS 10.12?
I’m looking for a good iSCSI initiator to connect some Macs (currently running 10.12.5) to iSCSI targets hosted on a Synology NAS (latest DSm version). I have found the products from globalSAN and ATTO. Can anyone recommend one or other of these? Any negatives to either? Any other products I should be considering?
Mac mini, macOS Sierra (10.12.5), OS X Server 5.3
Posted on Jul 9, 2017 3:20 AM
Helpful answers
And why Apple does not make their own iSCSI initiator?
Nov 27, 2017 11:21 AM
There’s more to the conversation
Loading page content
Page content loaded
Price: globalSAN — $89, ATTO — $249
simple but works well enough
GUI automatically performs iscsi discovery once the SAN/Target server is defined
Be sure that you select only the specific target(s) that you are supposed/allowed to use as some Targets
discovered may be used/in use by other iSCSI clients (Initiators)
Works out of Preferences; can select «auto-connect» but is not required; best to eject before shutdown
CLI support is OK, somewhat limited when compared to Open-SCSI related utiliity implementations
such as «iscsiadm» (Linux V6, Solaris V1)
Initiator currently doesn’t have any SMART smarts if you use «smartctl»
CLI («gsutil») is located in «/opt/local/bin» which may require PATH settings if used often enough
CLI is NOT required to perform the iSCSI attachment procedures, but allows (advanced) users more options on
how to use the product
A «How to use iSCSI Targets on Mac computers» pseudo-guide from Synology is available (note that OS X
version displayed is somewhat old)
Synology Target is attached as a Volume (which you name in Preferences)
Initial connection to selected target may automatically bring up «diskutil» to «allow» you to format the Target;
make sure that you have the correct/allowed Target before proceeding!
Offers 14-day free trial
Haven’t used it because of cost; didn’t find any «trial version» available
Documentation implies more extensive options
There are some others which if you look at Internet postings are somewhat questionable as to use/currenency. One from GitHub, «iscsi-osx/iSCSIinitiator», (free) requires disabling System Integrity Protection as their application is not (Apple) signed. This process requires booting from Recovery OS. Read and understand all of the requirements and implications before using.
Sep 6, 2017 3:23 PM
For what its worth I get the impression that GlobalSan from Studio Network Solutions supports connecting to a SAN via iSCSI but also supports using Apple’s XSAN software to allow multiple users to connect to the same iSCSI target.
Normally only one computer should connect to an individual iSCSI target so the above is worth knowing.
Note: SNS also provide their own equivalents to XSAN called SANmp or another called iSANmp.
Sep 11, 2017 4:03 AM
SANmp and Xsan are FiberChannel based applications whereas globalSAN/iSANmp are ethernet based.
Whilst I cannot find iSANmp on the SNS web site, a 3rd party offering for it listed a $199 price — way more than for globalSAN ($89).
I mentioned that when using globalSAN that it automatically discovers ALL available iSCSI Targets and presents them in its Preferences interface — and — that users need to manually select which one to use — and — be very careful to choose the correct one.
One interesting note about Synology DiskStation level NAS/SAN servers (at least for the ds216 series) is that their configuration has an expliciit «allow/disallow multiple connections» for each defined Target so multiple connections to the same available Target can be managed at the iSCSI server level. Of course, if multiple connections are enabled, then the iSCSI user(s) are responsible for whatever happens to the Target data.
Since the original question was about (client) iSCSI Initiator rather than file sharing (MP) I did not include information about the other SNS products including Xtarget which is an iSCSI server application).
Источник