![]() |
|
|||||||
| Đăng Kí | Hỏi/Ðáp | Thành Viên | Lịch | vbSPY | Ðánh Dấu Ðã Ðọc | Tags |
![]() |
|
|
LinkBack | Ðiều Chỉnh | Xếp Bài |
|
|
#1 (permalink) |
|
Senior Member
|
Anh em có ai dùng iSCSI với Ubuntu chưa nhỉ? tớ đang định làm 1 cái iSCSI Target để làm Storage cho VMWare ESX. ai làm ngon lành rồi thì giúp với nhé; khi nào tớ làm xong tớ up cách thực hiện lên;
![]() đây là 1 đoạn tutor trên Internet: Trích: This is for a clean install, since ISCSI is a task intensive process. It will use ISCSI enterprise target software from [Only registered and activated users can see links. ] version iscsitarget-0.4.13.tar.gz. download it to your desktop. unarchive it to a folder on your desktop. You will need 2 disk drives, say /dev/hda for ubuntu OS and /dev/sda for iscsi data first install dapper then login and update the normal Software updates way. reboot because of the kernel update. go to synaptic and install make libssl-dev linux-headers-2.6.15-26-386 - do a uname -r to make sure what you are running. gcc install then get a terminal window up and do sudo su to be root. type: ln -s /usr/src/linux-headers-2.6.15-26-386 /usr/src/linux cd to your desktop iscsi folder you created previously from unarchiving Example: cd /home/user/Desktop/iscsi make KERNELSRC=/usr/src/linux then I had to type: make KERNELSRC=/usr/src/linux install Not exactly sure why i needed to do the make part 2x but it works cp /home/user/Desktop/iscsi/etc/ietd.conf /etc It is now installed. But we need to setup the ietd.conf file vi /etc/ietd.conf go to the line that says Lun 0 Path= edit it to point to your iSCSI disk. Lun 0 Path=/dev/sda save /etc/init.d/iscsi-target start It should say: Starting iSCSI enterprise target service: succeeded. Now get the IP address of your box, install MS iscsi initiator free download and test away. I have an athlon 64 3000+ and 2 gb ram IDE disks, 1 Gig Ethernet with a crossover cable , jumbo frames set on both NICS to an XP box same specs and got 30-40 MBps on IDE and on a unbuntu ram disk i got 70MBps max. It seems on a 1 Gig ethernet the network is the limiting factor. Now i need to buy 4 PCI express gig nics from Dlink and bond them together to see what i can get. I have tested this in a VMWARE server session and it works but it is slow since it is a vm and no jumbo Frames as far as i can tell. |
|
|
|
|
|
|