Syndicate content

Pages with category Storage

  • For a week now I have had a warning when shutting down saying that there was yet another update to install on shutdown...

    I did not really check on it for that long, but today I decided to check the auto-update as I was running the computer. There was the installation ready to be run. So I clicked on the button to start the installation.

    After a moment, the installation process stopped with a really weird error:

    Error message: Code 13EC, it's an unknown error.

    It's funny that any programmer would create an error that the computer cannot figure out... Way beyond me.

    This being ...

  • Since I manage multiple computers and each run a PostgreSQL database system, I can see discrepancies between versions. (i.e. newer versions fix problems in older versions.)

    [toc hidden:1]
  • Today I wasted another hour or so in trying to get samba to work for one of my Windows computer so I could connect to one of my Linux computer. I knew that the installation was correct since I could log in with another computer/user that had worked for a long time. So... why would this one fail?

    Two things, for of all, I could see NOTHING happening in the logs. Really wondering why the default is to log close to nothing with such a non-secure piece of software, but that's a different question. I added the following to actually get about enough logs to understand what was happening:

    log ...
  • Lately, I noticed that I always had a clamav.inoc.net connection. I was wondering why... I did install clamav but I did not recall changing anything in Apache where I'd get requests from the outside that would look like clamav.

    The fact is I also installed freshclam. By default, that gives you a line like this in your netstat -a64 listing:

        tcp   383     0 halk:38272       clamav.inoc.net:www     CLOSE_WAIT

    Most of the time you won't catch it when it is still connected and sending/receiving data. The deamon that accepts the connections is freshclam and it will save the new data ...

  • Copying an entire partition to another when both are not of the exact same size (in blocks) can be tricky, especially if that partition includes special files such as /dev/hda and FIFOs.1

    Yet, there are several ways to do so:

    • 1. Note that was the case especially in the 90's. As of today, things have come a long way and there are command line options one can use with the cp and tar instructions to copy pretty much anything. You will still have problems with some files such as locks, though. But you should not have to copy them!
  • When moving a database from one computer to another, you've got to copy all the data.

    For PostgreSQL, there is a pair of functions named pg_dump and pg_restore.

    In most cases that works great, however, some systems may create things such as additional functions that will NOT make it across. I do not know how to get that to work (and maybe it works in newer version of PostgreSQL?)

    In any event, in most cases the following commands are enough (I used them with Drupal websites and since they stopped using some of the definitions they have in the system.install file used on initialization, ...

  • LVM today can create a mirror of your data without having the need for mdraid (or hardware raid).

    Problem is, I did not find any documentation that makes sense and there doesn't seem to be a graphical interface that can help you with that (at least not under Ubuntu Gnome.)

    So... I decided to spend the time because that's probably less time anyway than trying to create and maintain and md device.

    The fact is, it is rather simple, but requires quite a bit of knowledge.

    Copying the Partitions Exactly

    First, I wanted the partitions to be exactly the same and using fdisk did not ...

  • A quick CSV (Comma Separated Values) reference:

    1) Row separator

      \n   \r\n

    In order to separate lines, use a newline character sequence.

    Most loaders probably support the \r sequence too. (Especially on MacOS/X)

    [toc hide:1]
  • [vtoc title=Boot Sector; minlevel=1; maxlevel=4;]

    Error 16

    Today I got an error 16 with GRUB on one of my machines. This had happened before so I did not worry too much. It is just quite annoying.

    Ubuntu CD

    A Ubuntu boot CD has a cool feature one can use to rescue such a system (i.e. re-install GRUB properly.) More or less, boot the CD, select the rescue mode, let it do its things for a moment (after you select options like keyboard, etc.)

  • Well, first... what is RAID?

    Loads of very detailed info are available on Wikipedia. Just in case, it means: Redundant Array of Independent Disks.

Syndicate content

     

Terms of Site Index

Find the page/content you are looking for with our index.

  • g++
    C++ compiler from the GNU compiler suite. Compliant as much as possible to the C++ standard. Includes support of a complete standard library (STL).
  • openssl
  • PayPal

    An online credit card processor that anyone, including individuals, can use to get paid. Often viewed as expensive though.

  • sha256
  • system