Category Archives: Linux

Home Server03 Backup Schedule

Work folder: backed up everyday at 2am
/data/scripts/backup/backup.sh work /data/work/

Photos: backed up on the 1st, 5th, 10th, 15th, 20th, 35th and 30th of each month, at 3am
/data/scripts/backup/backup.sh photo /data/multimedia/photo/

Server crashes

I’ve been having the main server crashing on a consistent basis since it went up. Every week or so seems to be the life of it…
I found nothing in logs… (maybe I didn’t look hard enough?)

So in an effort to see if it may be memory related, I moved the ‘old’ memory stick from one location to another. From slot 1 to 4, or 4 to 1…. dunno which one was which.
It’s not closest to the CPU fan.
The two central slots are running the ‘new’ memory modules.

The ram that’s in there is is PC5400 (667Mhz)

Server machine OS upgrade (cont’d 2)

How to break up all the different environments in VM land?

I think I will try to further continue the division of services as specialized VMs.

Main OS, will take care of file sharing. Experiment with installing SuSE with ALL the options unchecked. And then build up from there with services.

– First VM would be a internet server environment. Maybe a LAMP server?
– Second would be a VM to manage TV shows recordings. Initially it will probably be BeyondTV based, but eventually go to MythTV.
– Third would be an application server? (With no desktop PC except for the laptop, more power intensive applications would be ran remontly)

Where do I put SlimServer?

Server machine OS upgrade (cont’d)

More thoughts on this:
– Have been experimenting with XEN, and it turns out that the server CPU (Athlon64 3700+) doesn’t have hardware virtualization built in. However, the desktop (Athlon64 X2 4000+) does.
No Hardware virtualization means that a special kernel is required for the OS to run, which excludes Windows as being one of the OSs. Not that it’s a problem, but it would have made the initial switch, easier, since the BeyondTV software could be ran and setup easily.
– The reason XEN is attractive is because it allows for PCI devices to be dedicated to certain XEN environments, which means even under virtualization, I can use pci devices in the VM environments.

I think the simple solution is to buy Socket939 CPU with virtualization, and call it a day.
UPDATE: Or just use the Athlon64 X2 4000+ machine. I can always upgrade the socket 939 box later and probably for cheaper. Besides, the Asus M2N-E mobo with the x2 CPU has more PCI slots (3 in total)

I’ve tried to make things work on a budget, but for $60 I can get a dual core cpu that will do the trick. Much easier to spend the small amount then to spend endless hours trying to get software modified…

I think the decision is clear.

Server machine OS upgrade (to SuSE 10.3)

As part of the consolidation project, I need to be able to virtualize the current TV recording PC.
This means being able to capture video in a virtual machine, and the only way that seems to have any potential success is using a USB capture device.
So I bought one. PVR HPV 950 (or something like that?)
I spent most of last night trying to get USB devices to be seen by either Virtual Box or VMware Workstation 6, in SuSE 10.2, but to no avail.

However, the laptop running SuSE 10.3RC1 with VMware workstation 6 had no problem detecting a WiFi USB adaptor, with no fussing with the host OS.. I’ll have to try the actual capture card tonight, and see how well it performs.
All it needs to do is capture video. No TV watching.

The only change I made to the Suse 10.3 system was modified the usbfs entry in the /etc/fstab file, to ‘auto’ from ‘noauto’. That’s it. After a reboot, I installed VMware Workstation, and the USB passthrough worked. Continue reading

Booting the desktop problem

To make along story short, the desktop PC won’t boot.

After some digging around, something must have happened to the BIOS? because all the reference points in the grub menu (/boot/grub/menu.lst) were pointing to (hd0,4).
But it turns out that (hd0,4) is not a partition all of a sudden, and it should be (hd0,3). I’m referring to /dev/sda4 partition.
Anyway, to install the grub menu in the mbr, try this in the grub menu console:
grub> root (hd0,3) #this I think tells grub which partition is root
grub> find /boot/grub/stage1 #this I think tells grub where to get the stage1 data.
grub> setup (hd0) #this I think tells grub where to install itself

Home PC consolidation project (2)

Have been thinking about this some more.
The reason I have the X2 4000+ as the desktop is because I sometimes do want to run some CPU intensive apps.

But what if I can run most CPU intensive tasks remotely on a more powerful machine?
NoMachine seems to deliver EXCELLENT remote performance, so running apps remotely may be a viable option.
CPU intensive apps are:
– Catia
– Some video editing/processing

Home PC consolidation project

It all started about a week ago when I installed the BioShock demo on the HTPC (Athlon2400+, 6800LE video card), to try it out on our projector. It ran, but just barely. Lots of pauses during the game (for things to load I presume?), so I thought, why don’t I just hook up my desktop (which just happens to be right besides the HTPC) which is a Athlon64 x2 4000+ with a 7600GS video card. This machine would run the game much better!
And this got me thinking… Continue reading

This audio server is taking up way too much of my time

Well the joy of the success in splitting the stereo audio pair in 2 separate cards was short lived…
SoftSqueeze, since it runs in Java can’t access alsa virtual devices. Only sound cards.
Same goes for squeezeslave. It can only access the OSS device /dev/dsp
I’ve tries all I can think of to fake things to fool these applications, but I just don’t know enough about the linux sound system to pull it off (if there even is a way to do it)

So I just ordered 2 small USB sound cards for $4 plus $7 in S/H (what a rip off). Each can do 1 stereo pair.
Hopefully with these, I can run 3 zones (even though stereo is overkill) and I can set up this laptop to serve audio, and put this whole thing to rest.