Syndicate content

Pages with category Storage

  • [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.

  • This is a quick note so I can find the command I need to use to list open files.

    My search will work this time.

    lsof stands exactly for "LiSt Open Files"

    That gives you a list of all the files opened by your system, process by process. It can be useful to know if you are developing a program or if you are limited in the number of files opened at once.

  • To low level format a hard drive, the best is to clear it with all zeroes or some random value.

    One of the easiest way is to use the cat command line instruction with the zero device:

    cat /dev/zero >/dev/sdb

    The zero device is faster than the random device. Also we clear the entire device (/dev/sdb) and not just a partition (i.e. /dev/sdb1).

    Although some people will be able to restore the data, even after you cleared it this way, they'll need some $100,000 gear to be able to do it. They better need your data really bad (as in: make at least $200,000 in return, although they may

  • Problem

    I worked on a project with many functions that access the database. These functions will generally have a Recordset variable. Yet, when I tried to run a script with the recordset declaration, it would fail with the error Undefined variable type.

      Dim rcd As Recordset

    Since that definition was not required for the software to work, I ignored the error for a long time.

  • By default, a computer system gives each process the same priority level in regard to accessing your hard drive.

    With newer versions of Linux, it is possible to use two other priorities: one where I/O is not primordial and thus you do not get it if anyone else wants it, and one where you want to work in realtime and have priority over anyone else.

    This is achieved with the ionice command line (or corresponding kernel calls.)

    This is particularly useful if you want to copy a partition to another and you know that it will take 20 minutes to copy everything... and thus the computer will be ...

  • As I upgrade to 14.04, I started seeing this error in my console:

    no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory

    Quite cryptic if you ask me, but the "leaking memory" did sound bad.

    The error would in particular appear when I used sudo for whatever reason, for example:

    sudo iptables -L -nvx

    So... something to do with sudo?

    I found the answer on the Ubuntu forum. The solution is to turn off a feature of samba. Run the samba setup tool in your console:

    sudo pam-auth-update

    That opens a curses window in your console. You should then see an option ...

  • As I was working on a MS-Windows installation, I ran in this weird error: Data source not found and no default driver specified...

    This was output when I was running the following in a command line prompt:

    osql -E

    The result should have been an MSSQL prompt instead!

    The problem on the computer was that I uninstalled MSSQL 2005 that was automatically installed by Visual Studio C++ and was not compatible with our application, so I first uninstalled that but that uninstallation is really not proper. It leaves a LOT of things behind.

    After that I installed MSSQL 2014 which was reported as ...

  • Until now, I only had to upgrade my PostgreSQL databases between computers so I would pg_dump + pg_restore the databases.

    However, PostgreSQL offers a tool named pg_upgradecluster that does that work for you, plus it will copy all the different things that pg_dump doesn't always catch such as functions, existing users, etc.

    This sounds all good...

    So I ran it against our cluster of 298 databases and got a little surprise: it takes about 10 minutes to run on one database, whatever its size. Yes! 10 minutes. Our big database has over 1 million rows, the smallest have a few hundred. Impressive

  • As I was moving my Drupal 6.x websites from an old server to a new one, I decided to make use of the newest PostgreSQL database system because over time I've notice quite a few things that got fixed and thus it is a lot better! (It is not as exciting as moving from 7.4 to 8.0 way back then, but still!)

    Doing so, my Drupal site started showing WSOD (White Screens Of Death). Looking at the errors in my apache2 logs, I noticed that the error was in link with the cache. Looking closer, I could see that the cache (one of the only table doing so) makes use of the %b flag which means blob. It ...

Syndicate content

Diverse Realty

Diverse Realty Team

Want a New Home?
Want to Sell Your House?

Call Alex at
+1 (916)
220 6482

Alexis Wilke, Realtor
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165


Terms of Site Index

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