Mon 07 October 2013

Filed under OS

Tags Awesome Linux

Compression Problems

Have legacy iSCSI target files in /targets/hosts/fname[0-9].img. I need to relocate them to /backup/Legacy/hosts/fname[0-9].img.gz

I first tried this:

for x in */*.img;
 DIR=$(basename $(dirname ${x}))
 FILE=$(basename ${x})
 mkdir -p /path/to/backup/${DIR}
 gzip -9c ${x} > /path/to/backup/${x}.gz
done

Practical Yeild (via iotop): 2MB/s.

I next tried this:

for x in */*.img;
 DIR=$(basename $(dirname ${x}))
 FILE=$(basename ${x})
 mkdir -p /path/to/backup/${DIR}
 dd if=${x} bs=16384 | gzip -9c > /path/to/backup/${x}.gz
done

Practical Yeild (via iotop): 2MB/s.

I was growing throughouly disgusted with the entire problem. I download pigz and I set about to fix the problem:

for x in */*.img;
 DIR=$(basename $(dirname ${x}))
 FILE=$(basename ${x})
 mkdir -p /path/to/backup/${DIR}
 dd if=${x} bs=16384 | pigz -9c| dd of=/path/to/backup/${x}.gz bz=4096
done

Practical yeild: Metal Speed. 80-110MB/sec

Comment

Fri 24 May 2013

Filed under OS

Tags LamerMoments Apple

Dear Apple

I have been purchasing MacBook Pro's since 2007. I realized this week that I have no intention of purchasing another Mac. The retina display is what I want, but the lack of upgradability is a deal breaker for me. Additionally, my friend with a retina has the ...

Read More

Tue 23 April 2013

Filed under OS

Tags LamerMoments

nobody effing cares about this

Welcome to Office 2013™. Home & Business Edition™ - and Welcome to your compulsory Live™ account.

Is this OEM?

[This PC ships with 2010 pre-installed, download 2013, loser.]

Are you setting this up for someone else?

[Yes]

Would you like to interrogate them for the type of ...

Read More

Sun 16 October 2011

Filed under OS

Tags CompassionNeeded Geek Lamer Moments

I wanted to install OSX Lion on my new hard disk. I moved my old drive to an external enclosure, and booted with Command+R to load the recovery console. I formatted the disk and then went to "Install".

After about thirty minutes, the time still said "5 hours, 16 ...

Read More

Thu 03 March 2011

Filed under OS

Tags apple osx usb

hdiutil convert -format UDRW -o ubuntu-10.10-netbook-i386.dmg ubuntu-10.10-netbook-i386.iso

tulkas:Public joshua$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            371.5 GB   disk0s2
   3:       Microsoft Basic Data Joshua7                 128.2 GB ...

Read More

Sat 08 January 2011

Filed under OS

I have gig networking, lots of disks, etc, etc. I need speed Oh, and this improved my internet speeds as well.

# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1

# don't cache ssthresh from previous connection
net.ipv4.tcp_no_metrics_save = 1
# recommended to increase this for 10G NICS
net ...

Read More

Fri 07 January 2011

Filed under OS

No one knows if this is good or not, but I think it's rad.


/usr/bin/TuneTCP -- run this as root.

#!/bin/bash

sysctl -w net.local.stream.sendspace=163840
sysctl -w net.local.stream.recvspace=163840
sysctl -w net.inet.tcp.sendspace=131072
sysctl -w net.inet.tcp ...

Read More

Tue 08 September 2009

Filed under OS

Tags Cool Geek

Lesser Apps

Applications are like work habits or practices or anything else in life. The ones you have seem like the best when you find them. I have discovered - over and over - that my own desire for excellence is easily pleased but never satisfied. The darker side of this ambition ...

Read More

Wed 02 September 2009

Filed under OS

Tags Cool Geek

I have to say something

The most annoying feature to geek-users of Safari is the practice of uncompressing downloaded .gz files. I find the whole auto-unzip generally useful. It's a problem whenever I do things like downloading the latest pfSense. I need the original compressed tarball. It has a ...

Read More

Tue 12 May 2009

Filed under OS

Tags Geek Obvious

I have a client with a 17" MacBookPro "MBP", and he one day begin experiencing a login/bootup problem. Another client in the same network hit one of those annoying OpenDirectory login expirations which locked him entirely out of his laptop. (APPLE FAIL). It was the same day, the same ...

Read More

Tue 10 March 2009

Filed under OS

Tags Lamer Moments Obvious Retarded

It's Daylight Savings Time - Again. Time for a new round of FAIL from Microsoft.

Windows Mobile

A clients' Verizon Windows Mobile phone has changed all the appointments for the foreseeable future to an hour later than originally scheduled.

Entourage

Microsoft Entourage 2004, on my older PowerBook G4 is rendering ...

Read More

Mon 23 February 2009

Filed under OS

Tags Geek Obvious Retarded

Read any post you like. Read any _place_ you like. In 1994 it was "NTFS doesn't fragment by design, it never fragments". In the later 90's it was "ext3" or some other filesystem "doesn't fragment". Later, starting in 2000 - OS X doesn't fragment.

Windows

It started ...

Read More

Fri 13 February 2009

Filed under OS

Today, all the Mac are belong to Apple. We changed the servers hostname. FAIL. After the change, we were unable to control / use the Blogs or calendars. In the process, we ended up renaming a group, due to a misspelling. After all that, nothing works.

Here are things we learned ...

Read More

Mon 01 December 2008

Filed under OS

Tags Geek Lamer Moments

MacOSX Strives to be more rigthteous than the next bloke:

Dec  1 20:38:22 xXxMac SyncServer[2205]: SyncServer: Truth vacuumed.
Next vacuum date 2008-12-15 20:38:21 -0800

Wah-Hoo

Read More

Mon 01 December 2008

Filed under OS

Tags Lamer Moments Retarded

Oh. Wow. Michael Widenius said some trite things about the new 5.1 release. How can they be trite? Because the version numer changes, but the problems with MySQL Remain.

Holy crap. Look at the list of problems with MySQL. I have two customers left who use it. Sometimes I ...

Read More

Mon 03 March 2008

Filed under OS

Tags Cool Python

We were messing w/ Postfix and Cyrus IMAPD today. Our prime goal was making a sensical approach to authenticating against a PostgreSQL-based directory. LDAP (OpenLDAP and FDS) based tools sucks for most people. Using native-box-auth is actually quite messy. The mail data cannot be easily associated with the users. You ...

Read More

Wed 31 October 2007

Filed under OS

Tags Cool Obvious

I setup VMWare Server on Gentoo the other day. It was pretty much easy. After install, cleanup all the .vmware folders in various home directories. Assign users with priv's to the 'vmware' group.

User Setup

gpasswd -a vmadmin vmware

Run the vmware-config.pl - Note the network numbers.

Network Setup ...

Read More

Wed 06 December 2006

Filed under OS

Tags Cool PostgreSQL

Cliff's Latest Post references some cool news about PostgreSQL. Namely this:

IT KICKS MYSQLs A** IN PERFORMANCE TERMS AS WELL. (as everything else - e.g. features, consistency, startup-options, configurability, etc.)

No doubt someone is going to argue that this has to do with use pattern/configuration/(insert excuse here ...

Read More

Tue 23 May 2006

Filed under OS

Tags Cool Lamer Moments

Linux is pretty awesome, but sometimes manufacturers and hardware can be a pill. On such instance are LSI Logic MegaRAID controllers. From Dell PERC to HP NetRAID to off the shelf stuff, these can be the bane of your existance.

Today I have the mispleasure of dealing with one that ...

Read More

Tue 14 February 2006

Filed under OS

Tags Lamer Moments Python

I have used Python to do many things. However, I was debugging some code for a friend and we had the strangest side effect. We were using PyCURL to read a file from a webserver, and save it to disk as part of a wxPython app that he is writing ...

Read More

Wed 01 February 2006

Filed under OS

Tags Cool

Like some other Gentoo users, I noticed the new baselayout, and groaned as I merged yet another series of small changes. However, this time I read the Gentoo Weekly Newsletter. Here are the bullet-list highlights that I dug.

  • Network backgrounding support from wpa_supplicant, ifplugd and netplug with service dependency restart ...

Read More

Wed 01 February 2006

Filed under OS

Tags Cool

SELinux. - cool security framework for Linux. *blarg* I am trying to make a useful blog post.


  • SELinux is killer.

  • It's only part of the puzzle of security.

  • GRSec is another part.

  • GRSec incoporates PaX which is a great technology for preventing undesirable execution, buffer overflows, etc.

  • SELinux patches broke ...

Read More

Thu 15 December 2005

Filed under OS

Tags Lamer Moments

It all starts with an innocent user.... "Hey, I can't see the Internet". "Oh, wow, I can't see email." "Oh, actually I can't work on files." (I can't help but notice the progression here: Oh, the Internet is down, I guess I'll send some email ...

Read More

Thu 15 December 2005

Filed under OS

Tags Cool

I have been dealing with the oppression of the IPsec and tunneling. Multiple vendors, hardware and software, etc, etc,e tc. Fun! All software - especially VPN software - sucks. All of it. =) Typo, Ruby, Rails, Python.


In the meanwhile, this site claims to have a good suggesting for calculating bw/ip ...

Read More

Thu 15 December 2005

Filed under OS

Tags Cool

A client is having serious issues with one of thier Cisco router. I am installing a machine right now to take the Cisco out of the loop and see if it is in fact, the problem.

So i'm setting up Monowall and Gentoo.

Read More

Thu 15 December 2005

Filed under OS

Tags Cool PostgreSQL

Command Prompt supplies the best replication available for PostgreSQL. They support it on RedHat and SuSE at the very least. So far, they have been willing to support Gentoo also. That is pretty hot.

I am working on getting it deployed. Along the way I'm producing some solid administration ...

Read More

Thu 15 December 2005

Filed under OS

Tags Lamer Moments

I have been monkeying with RoR and I have been getting this error every so often:

libgcc_s.so.1 must be installed for pthread_cancel to work

I haven't done much investigation, but I suspect it's because I built ruby with threads support. I recompiled and am waiting to ...

Read More

Up To Something © Joshua M Schmidlkofer Powered by Pelican and Twitter Bootstrap. Icons by Font Awesome and Font Awesome More