Michael `s blog OSS / Linux, networking and my private life

18 Dez/09 3

Time Machine and iSCSI

Having made my Time Machine backup to an SMB share in time due to problems with the image problems I've decided to seek a new way. Currently used for the iSCSI storage to a Linux server. What you need is the iSCSI target on Linux (in this case Ubuntu), and an iSCSI initiator for the Mac is because in both Leopard and Snow Leopard will not support iSCSI natively.

The installation of the target goes under Debian by:

 uname -r ` aptitude install iscsitarget iscsitarget-modules-`uname-r` 

This is followed by the configuration of the target in /etc/ietd.conf

  Target iqn.2009-12 name.streb. Storage.timemachine
     = / dev / vg_data / lv_timemachine, Type =blockio Lun 0 Path = / dev / vg_data / lv_timemachine, Type = blockio
     Also known as Time Machine 

The configuration change is initiated by the restart of the target daemons: /etc/init.d/iscsitarget restart .

Previously, however, must be /etc/default/iscsitarget to be edited to allow the starting of the daemons.

  ISCSITARGET_ENABLE = true 

To make iSCSI can be used on the Mac "globalSAN iSCSI" are used to find the software is here: http://www.studionetworksolutions.com/support/faq.php?pi=11&fi=51 .
After successful installation, the volume can be integrated.
To set the settings brings globalSAN SystemPref with one in which the "portal" to set the iSCSI target host.

globalSAN iSCSI Portal

globalSAN iSCSI portal

After that, the "targets" the available file systems visible.

globalSAN iSCSI Target

globalSAN iSCSI Target

After that time machine is normally set to the new volume and off you go.

Filed under: apple , it write a comment
Comments (3) Trackbacks (0)
  1. Do you have jumbo frames at home :) ?

  2. No, I'm _not_ course but the speed is "oddly" still significantly better than to NEN SMB share! :)

  3. The solution still has two hooks: 1 as you are attacking from the Linux box to the data and second What about data security? Where is the Authetifizierung / authorization?


Leave a comment

(required)

No trackbacks.