Do you want to have a 32bit version of OMV?

Hello all,

i am thinking about to release only a 64bit version of OpenMediaVault. Today most older hardware already supports 64bit, so i do not think that there is any need for a 32bit version anymore. Please tell me want what you are thinking about this.

[poll id=”2″]

4k alignment

Currently i’m a little bit confused. I’m trying to take care about the correct 4k alignment to get best performance for new HDDs with size > 2TiB. I’m using the following command till now, but i know it is not the optimal setting, but how to tell parted to auto-align the partition?

parted -s — ${device} mklabel gpt mkpart primary 0 -1

Using

parted -s -a optimal — ${device} mklabel gpt mkpart primary 0s -1s

does not fix the problem. Everytime the partition layout looks like

# fdisk -lu /dev/sdd
WARNING: GPT (GUID Partition Table) detected on ‘/dev/sdd’! The util fdisk doesn’t support GPT. Use GNU Parted.
Disk /dev/sdd: 106 MB, 106954752 bytes
255 heads, 63 sectors/track, 13 cylinders, total 208896 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      208895      104447+  ee  GPT
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 1) logical=(0, 0, 2)
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(13, 0, 51)

which is not optimal. Any tipps?

New storage management

After a long time i will show you the new storage management in OpenMediaVault. I split it into three sections:

  • Physical disks
  • RAID management
  • Filesystems

Hopefully this will be the best solution to be open to add additional storage services.

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.

Unstripped build of FFmpeg for Ubuntu

If you want to enable various codecs in FFmpeg that are not supported by the official Ubuntu package (e.g. H.264) then this short howto will help you to build your own package quickly. I’m using the official package sources to make it as easy as possible and to ensure to do not break something. Make sure you have the Multiverse and Universe repositories enabled.

Create a new directory

mkdir ffmpeg-unstripped
cd ffmpeg-unstripped

Install some additional packages, especially the codecs you want to add to the FFmpeg package

sudo apt-get install build-essential libxvidcore-dev libx264-dev libfaac-dev libmp3lame-dev

Have a look into the debian/confflags file to find out additional packages that can be added also.

Next the packages required by the offical FFmpeg package are downloaded, also the source package itself.

sudo apt-get build-dep ffmpeg
apt-get source ffmpeg

Now its time to build the package

cd ffmpeg-*
fakeroot debian/rules binary

Finally we can install and validate the result. Before it is necessary to remove a previously installed FFmpeg package.

sudo apt-get remove ffmpeg
sudo dpkg -i ../*.deb
ffmpeg -format