Articles in the Uncategorized category

  1. Google DNS - What to Think of It?

    Thu 03 December 2009

    Google now provide an open DNS service. At first I was scared that they use their service to get information about users.

    However, their privacy statement tells us that no personal identifiable information is stored for longer than 48 hours. The permanent logs do not contain such information. The most notable information that is stored permanently is the requested domain. The other thing is that they record the location of the request on the city level. And even that info is only stored for two weeks. After that, only a small random sample of info is stored for permanent storage.

    The main question is now: who do you trust more: Google or your ISP.

    To be honest, I think I trust Google more than my ISP. I don't think my ISP adheres to the same privacy policy.

    Tagged as : Uncategorized
  2. Convert Dos File to Linux Format Wit Vim

    Thu 03 December 2009

    If you have some file that has been saved on a (Win)do(w)s host you may notice that all lines end with ^M.

    To fix this, you can use the tool dos2unix. If however this tool is not at your disposal, you may have a problem. If vim is available, you do not have a problem:

    The trick is to delete all occurances of ^M with this line:

    :%s/ctrl-v ctrl-m//g

    This will look like:

    :%s/^M//g

    Just save the file and you're done.

    Tagged as : Uncategorized
  3. Which File System for a Large Storage Array Under Linux?

    Mon 30 November 2009

    There are many file systems available under Linux, however only a few of them can be used for a large storage array.

    I am assuming that you want to create a single file system. I don't care if you use LVM or other layers beneath, this is about which file system to use.

    I will discuss each file system in short.

    • EXT3

    Old and trusted. but slow, wastes tremendous amounts of free space and has an 16 TB limit. Not recommended. At 16 TB, you will lose significant amounts of free space.

    • JFS

    Developed by IBM, it seems an ok file system and it supports 16+ TB file systems. However it is abandoned by IBM and does not seem to have a future. The reason I did not choose JFS is because it does not seem to be in wide spread use and therefore, and I do not want to take any risk in this regard. I might encounter some rare bug because I would be one of the few Linux jfs users that creates 16+ TB file systems.

    • XFS

    A file systems that works. Supports 16+ TB file systems and is widely used. It has some drawbacks, such as data loss (files are zeroed) when something goes wrong (powerloss) however, nobody that is interested in creating a large filesystem is going to run the box without a UPS.

    • Reiserfs

    The guy who designed and wrote it is in jail for killing his wife. Not much future here, i suppose. Also, it does not support file systems bigger than 16 TB.

    • Reiser4

    Some new version of Reiserfs which is still not available as part of a stable Linux kernel.

    • EXT4

    Ext3 upgraded to current days need, although with a draw back. On paper, it supports 16 TB+

    file system, but currently, in practice, it does not. I found out the hard way and had to reformat my array with another file system.

    My choice:

    Honestly, there is not much of an option currently under Linux other than XFS. In the past, I had some quirks with file names that contained strange characters causing trouble. However, I never lost any data whatsoever.

    Currently, what I'm really hoping for is ZFS for Linux or a stable version of btrfs. These are truly modern day file systems with support for snapshots, etc. But this is still a dream. Until then, I will stick with XFS.

    Tagged as : Uncategorized

Page 16 / 25