Robert's Blog
Thursday, November 12, 2009
Friday, September 18, 2009
Linux TPM trouble solved
Getting openCryptokiModule: api_interface.c:3402 Cannot Attach to Shared Memory or CKR_HOST_MEMORY when running pkcs11-tool?
You are probably not a member of the pkcs11 group.
Sunday, July 5, 2009
resize2fs broken? your journal is probably too small
Tonight I needed to resize an ext3 filesystem to grow more space for backups.
The normal online resize
# lvextend -L+1G /dev/vg1/part
# resize2fs /dev/vg1/part
wasn't working, and produced the wonderful error:
resize2fs: Operation not permitted While trying to add group #1536
Best guess is this is due to the journal being too small because of old defaults.
The fix is to remove and recreate the journal.
# dumpe2fs /dev/vg1/part | grep Journal\ size
Journal size: 32M
# tune2fs -O ^has_journal /dev/vg1/part
# tune2fs -O ^has_journal /dev/vg1/part
# tune2fs -j /dev/vg1/part Creating journal inode: done
# dumpe2fs /dev/vg1/part | grep Journal\ size
Journal size: 128M
It has been four months since my last post...
I've been hanging out over at twitter: http://twitter.com/rspier
Sunday, March 1, 2009
Best Error Message Ever
$ git rebase abh/master
First, rewinding head to replay your work on top of it...
could not detach HEAD
Tuesday, October 14, 2008
Natural Disaster
Wednesday, October 8, 2008
Shouldn't the Defense Information Systems Agency know how to Google?
the following email came into a webmaster@ account that I receive..
I like to believe that the military is hiring people who know how to perform a simple Google search. Apparently I'm wrong.
Subject: Parsing PDF file (UNCLASSIFIED)
From: Gordon.REMOVED@disa.mil
Classification: UNCLASSIFIED
Caveats: NONE
Hi,
I am trying to design a Perl program to parse through a PDF file. In
other words, comparing a string value to the Adobe PDF file. Question:
has anyone ever done this?
Gordon
Classification: UNCLASSIFIED
Caveats: NONE
I like to believe that the military is hiring people who know how to perform a simple Google search. Apparently I'm wrong.
Subscribe to:
Posts (Atom)
