Creating an iscsi target system with the iscsitarget package:

1. sudo apt-get install iscsitarget

2. Create a 2 GB file (/srv/disk1) to be served via iscsi:
sudo dd if=/dev/zero of=/srv/disk1 bs=1000 count=2000000

3. Enable iscsi target in /etc/default/iscsitarget.

4. Configure the iscsi target to serve /srv/disk1 in /etc/ietd.conf:

Lun 0 Path=/srv/disk1,Type=fileio

5. Start iscsitarget.

-- 
karmic: iSCSI root: boot hangs on starting iscsid
https://bugs.launchpad.net/bugs/457767
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to