LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Removing files with find, and LVM snapshots

Posted 04-24-2012 at 11:21 AM by sag47
Tags find, lvm, snapshot

Take an LVM snapshot using a loopback device
Create the snapshot
Take a look at the devices in your volume group. First there needs to be sufficient space in the volume group for a snapshot to occur. Check this by typing: vgdisplay and checking for Free PE / Size
Code:
vgdisplay -v
Create a loopback device to use for the snapshot. My volume group is named vg_echo360. I want my snapshot to be 9.9GB in size so I'm creating a loopback device which is 10GB in size....
Senior Member
Posted in Uncategorized
Views 1109 Comments 0 sag47 is offline
Old

Making predictions and thinking like a computer

Posted 02-23-2012 at 07:33 PM by sag47
Updated 02-23-2012 at 07:34 PM by sag47

Another user from a different forum asked me a question. I gave, what I though was, a good answer so I'm posting it here for all LQ to enjoy.

Quote:
Originally Posted by Capt Kenpachi
Sar & Jim;

If I were to build a database that were to compare historical purchases for a single individual to forecast what they are likely to purchase again in the future...

I know I would use a SQL database to store the Historical Data on the individual.

But what would I use to comb through
...
Senior Member
Posted in Uncategorized
Views 532 Comments 0 sag47 is offline
Old

Monitoring sound over time for long periods to see trends using a microphone

Posted 02-09-2012 at 03:54 PM by sag47
Updated 02-09-2012 at 03:58 PM by sag47

Recently a post was made requesting a solution to detecting sound in a studio to see if it is populated with lots of noise (lots of noise=people/bands playing) this way the person monitoring it wouldn't have to go through the trouble of hulking all their stuff to the studio.

I posted an interesting solution so I'm sharing it here and a little more on this blog. See post #9 of this thread.

I'm going to expand upon that munin plugin and make it a little more robust and...
Senior Member
Posted in Uncategorized
Views 3677 Comments 1 sag47 is offline
Old

Creating special devices to solve problems

Posted 01-19-2012 at 03:53 PM by sag47
Updated 01-21-2012 at 11:41 PM by sag47
Tags jboss, mknod

With tax season coming up I have been asked to set up a certain centralized tax service for a company. I won't mention the company nor the well known tax program involved as this post isn't about flaming a product but just to show you how cool commands in Linux can be used to solve, what would originally seem like, complicated problems.

Here's the scenario. The software runs on JBoss (a java app server) and it has log output. During client testing with fake social security numbers...
Senior Member
Posted in Uncategorized
Views 644 Comments 0 sag47 is offline
Old

Ventrilo and RHEL/Fedora

Posted 01-03-2012 at 07:19 PM by sag47
Updated 01-03-2012 at 07:25 PM by sag47

Well I just set ventrilo up on my internal dev server. Just trying it out because I've heard other people talk about it and thought I would integrate it better with my system. I'm running Fedora 14 on my server but all of these scripts should work on Fedora 12/14 and RedHat EL 5/6. Untested on the new Fedora 16. Here's the service script.
Code:
#!/bin/bash
#Created by Sam Gleske
#For RHEL and Fedora-like operating systems

# chkconfig: - 0 0
# description:
...
Senior Member
Posted in Uncategorized
Views 1164 Comments 0 sag47 is offline

  



All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration