Archive for the ‘linux’ Category

OpenFiler – Volume size over 2 TB

Go to “Volumes” and then “Block Devices”. For your 4TB volume, what is the label type? If it says “msdos”, as I said, you cannot have a “msdos” partition table and use more than 2TB. If it says “gpt” then you may have hit upon a bug.

If it says “msdos” then do the following:
– Remove any volumes, volume groups, physical partitions, etc. that you created on that disk.
– Open a command prompt
– Run “parted /dev/sda” (substitute the appropriate device name)
– Type “print” (you should see the total size of the disk and the label type)
– Type “mklabel gpt”
– Type “print” (to make sure that the label has changed)
– Type “q” (to quit)
– Close the command prompt

Back in the web admin, refresh the “Block Devices” page and see if it now shows a label of “gpt”. If it does, create your physical partition, volume group, etc. If it doesn’t, reboot.

Ubuntu and the VI editor

So I’ve been using linux for a fairly log time now. By the process of forced association I’ve picked up a few simple tricks to make working with your linux distro easier. I’ll begin by showing you a few things I do to every linux box I build to make my life easier. Most recently I’ve been using Ubuntu, but they should work just as well for most linux flavors.

The VI editor – ubuntu issues
In ubuntu vi this has some odd behavior. I cribbed this little fix from Falko Timme at and it works great.

sudo aptitude install vim-nox

You still launch vi with “vi”.


with a space and the file name.
all is as it was before.

Return top