31 October, 2011

File System: NTFS or FAT (or FAT32)?

3 USB Flash Drives stacked.Image via Wikipedia31-October-2011

I have not always been so keen on the difference between NTFS and FAT file system. I mean, we apply and implement them in our work PCs and servers, but at home, who cares?

I should. At least now I know why.

Last Friday, I was downloading some worship video songs, and when done, I converted them to .avi format, so I can copy them to a USB drive and play them on the Philips integrated Hi-Fi system equipped with USB drive.

What I did was simply un-use one of my currently plugged USB drives from being a ReadyBoost device. Then I copied over the converted files, unplugged them from my laptop, and plugged them to the Hi-Fi system.

Sure enough, USB is detected, but there isn't any file shown!

I turned off my Hi-Fi system, turned on again, and selected USB input, and it is the same: no files!

I turned to one of the other USB drives still plugged in to my laptop, un-use it from being a ReadyBoost device, copied over the files, unplugged it, then plugged it to the Hi-Fi, and the result is the same!

I verified by copying over the files to other USB drives that are currently used for watching movies, and there they are, the files are showing immediately once USB input is selected.

Then another one was used to verify, an SD card, and the same result was got: the files are being shown and are able to play; these on the SC card and the USB card.

Then I was wondering, "What's the difference?"

Then I remembered, the USB drives that 'don't work' were used as ReadyBoost devices, which were formatted with NTFS file system, while the other USB drive and the SD card, well, they are formatted using FAT/FAT32 file system.

So naturally, I took one of the USB drives that 'don't work', formatted it using FAT32 file system, copied over the same video files, plugged it to the Hi-Fi system, and sure enough, it works!

In case you encounter the same problem, the solution may be the same: FAT or FAT32 file system for your Hi-Fi System, an NTFS for your ReadyBoost. Hey, that is what makes it go past beyond the 4GB limitation.

Till then!

Enhanced by Zemanta

27 October, 2011

Lotus Notes 6.5 is now working!

27-October-2011


I finally managed to get Lotus Notes 6.5 work on the GX520 – and on the Probook 4430s laptop!

The reason was actually very simple, and so uncomplicated, that it is almost shameful to be told.

Anyway, after so many days and weeks of trying and trying, searching and searching, tweaking, installing, uninstalling, reinstalling, and I was losing my patience, particularly today, and was at the point of giving up on this thing, I prayed for strength to go on, and patience to keep me cool, but most importantly, wisdom to at least know and understand what I am doing.

To begin with, I checked how the working PC is faring.

I opened the Visual Studio IDE on both computers to see what variables are getting populated, and with what values.

I did a simultaneous run on both PCs, inserting breakpoints at the same line of code, comparing side-by-side when codes are being executed.

Then I found the differences:

The Lotus Notes document cannot be opened.

Why?

The Lotus Notes Database cannot be created.

Why?

The password is wrong.

Also, the server is wrong.

So why was I using the .ini file with all the wrong details inside?

These are all defined in the .ini file which I copied from the GX520 PC, which is not used as a primary mini-server machine, but it was a development machine, and while the codes would be verified before deployed, that was before the server and account was changed. And with a code that isn’t very dynamic, there wasn’t any need to update the files now and then. That’s the bug that bit me.

I stepped through the code backwards, and here are the errors as encountered:

“Object reference…” when the document cannot be opened.

When I tried to define a new Notes DB object by the ‘new’ directive, I got “80040154”.

When I searched about this error code, I found something like registering nlsxbe.dll, which I did, but the same error code/cause was thrown: 80040154.

Somewhere, maybe in quiet desperation, coupled with a slower movement on the code check, I managed to step through the line that initializes the Notes Session, which calls the login function, which was requiring the user, password, and of course, the server name.

I saw it from there, like a snake waiting to bite me if I ever stick my head in…

So a simple problem what needed a long time to get fixed, but it is all done now.

Lotus Notes object is not a problem anymore in my desktops and in my laptop (GX280, GX520 and Probook 4430s).

This may not be the case for still many others who are struggling with Lotus Notes 6.5 out there, but that number is one less now…

Till then!

Enhanced by Zemanta

24 October, 2011

Readyboost more than 4GB?

The 536,870,912 byte (512×2 20 ) capacity of t...Image via Wikipedia
24-Oct-2011, 8.30am:

Today I discovered that Readyboost size can be extended to more than 4GB!

I was actually not expecting this, as much of the articles found on the web sets the limit of Readyboost cache memory size to 4GB, no more than that. But as I have tried today on my laptop (Probook 4430s) and 2 others desktop PCs (GX280 and GX520 models), the size is no longer limited to 4GB.

I plugged in one 8GB thumb drive on the GX280 machine, and dedicated the whole drive to Readyboost, and it was accepted. The amount recognized is about 7584MB (7.47GB).

On the GX520 machine, I put in two: a 4GB drive, and one that is 8GB. The 4GB drive came up with about 3804GB (3.76GB), while the 8GB drive reserved about 7562MB (7.45GB) space.

On my laptop, I employed an 8GB thumb drive, and a 16GB Sd card. Both being dedicated to Readyboost, the 8GB drive gave a 7562MB (7.45GB) available size, while the 16GB SD card came up with about 15196MB (14.9GB) available space.

If what I'm thinking is correct, this is indicating that we no longer need a very huge RAM size. Just the baseline 4GB fitting will do. And if you need to jack that up, then buy one 16GB SD card, plug it in, set it to dedicated Readyboost usage, and you have a very huge cache memory to play with!

Of course, this is all that I am seeing right now, but before 64-bit, or even Windows 7 or Vista, RAM size was limited to 2/3GB, and the 'extra' that you may have physically isn't used! That is no longer the case these days. And while 32-bit memory addressing is causing the limitation of using up to 4GB RAM only, with 64-bit, that is not the case.

And we are no longer talking about RAM being expensive, but between adding RAM and using SD card or thumb drive, I would be avoiding RAM-adding when I already have 4GB, which could mean dismantling the laptop casing or opening the desktop chassis, when I could just simply plug in an alternative thumb drive or SD card. We actually should be talking about which is cheaper and faster to employ, with less hassle and less opportunity for error and mishandling, etc., etc., etc.

So how's that? Where will this Readyboost technology lead us?
Enhanced by Zemanta