IT
IT Topics
I wanted to remove mono because it was causing some weird dependency problems, and I don’t need it. Here’s what Apt wanted to do:
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
apt debian-archive-keyring (due to apt)
0 upgraded, 0 newly installed, 1073 to remove and 6 not upgraded.
1 not fully installed or removed.
After this operation, 3076MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase ‘Yes, do as I say!’
?] no
Abort.
So, XFS is officially the best file system around at the moment. Why do I say this?
1.) It’s fast, especially when I have around 50,000 3MB-4GB files being pulled by apache for a site almost constantly.
2.) It supports online defragmenting.
3.) When I know the drive is going to fail, backup/restore is a piece of cake.
#3 was the reason for this post.
I had to move a bunch of stuff from one drive to another. Normally this is easy, just move all the said shit.
This is not so easy when it’s / with linux installed on it.
Normally, I’d say fuck my life a lot and have to reinstall everything, since moving an OS is never an easy task. With windows, might as well forget about it. I tried that once, no go at all.
Linux theoretically doesn’t care, which is awesome. The problem I was stuck at was how to do this efficiently, with minimal downtime. This is on a production server after all.
Did some research, found out that normally this would involve firing up a live CD and using dd to mirror image the drive to another one, then adjust the partition size on the new drive since it’s bigger, then expand the file system size to match it. This would have meant close to a day of downtime. Not an option.
XFS saves the day. There’s a few awesome tools that come with it, but not by default, that make this job quick and easy.
How I saved the day with these great tools: xfsdump, xfsrestore, & a Debian Lenny live CD.
1.) Quickly rebooted to the live CD and ran xfsdump to copy the file system to an external.
2.) Quickly rebooted back to the installed version, with only 32 minutes downtime to copy the drive to the external.
3.) While everything was back up, used xfsrestore to put the image onto the hard drive that was getting swapped. Nice thing is, I was able to have the drive pre-partitioned and pre-formatted for this already.
4.) Once done, shutdown and drive swap, followed by another quick boot into the live CD to reinstall grub to the new drive.
5.) Reboot back to the installed version, and everything worked perfectly, with only another 10 minutes of downtime.
So, I replaced the OS drive in under 45 minutes of downtime. Beat that!
SCAM ALERT! Read Carefully!
This started off when I got an invite to join the Facebook Group “We Will Not Pay To Use Facebook. We Are Gone If This Happens” (see: http://www.facebook.com/group.php?v=info&gid=201854959670 but don’t actually join)
Knowing this would never happen, I figured it was a scam of sorts and decided to investigate.
Sure enough, I was correct!
Here’s the details:
The group itself isn’t exactly about Facebook not being free. Per the info page: “Apparently if Facebook gets sold then theres a major possibility that it will turn into a “Paysite”. This is just stupid! Lets all stick together on this one and let them know that we will leave Facebook if they decide to charge us to use it.”
Now, this is of course complete bullshit. I decided I’d click on the link to see what the site was all about. Scam sure enough. It wants you to click on a bunch of ads and what not, and lets you download pirated music.
So, I’ve reported it to the RIAA (Yes whoever owns krekib.com and krekib.net, I’m sending the RIAA after your faggot ass, hope you enjoy getting sued). I should also be able to report it to the FCC and the Department of Commerce since it’s in violation of several of their laws as well. So, hopefully that dude likes getting sued by the feds, because I’m making sure it’ll happen. There’s a copy of the notice to the RIAA on my site of course, it’s the previous post. Any non-confidential correspondence from any of the said government agencies will be posted as well.
Going back to the Facebook group, I found even more of a scam. They want you to automatically invite everyone you know on Facebook. This either doesn’t work, or at least not for me since I’m anal when it comes to security. Either way, they want you to try it, so don’t.
Now, it gets even better still. The guy, well, I can actually make a direct reference since he is committing a felony, Michel Sleiman (his profile: http://www.facebook.com/michelbeik2?ref=mf) and Yousef Joseph (his profile: http://www.facebook.com/profile.php?id=100000595594685&ref=mf) want you to friend them to get a ’secret application download link’ to keep Facebook free. Let’s stop and think for a second….what’s this secret application going to be….none other than a virus of course!
So by downloading whatever they want you to (I’m not going to try it, I’m on a Windows box I’d rather not destroy at the moment, I may attempt to remotely fetch it from my Linux box at home later (I’m on vacation)) you’re just infecting yourself with a trojan. So, needless to say, don’t do it!
Plus, they want you to friend them. I’m not exactly sure what the point in this is besides to look at all your information on your profile. Either way, don’t do it!
So, in the end, the site is illegal, the application is a virus, and those two guys are scammers.
Let’s see how the feds handle this one, hopefully the two fuck heads end up in federal prison
Twitter got hacked, again! Iranian Cyber Army this time.
This time I got lucky and was actually going to tweet when it happened, so I grabbed a screenshot and saved the page
Attached is the picture and a saved copy of the page.

Saved Page: http://jmoschetti45.com/wp-content/uploads/2009/12/twitterhacked.zip
Edit: Trying to get an interview from them, but no go yet. See newest post for details.