53 | | == 3.Make kernel 和 Xen == |
54 | | |
| 53 | == 3.Make Xen image == |
| 54 | {{{ |
| 55 | $ cd /usr/src/xen-3.2.1 |
| 56 | $ sudo make world |
| 57 | (SCSI disk I/O must build-in) |
| 58 | $ sudo make install |
| 59 | $ sudo update-grub |
| 60 | |
| 61 | $ cd /usr/src/linux-2.6.18-xen.hg |
| 62 | |
| 63 | $ sudo reboot |
| 64 | (choose xen image to booting) |
| 65 | }}} |
| 66 | [[BR]] |
| 67 | == 4.Make Lustre modules == |
| 68 | {{{ |
| 69 | $ cd /usr/src/linux-2.6.18-xen.hg |
| 70 | $ sudo make menuconfig (make config) |
| 71 | $ sudo make -j 5 |
| 72 | $ sudo make install |
| 73 | $ sudo make modules_install |
| 74 | $ sudo update-grub |
| 75 | $ sudo reboot |
| 76 | (choose new kernel booting) |
| 77 | }}} |
| 78 | {{{ |
| 79 | $ cd /usr/src |
| 80 | $ sudo tar jxvf lustre.tar.bz2 |
| 81 | $ cd module/lustre |
| 82 | $ sudo ./configure -with--linux=/usr/src/linux-2.6.18-xen.hg |
| 83 | $ sudo make |
| 84 | $ sudo make install |
| 85 | }}} |
| 86 | [[BR]] |
| 87 | == 5.Test Xen & Lustre == |
| 88 | {{{ |
| 89 | startup xen |
| 90 | $ sudo xend start |
| 91 | $ sudo xm list |
| 92 | |
| 93 | startup Lustre |
| 94 | $ sudo modprobe ldiskfs |
| 95 | $ sudo modprob lnet |
| 96 | $ sudo mkfs.lustre -t lustre |
| 97 | }}} |
| 98 | [[BR]] |