meta data de esta página
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| aplicaciones:freenas [2014/09/16 12:03] – lc | aplicaciones:freenas [2023/01/18 13:10] (actual) – editor externo 127.0.0.1 | ||
|---|---|---|---|
| Línea 1: | Línea 1: | ||
| + | {{tag> almacenamiento Freenas}} | ||
| ===== FreeNas ===== | ===== FreeNas ===== | ||
| - | Para instalar el freenas en Vmware lo primero es descargarnos la imagen del disco *.vmdk de la página www.freenas.org. Pulsamos el botón de descargar y dscargamos | + | Para instalar el freenas en Vmware lo primero es descargarnos la imagen del disco *.vmdk de la página www.freenas.org. Pulsamos el botón de descargar y descargamos |
| Nos descargará un fichero con extensión xz que tendremos que descomprimir con el 7zip. | Nos descargará un fichero con extensión xz que tendremos que descomprimir con el 7zip. | ||
| Línea 19: | Línea 20: | ||
| ==== Añadir un volumen de una cabina ISCSI === | ==== Añadir un volumen de una cabina ISCSI === | ||
| - | PART 3 - Configuring The Initiator | ||
| - | In the initiator machine' | + | === Configurar el Iniciador === |
| - | FreeNAS mounts / as read-only; to mount / with write access, enter mount -uw / | + | |
| - | The iscsictl command we're going to use to connect to the iSCSI target requires iscsid, which we need to enable. To do this, enter nano / | + | |
| - | The configuration file should open in the nano text editor. Use the arrow keys on the keyboard to move the cursor to the end of the file, then, on a new line, enter iscsid_enable=" | + | |
| - | We can set up a configuration file to point the iSCSI initiator to the target. To do this, type nano / | + | |
| - | In the empty nano editor add the text indicated below step 17. | + | |
| - | Press Control + O, then Return to write out the file. Press Control + X to exit nano. | + | |
| - | To set the appropriate permissions on the file, enter chmod 600 / | + | |
| - | Enter mount -r / to mount / as read-only, then close the Shell. | + | |
| - | Click Reboot in the web interface and click Reboot. | + | |
| - | When the system comes back online, log in to the web interface. | + | |
| - | Go to Shell. | + | |
| - | Enter iscsictl -Aa | + | |
| - | If everything worked as it should, the initiator should have connected to the target system. To verify the connection, enter iscsictl | + | |
| - | The system should indicate that the iSCSI target is connected and that da1 is available. This means that /dev/da1 on the initiator system is actually the zvol0001 we created on the target. | + | |
| - | Close the Shell. | + | |
| - | If you go to Storage-> | + | |
| - | Text of /conf/base/etc/ | + | Entrar por ssh al Freenas y montar **/** como escritura ya que por defecto Freenas lo monta como de sólo lectura. Para ello ejecutamos < |
| + | Editar el fichero < | ||
| + | |||
| + | Añadir al final del fichero las siguiente línea | ||
| + | < | ||
| + | iscsid_enable=" | ||
| + | </ | ||
| + | | ||
| + | |||
| + | Crear el fichero iscsi.conf < | ||
| + | Contenido de / | ||
| + | < | ||
| iscsi0001 { | iscsi0001 { | ||
| TargetAddress = 10.0.1.3 | TargetAddress = 10.0.1.3 | ||
| Línea 46: | Línea 41: | ||
| } | } | ||
| - | End text of / | + | </ |
| + | |||
| + | darle los permisos al fichero que hemos creado < | ||
| + | |||
| + | Volver a dejar el volumen raiz como sólo lectura < | ||
| + | |||
| + | Reiniciar la máquina. Una vez reiniciada comprobar si ha conectado con < | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==== Enlaces ==== | ||
| + | * http:// | ||
| ==== Enlaces ==== | ==== Enlaces ==== | ||
| * http:// | * http:// | ||