How to compile the iscsitarget kernel modules

The iscsi-target plugin is one of the first plugin implemented in for OMV. When starting with OMV Debian Lenny was used, but during the development OMV switched to Debian Squeeze. While testing the iscsi-target plugin i have to realize that there is no Debian package for the kernel modules anymore. As far as i remember in Lenny there was a package that could be installed from the package repository, but in Squeeze you have to compile it yourself. So all user that want to use the iscsi-target plugion must compile their modules first. But don’t be afraid, this is simple. Before installing the OMV iscsi-target plugin you should start the following command line on your console to compile the required iscsi_trgt.ko module:

apt-get install iscsitarget-dkms

That’s all.

New storage management

While implementing the LVM plugin i came to the conclusion that the current storage management is too limited. E.g. the current datamodel does not support features like implementing a plugin that allows the user to mount a ISO as shared folder. Because i know that such a feature request will come someday i started to reimplement the datamodel and infrastructure. Now the whole storage management does not need to have any configuration, this means all data is detected during runtime, this also applies to the filesystems. If you mount a filesystem this is the first configuration entry for the whole storage management. Due this code refactoring i hope that the datamodel and backend is nearly ready for every feature. The LVM plugin is currently not finished, because of that i did not show the logical volume administration section. Experts maybe miss some features in the WebGUI, but those can use the console for that because, as i already told above, everything is done during runtime, so changes via console should be visible in the WebGUI too.

The new storage management is far from that what i have planned at the beginning: It should be easy to use. Now its a little bit more difficult for novices, but i really did not want to hear anything from special peoples around here why i did not implement it these or that way. Im ready with that, now it is like it is.

Debian installer problem with GRUB

OpenMediaVault is using the Debian installer d-i to install the core system. The install process is preseeded to reduce user interaction and to do not allow the user to choose incorrect settings. While testing i realized that the installation of GRUB fails when the following parameters are given:

  • The system is installed on sde for example
  • sda-sdd are empty disks

In this case the installation fails with the message that it is not possible to install GRUB on sda. What? sda? I have choosen /dev/sde to install the core system. Why the hell is GRUB trying to install itself on sda?

Is this a bug or do i miss something?

The following options are used in the preseed.cfg file:

d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true

Any tipps or suggestions?

Update:
The bug also appears when using the latest Squeeze netinst ISO. A bug has been reported to Debian grub-installer package.