Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sanboot:centos_iscsi_install [2008/02/20 15:51]
mcb30
sanboot:centos_iscsi_install [2008/02/20 16:08] (current)
mcb30
Line 1: Line 1:
 ====== Installing CentOS to an iSCSI target ====== ====== Installing CentOS to an iSCSI target ======
  
-The CentOS installation process is somewhat fragile, and the built-in support for iSCSI installation does not function properly except in very limited circumstances. ​ However, it is possible to work around this limitation and install to an iSCSI target.+The CentOS installation process is somewhat fragile, and the built-in support for iSCSI installation does not function properly ​(except in very limited circumstances).  However, it is possible to work around this limitation and install to an iSCSI target.
  
 ===== Starting the installation ===== ===== Starting the installation =====
Line 7: Line 7:
 Start a CentOS installation in the usual way, and proceed up to the point of the partitioning screen: Start a CentOS installation in the usual way, and proceed up to the point of the partitioning screen:
  
-{{screenshots:​centos_iscsi_install_partitioning.png?​400x300|CentOS partitioning screen}}+{{ screenshots:​centos_iscsi_install_partitioning.png?​400x300 |CentOS partitioning screen}}
  
 Click on //Advanced storage configuration//,​ and add an iSCSI target. ​ For the target IP address, enter //​127.0.0.1//:​ Click on //Advanced storage configuration//,​ and add an iSCSI target. ​ For the target IP address, enter //​127.0.0.1//:​
  
-{{screenshots:​centos_iscsi_install_gui_add_target.png?​400x300|CentOS iSCSI installation GUI}}+{{ screenshots:​centos_iscsi_install_gui_add_target.png?​400x300 |CentOS iSCSI installation GUI}}
  
 You will see the message "​Initializing iSCSI initiator"​ appear for several seconds, then the display will return to the partitioning screen. You will see the message "​Initializing iSCSI initiator"​ appear for several seconds, then the display will return to the partitioning screen.
 +
 +===== Connecting to the iSCSI target =====
  
 {{ screenshots:​centos_iscsi_install_connect.png?​320x200|CentOS iSCSI installation connection to disk}} {{ screenshots:​centos_iscsi_install_connect.png?​320x200|CentOS iSCSI installation connection to disk}}
- 
-===== Connecting to the iSCSI target ===== 
  
 Press //​Ctrl-Alt-F2//​. ​ This should take you to a root shell prompt. ​ Connect to the iSCSI target to be used for installation:​ Press //​Ctrl-Alt-F2//​. ​ This should take you to a root shell prompt. ​ Connect to the iSCSI target to be used for installation:​
Line 33: Line 33:
 ===== Completing the installation ===== ===== Completing the installation =====
  
-Press //​Ctrl-Alt-F6//​ to return to the graphical installation process. ​ Click on //​Back//​. ​ This will cause the installer to rescan for disks, and the iSCSI target should now show up in the list of available disks+Press //​Ctrl-Alt-F6//​ to return to the graphical installation process. ​ Click on //​Back//​. ​ This will cause the installer to rescan for disks, and the iSCSI target should now show up in the list of available disks:
- +
- +
- to proceed to the disk selection screen: +
- +
-{{screenshots:​centos_iscsi_install_select_drive.png?​400x300|CentOS iSCSI installation disk selection}} +
- +
-You must tick the "​Review and modify partitioning layout"​ box before proceeding to the disk partitioning screen:+
  
-{{screenshots:​centos_iscsi_install_remove_swap.png?​400x300|CentOS ​iSCSI installation swap removal}}+{{ screenshots:​centos_iscsi_install_partitioning_recap.png?​400x300 |CentOS ​partitioning screen}}
  
-Select and delete ​the swap partition. ​ This is required for two reasons: firstly, swap over iSCSI (or over any network device) is generally a bad idea; secondly, doing so works around a bug in the CentOS installer which would otherwise result in the partition table never being written to disk.+Continue with the rest of the installation as usual.
  
 Make a note of the iSCSI target IQN that you installed to (//​iqn.2007-08.name.dns.target.my:​iscsiboot//​ in the above example). ​ You are now ready to Make a note of the iSCSI target IQN that you installed to (//​iqn.2007-08.name.dns.target.my:​iscsiboot//​ in the above example). ​ You are now ready to

QR Code
QR Code sanboot:centos_iscsi_install (generated for current page)