Linux Blog

Hey, The Linux Blog has Moved Servers!

Filed under: The Linux Blog News — TheLinuxBlog.com at 6:03 am on Monday, April 13, 2009

Host GatorJust a quick update to let everyone know that The Linux Blog has moved servers. The hosting company I moved to is Hostgator. I was skeptical to move, since I was hosting it off of a shared dedicated server set up with cpanel/WHM reseller accounts, but I think that this will be better in the long run. For example: the price is right, it is faster and I do not have to worry so much about the system administration and hardware upgrades / failures. I get just about as much bandwidth with all the features I got before and a few extra that I couldn’t afford thrown in. All for about the cost of licensing cpanel and whm on their own. The only down side is the little amount of disk space, but if you decide not to be a reseller, you will be fine since they do an unlimited account (just check the fine print as I did on this one.) The really nice thing about the move is the hardware it runs off of (this is from cpanel and verified via ssh)

Processor #1 Vendor: GenuineIntelProcessor #1 Name: Intel(R) Xeon(R) CPU           E5405  @ 2.00GHz

Processor #1 speed: 1994.900 MHz

Processor #1 cache size: 6144 KB

So, Dual Xeon Quad cores that you see above, which equates to quite an amount of CPU power, roughly 16GHz with all cores combined. It has I believe 8GB’s of ram and a ton of disk space which happens to be provided by scsi disks. Hostgator have servers in each of ThePlanet.com’s data centers, I could go on about them all day but if I were you I’d check their website, its all under the “Company” link at the bottom of the page. You might see some banners up around here from now on and you’re probably smart enough to figure out the rest.

If you’re reading this that means you’re reading it off of the new server. Hopefully all went well and it loaded a little quicker. I’m hoping that there wasn’t any disruption of services, there wasn’t for me except for e-mail services but I think that has something to do with the DNS on the server I was sending the mail from (the old one.) Anyhow I hope you enjoy and if you’re in the market for a new web host use my Hostgator links!

rsync to smb share

Filed under: General Linux — TheLinuxBlog.com at 4:30 pm on Thursday, September 11, 2008

If you happen to have a SMB share with a lot of disk space laying around, then you may have considered backing up to it. There is more than one methods that you could back up to a SMB share but this article will show how to rsync to a smb share. This blog post assumes that you have successfully set up your SMB share and have installed RSync.
(Read on …)

What to do when you run out of disk space

Filed under: General Linux,Linux Software,Quick Linux Tutorials — TheLinuxBlog.com at 11:27 am on Tuesday, January 8, 2008

Some times you run out of disk space. It just happens. So, what do you do when it does happen?

Well, it just happened to me and I’ll write about what I did. I’ll first start off with how I discovered that I was out of disk space in the first place. It was about 10:30 last night when for some reason that I can’t remember now I decided I’d start up my good old XP Virtual Machine (Probably to use some quirky Windows program.) Anyhow the VMWare console reported that I did not have enough disk space. This came as a bit of a shock to me as I have a 100GB hard drive. I had been downloading ISO’s of Linux Distributions but not that much. So, here is what to do when you run out of disk space:

Step 1) Don’t panic
Step 2) Take a look at your processes and shutdown anything that is not needed. init to single user mode if it makes you feel better.
Step 3) Use the disk free utility to figure out how much space you have:

df -h /

Step 4) Make a couple of megabytes of free space so that you can install a program.
Step 5) Download and install xdiskusage from source or from your favorite package manager.
Step 6) Run xdiskusage from the terminal as root
Step 7) Select a disk / partition
Step 8) Wait
Step 9) View the results
Step 10) Rinse wash repeat. (Browse Partitions / Delete / Move files to another disk & do it again)

Here are some screen shots of my xdiskusage:

xdiskusage example screenshot
xdiskusage example screenshot xdiskusage example screenshot xdiskusage example screenshot
Click For xdiskusage screenshots

As you can see from the root screen shot that my root partition that I have 60GB used between my /var and /home directories. On closer inspection, the var has 40GB, 20GB in virtual machines and 20GB in the logs directory. 20GB’s of logs is quite a lot, this is where my problem is. After finding the problem I was able to backup my log files and remove them. I know that this can be done with shell scripts xdiskusage has helped me in the past so I thought I’d pass on the information. If you have a favorite utility or script what you use when you run out of disk space let me know!

Project URL: http://xdiskusage.sourceforge.net/