December 10, 2010
by dhoytt
1 Comment

Resize Switch DynamicallyExtended Logical Volume Successfully

p { margin-bottom: 0.08in; }

I used the “-r” option to resize
the underlying filesystem with the “lvextend” command for the
first time. The “-r” option allowed the logical volume &
filesystem to be extended with just one command. I saw the “-r” switch there on the man page and decided to try it!

To top it off the partition I extended
was my root “/” partition. The man page says that the “-r”
option calls the “fsadm” command to extend or resize the
filesystem.

What caused me to use this option was
that I just did a fresh install of one of my Fedora Linux systems
that has served alternately as a game server, web server, backup
server. Currently in this iteration it will take over as my new game
server. I have all of my files in two logical volumes on a separate
physical drive from my OS drive so that I will not have to worry
about data files I don’t wish overwritten during OS installs or I can
just take that drive to the next server I build and manually mount it
on that new server.

The drive of course is using LVM and
is its own volume group so that information is on the drive is
imported easily into LVM. I have two logical volumes on this physical
drive within the volume group..

One logical volume I mount to /home
and the other to /usr/local/games. These logical volumes have files I
have downloaded to various home directories and working files &
binaries for the games I host on my servers.

I didn’t include this extra physical
drive that I store my data on as a target during the fresh Fedora 14
install, so I needed to unmount the /home that was created with the
install and then mount my logical volume that holds data for my home
directories I mount on “/home/” and game data which I mount on
“/usr/local/games/”.

The reason I ended up extending my “/”
partition was that I didn’t pay attention to how much space the
installation of Fedora 14 was giving “/home” or “/”. I
didn’t even intend for the install to make the “/home” a separate
partition but oh well it did and I needed the space the install
allocated for “/home” to move to “/”.

I won’t speak about partition sizing
and the reasoning’s for that since I started getting really liberal
with that with the partitions I used to be strict on since drives are
so large now.

Anyway not a big deal to those of you
who may have used this “-r” feature before but I never have, even
with HP-UX. I truthfully don’t know if HP-UX has the “-r” switch
for the lvextend command something I’ll research and find out later
since the person who was bringing by my HP-UX box hasn’t brought it
by yet.

Normally you would do the “lvextend”
and then use the “resize2” command which doesn’t take long but
its always nice to use the least amount of commands.

Anyway this is what I did:

  1. Logged in as root in “gdm”
    (Gnome Xwindows) after commenting out the “root” user lines in
    /etc/pamd.d/gdm & etc/pamd.d/gdm-password. I know, not what you
    are supposed to do but I didn’t feel like rebooting and wanted
    multiple windows up.

  2. Killed the processes that were
    still running on /home

    1. fuser -ku /home (didn’t work)

    2. lsof /home (showed pid)

    3. kill -9 “pid”

  3. unmout /home

  4. vgdisplay -v|more (showed my vg
    that was on my physical drive)

  5. vi /etc/ fstab

    1. /dev/mapper/home_vg-lvol1 /home
      ext4 defaults 1 2

    2. /dev/mapper/home_vg-lvol2
      /usr/local/games ext4 defaults 1 2

  6. mount -a

  7. df -kh

  8. lvchange -a n
    /dev/vg_system-name/lv_home

  9. lvdisplay
    /dev/vg_system-name/lv_home

  10. lvremove
    /dev/vg_system-name/lv_home

  11. llvextend -l <PE -total size>
    /dev/vg_system-name/lv_root -r

    1. Since its “/” it will not
      unmout but perform an online filesystem extension even if you
      answer “no’.

That was it in a nutshell, took much
longer to write this post! This is just my story of a new switch I
found and decided to play with if you decide to try this please if
your system or data is valuable back it up and do your research for
your environment! Make sure you have the online LVM packages etc. if
you want to do an online filesystem extension. As they say mileage
will vary!

LVM is different for HP-UX than with
Linux and a bit different on other UNIX systems as well so I couldn’t
find the command to see if the physical extents were concurrent but I
suspect they are not. Just an FYI. You know please post, I ran out of
time tonight and didn’t look much further.

This isn’t meant to be a tutorial but
if you have any question please ask! Maybe I’ll clean this up at a
later time and present it in more of a tutorial fashion with better
explanations but its time for me to go to bed!

Man how verbose no wonder I don’t
post as much as I should!

Dude I even have charts from Wikipedia:

Linux Logical Volume Management (LVM) v1 Diagram

Image via Wikipedia

Unix filesystem

Image via Wikipedia

Enhanced by Zemanta

December 3, 2010
by dhoytt
1 Comment

Grant Pacers Face Folsom for Northern California Rights to Be Number 1

Grant High of Sacramento of which I’m an alumni plays Folsom High School from Folsom tonight with their number 1 state ranking and number 4 national ranking on the line!

Grant is a little beat up but the Pacers always fight to the finish!
Looking to go back to the State championship after missing out last year!
I’ll keep you posted headed to the game now!
Game is @ Sacramento State!
Oh yes I did and to all of you De La Salle folks from the Bay I really did mean number 1 in Northern Cali!
PACERS!, PACERS!, PACERS!, PACERS!, PACERS!, PACERS!, PACERS!, PACERS!, PACERS!

September 27, 2010
by dhoytt
0 comments

Loving New Drink Ty-Ku With Mint Leaves From Garden

Made some delicious drinks over the weekend with this new liqueor Ty-Ku its a light liquor and it seems to mix nicely with a wide variety.

I mixed it with some Remy Ma VSOP Cognac to make something they call Godzilla. Even made what they called an Asian Mojito!

Tonight I wanted something light to sip and started to make a nice neat traditional martini but then mixed some Ty-Ku, Grey Goose Citron, Bombay Gin and mint leaves from my garden shook it up in the shaker with some ice and it it is delicious!

Only issue is its Monday so will not be able to indulge too much but this weekend I’ll be sipping more! Now just trying to find things to fill my bar out and give a lot of options when people stop by.

That and a quick dip in the pool in the night about 9 pm PDT after Monday Night Football worked just fine to relax me with some cool a$$ music on my site @ http://dhoytt.com/snake-ice-radio-blog/

23 Health Benefits of Mint Leaves, According to Science (+ 11 Delicious Recipes)

Enhanced by Zemanta

August 27, 2010
by dhoytt
0 comments

Grant Pacers of Sacramento on ESPN2 Tonight @ 0700 PDT

That’s right the number 4 ranked team in the nation per two different polls relating to high school football teams in the Grant Pacers of Sacramento are playing the Folsom Bulldogs in Folsom tonight. Folsom is ranked number 2 in the Greater Sacramento region with the Grant Pacers being number 1 in the Sacramento Region.

Grant has the longest running tradition of excellence in football in the area with people who went to the school as far back as the 1930’s still attending home games.
This being my high school alma mater I will of course be watching the game on ESPN2 the only reason I will not be there in person is that I was too busy to get tickets and with my schedule I would have been struggling to get to Folsom after work.
All I have to say is  GO GRANT PACERS!!! Then to the tune of the chant  that Snoop heard when the Grant Pacers beat his alma mater Long Beach for the California state championship 2 years ago and ironically used in his song “I Wanna Rock”…….. PACERS….PACERS…PACERS …….. PACERS….PACERS…PACERS …….. PACERS….PACERS…PACERS …….. PACERS….PACERS…PACERS
Enhanced by Zemanta

August 18, 2010
by dhoytt
0 comments

Power Outage Affects Blog Temporarily

Had a power outage today and I was away
from the office but everything came back online by itself except the
music didn’t begin streaming. The cause of the power outage I am
guessing is the street construction about a block away. I have not
been told that the construction is officially the cause of the power
outage so I will have to check sources later but its my guess.

I will have to design a batch script
for the various components of the music to come up in proper order
once the system is rebooted for my music server since this is the
only system that didn’t restart the software I use properly. When I
get a chance I will test it on my backup music server. The challenge
will be automating the music stream start and encoders.

My Linux boxes that host my web
servers & game servers appear to have come back and executed the
start-up scripts just fine, the server that streams the music is on
Windows.

I am posting this message on my all of
my blogs:

Home: http://www.dhoytt.com/

Darryl Hoytt’s Personal Blog:

http://www.dhoytt.com/mainblog/

Snakeice’s “House of Beats” Radio
Blog:

http://www.dhoytt.com/snake-ice-radio-blog/

Da’ Hoytt’s Online Games Blog:

http://www.dhoytt.com/da_hoytt_games_blog/

Darryl’s Sales Items:

http://www.dhoytt.com/forsale/

Enhanced by Zemanta

April 29, 2010
by dhoytt
1 Comment

Vibram Running Update & Natomas Mayday Run May 2, 2010 in Sacramento


Been falling behind in my posts about
running and Vibram five Finger KSO’s, and I’m here to report the runs
have been going well even with my gardening and other home projects
and getting used to another schedule!

I have been running intervals and as
stated earlier that put a new type of stress on the calves and I
think I’m finally almost out of the discomfiture that caused mostly.

The thing about it running shorter
interval distances trying for speed really gets you up on your toes
and the balls of your feet more than the 5k’s & 10k’s. Especially
once you wind down to doing anything under 400 meters! Being on your
toes and forefront of your feet really stretch calves and ligaments
in a way not used before in the typical running shoe circa now!

I also strange enough noticed that with
the VFF’s (Vibram Five Fingers) my toe nails are growing out! Let me
explain.

I was on the back end of doing the end
of my interval workouts a week or two ago and I noticed as I got up
on my toes I felt a weird pulling sensation as my feet gripped the
ground, my toe nails!

Before in umm … ahem what passes for
normal running shoes my toe nails took a beating and rarely grew out
especially the toes right next to my big toe which are the same
length and maybe a tad longer than my big toe. In fact my toes right
next to the big daddy toe always had crunched up bloody looking toe
nails that were about 1/8th of an inch thick.

This is the first time I could ever
recall having intact regular sized toe nails that weren’t, half off
or mutant looking. Another unexpected benefit of running in VFF’s
barefoot minimalist style!

Next up is a 10k this coming Sunday at
the first annual Natomas Mayday run here in Sacramento California
right here in my neighborhood utilizing part of my normal road
course. How exciting!

Anyway her is the link to the run
Sunday: http://www.natomasmaydayrun.org/

I’m signed up and not totally in the
shape I want but ready to go come on out and join us and run part of
my course!

Going to be cruising in my VFF KSO’s on
this run as well of course!

Oh yes in case you are confused even
though I have discomfort getting used to the VFF’s it is well worth
it my running has become more efficient and the only discomfort are a
little getting used to the calves doing the job they were meant to do

Wow its late for me time to go to bed!

Reblog this post [with Zemanta]

April 29, 2010
by dhoytt
1 Comment

Pictures of Vegetable & Flower Garden

Finally able to get some pictures of my vegetable and flower gardens.

Picture 015.jpgPicture 001.jpgPicture 005.jpgPicture 011.jpgPicture 006.jpgPicture 014.jpg

IMG_0034.jpgIMG_0028.jpg
Reblog this post [with Zemanta]

April 24, 2010
by dhoytt
0 comments

Vegetable & Flower Garden 2010

Well last week I pretty much got the
vegetable garden in the backyard and the flower gardens in the front
yard finished except some spaces purposely left open for future
updates or seasonal vegetation.

I rototilled around the huge artichoke
plant that is now producing like crazy. In the garden on the other
corner in backyard I tilled around the existing sage, thyme, parsley,
chives & strawberries that stayed over the winter.

To compliment my existing herbs I
planted, basil (didn’t last over winter), mint & more chives, &
green onions.

I planted Roma, Big Boy, & Yellow
pear tomato plants. I also planted eggplant, hot jalapeno, Serrano,
banana, red chili & three kinds of bell peppers.

For the root type vegetables I planted
red potatoes, garlic, & red onion.

I also planted watermelon, zucchini
squash, mammoth sunflowers, sweet corn, Swiss chard, collard greens,
and mustard greens. Today I got some celery, cilantro & summer
squash.

I almost forgot I also planted last
week some peas, green beans, black-eyed peas (cow peas), a grape vine
& another blueberry bush.

I still have a raspberry vine &
what I believe is a blueberry plant from last year that survived
the artichoke bush from last year. Reminds me I also planted some
asparagus I hope is out of the way. Last year the asparagus, grapes
raspberries, greens, Swiss chard and other veggies were over run by
the artichoke bush.

Last week I also made repairs and
changes to the drip/watering system.

Today I also pulled up about 5 bags of
weeds from the small corridor between homes I have as well as cut the
grass and edged with the weed eater and pressure washed the patio and
sidewalks in the backyard around the pool. Now I have the pool pumps
going to get the dirt that inadvertently got in the pool from
pressure washing.

All in all it was a long but productive day!

Tomorrow the finishing touches and time
to hall off some trash perhaps. Ah yes I also got some ground cover
flowers to go between my roses up front called “verbien tapien
blue-violet”.

Pictures later perhaps. For now I will
have another martini & watch the pool lights change colors on
this very pleasant night.

Reblog this post [with Zemanta]