General :: Reduce LVM Messages In /var/log/debug?

Feb 21, 2011

/var/log/debug gets lots of messages any time an LVM snapshot is setup (lvcreate --size ${size}k --snapshot --name "$LVM_snapshot_device" "$LVM_device"). Here is a recent sample.

Code:
Feb 19 22:40:10 CW8 lvm[2163]: Loading config file: /etc/lvm/lvm.conf
Feb 19 22:40:10 CW8 lvm[2163]: Opened /etc/lvm/lvm.conf RO

[code]....

View 5 Replies


ADVERTISEMENT

Software :: Jack : Disable Verbose Debug Messages?

Jun 17, 2010

I have the need to have jack running without any verbose debug message in the terminal, everytime. My system is ubuntu-based.

View 2 Replies View Related

Server :: Reduce RAID5 Partition Sizes / Reduce The Size Of Md1 And Grow Md0?

Feb 14, 2010

I have a rack of four 1TB drives all partitioned identically with three primary partitions. On each drive

- the first partition is only 64MB;
- the second is a large 900GB partition and
- the last holds all the remaining space

mdadm has been used to set up
/dev/md0 - RAID1, comprised of /dev/sda1 and /dev/sdb1
/dev/md1 - RAID5, comprised of /dev/sda2, /dev/sdb2, /dev/sdc2, /dev/sdd2
/dev/md2 - RAID5, comprised of /dev/sda3, /dev/sdb3, /dev/sdc3, /dev/sdd3

OK, so it was a silly mistake to make - but I am now need to increase the size of /dev/md0. My thinking is to reduce the size of md1 so that I can grow md0.

On md1 I have two logical volumes. I've successfully reduced the size of the volume so that I can reduce the size of md1. Now I'm at the nervous stage; I can find little written on the topic of shrinking RAID5 arrays - and even if I do this I'm unsure if I can move partitions around to regain the space I so desire.

View 1 Replies View Related

Fedora :: Managed To Reduce The Logical Volume To Free Some Space But Cant Seem To Reduce The Physical Volume

Jan 1, 2010

so i have f12 installed on my hd with lvm using the whole extent of the HD , i want to reduce it so i can dual boot it with a windows system, i managed to reduce the logical volume to free some space, but i cant seem to reduce the physical volume, is this possible and how ?

View 2 Replies View Related

General :: How To Reduce Load Average?

Feb 11, 2010

How to reduce the load average? I have two linux machines.. now my problem is that both the machines having same configuration and same processes are running in those two machines... But in one machine the load average is more than 3 and in other it is 0.5(when i am using top command).For this load average one machine(where load average is more) is slow when i am running application on it..

View 5 Replies View Related

General :: Reduce The Size Of A File?

Oct 31, 2010

How to reduce the size of a file. Is truncate related to this?

View 12 Replies View Related

General :: Reduce Bash Script Length?

Jul 30, 2010

At last i finish my script to find the status of the URL , in this code i used all the status codes, because of this it take too much of length. with the help of wiki only i find all the status codes.code...

View 7 Replies View Related

General :: Use To Save The .mp2 File As .mpg And Reduce The Size?

Aug 15, 2010

I have copied some vides from my camcorder and the size seems a bit excessive - 140mb for 3 mins! Is there a program I can use to save the .mp2 file as .mpg and reduce the size?

View 2 Replies View Related

General :: LV Reduced In VG Now / Reduce The FS And Partiton Size Of The PV?

Oct 18, 2010

I have a HDD that has 2 partitions. the 2nd partition is the VG and I want to reduce its size. I have reduced the Largest LV in the VG and now have free space in the VG. But, I am clueless on how to proceed to reduce the partiton size so that I can use it for another need.

When done, I expect to have 3 parttions total on the HDD. But first, I could some help in understanding the steps necessary for me to take, to move the free space out of the partition that has the Volume Group. Then, i can use fdisk on that 3rd partition for my needs.

I already know how to expand a Volume group by adding PVs, but, I do NOT know and cannot find how to reduce it to recover the free space in the VG to be used in a new partiton. (Better explained..."I want to reduce the physical partition size that the VG represents.)

View 5 Replies View Related

General :: Reduce /var Filesystem Size - Impact?

May 10, 2010

I need to create a temporary Filesystem and the only way to do it is to reduce /var and create a new filesystem 3GB size

Code:
df -h
/dev/mapper/VolGroup00-var
9.7G 1.5G 7.8G 16% /var

my question is according to google search I need to umount the filesystem point in order to reduce its size.... so it means I will require that nobody uses the system? since /var logs a lot information?

I also have the option to reduce /root but I think is more complicated.

so what are the precautions in order to reduce /var/?

View 6 Replies View Related

General :: How To Reduce Bash Script Length

Mar 19, 2011

At last i finish my script to find the status of the URL , in this code i used all the status codes, because of this it take too much of length. with the help of wiki only i find all the status codes.Quote:and my question is do we need all the status codes necessary in this script..and is there any other way to reduce the code using any conditonal statements..code...

View 6 Replies View Related

General :: How To Enable Debug Message

Dec 29, 2009

I am compiling gstreamer for my ARM board. When i compile that i am not getting "debug" messages. so i want "debug messages" while make my gstreamer. i added "./configure --enable-debug" but still i not getting debug message while i "make".

View 1 Replies View Related

General :: Debug Symbols Of GNU Packages

Jul 21, 2011

Where can I find debug symbols of GNU packages, for example for coreutils etc.?

View 3 Replies View Related

General :: Debug Ssh Permissions And Keys?

Nov 15, 2010

I am trying to debug ssh permissions and keys. I am able to connect as root. However, I am unable to login as a new user (e.g., newuser). I have been trying to ssh as localhost to debug the issue. For example:

>ssh -vvvv newuser@localhost

will yield a lot of information. I think this is the relevant section, however, I am unable to resolve:

debug1: Host 'localhost' is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:2
debug2: bits set: 533/1024

[Code].....

View 1 Replies View Related

General :: LVM2 On F10 - Reduce LVM Size And Remove 2 HDDs?

Oct 15, 2009

I have the following HDDs in an LVM2 configuration on an F10 box running Mythtv :-

# pvscan
PV /dev/sda2 VG VolGroup00 lvm2 [297.88 GB / 0 free]
PV /dev/sdd1 VG VolGroup00 lvm2 [931.50 GB / 0 free]
PV /dev/sdb1 VG VolGroup00 lvm2 [298.06 GB / 0 free]
PV /dev/sdc1 VG VolGroup00 lvm2 [931.50 GB / 0 free]
Total: 4 [2.40 TB] / in use: 4 [2.40 TB] / in no VG: 0 [0 ]

The system never uses more than about 250GB of HDD at any one time, so I would like to remove /dev/sdd1 and /dev/sdc1 from the LV and then from the machine and leave /dev/sda and /dev/sdb alone.

Does anyone know that if I use the command "system-config-lvm" to reduce the total LVM size to say 580GB, whether all data is preserved (I don't have any way at this stage to backup up 250GB of data, unless I buy more HDDs and that is the whole point of this exercise anyway - remove the two terrabyte drives to be used as backup disks).

Once I am happy that the data is safe, I will use "pvmove" and "vgreduce" to remove both terrabyte drives.

View 8 Replies View Related

General :: Debug Program And Need Something Like A Virtual Microphone?

Feb 13, 2011

I need debug my program and I need something like a virtual microphone. I would like device "microphone" where I can put sound file and this file will be input for microphone stream. And in application I get this stream from this "microphone"

File -> Microphone -> Application

is it possible?

something like bash command should by very very useful:

aplay --device=mic my_microphone.wav to run a microphone stream

View 2 Replies View Related

General :: How To Debug Fatal Relocation Error

May 31, 2011

Ive been messing around on a Solaris box, installing precompiled lib/programs from the repos by extracting them and placing them in my home dir. It seems everything ive tried sofar works, except for irssi. I get the following error:

$ ~/bin/irssi
ld.so.1: irssi: fatal: relocation error: file /export/home0/leem2/bin/irssi: symbol boot_DynaLoader: referenced symbol not found
Killed

I have run:
$ ldd /export/home0/leem2/bin/irssi
and it has no missing libs

View 1 Replies View Related

General :: Debug The DMESG Mesaage Or Any Link For The Same?

Jan 28, 2011

was trying to understand the messages the DMESG gives .Does any one knows how to debug the DMESG mesaage or any link for the same ?

View 6 Replies View Related

General :: Make Rules In A Makefile - Debug

Nov 17, 2009

Does anyone know if it is possible to make rules in a Makefile that would work like this:

> make debug module
or
> make module debug

where module can be any module that has a specific rule in the Makefile.

The thing I have is a Makefile with different rules that I compile like this:

> make module

What I would like is to add an option so I can compile whichever module with debug-information just by adding a debug to the make command. The debug-information I know how to do, the problem is how to make the Makefile work...

View 2 Replies View Related

General :: Debug A Script That Another Person Wrote.?

Jul 29, 2011

I am trying to debug a script that another person wrote. I am not very strong understanding awk.

cat ${origfile} | awk '{sub("�14","
\page
");print $0 "par"}' >>${rtftempfile}

I know awk is doing some kind of manipulation of the acsii file ${origfile}, just not sure what.

View 6 Replies View Related

General :: Debug A Newly Written System Cal?

Dec 17, 2010

i added a new system call..helloworld...

i rebuild the kernel and when i try to use it, it is returning -1.

can any one tell me how to debug and know where things went wrong..

how to see the kernel log when this syscall is called...i wrote a println in my syscall..but couldnt find that in /var/log/dmesg...

View 3 Replies View Related

General :: Reduce Fedora's Disk Size In VMware Player?

Jan 3, 2011

I'm new to Fedora 14, vmware player. After getting Fedora up and running in VMware player. The disk size was 2.7 GB. After three hours of working with it, the disk size has bloated to 4.3 GB. I havent added software to account for the near doubling in size. How do I reduce the size back to 2.7GB range or lower. Im new to Fedora and superuser controls. Im removing more software than adding software. Is this a VMWARE problem or Fedora problem?

View 1 Replies View Related

General :: Crosstool From X86 To Alpha Lacks Detailed Debug Information?

Apr 7, 2010

I have a working build of crosstool - it was built for gcc 3.4.3 using glibc 2.3.5 going from 32-bit x86 linux to 64-bit alpha linux. As far as I can tell -- it compiles correctly (output of alpha emulation matches expected) but it has a major flaw. When I use the cross compiler and attempt to add detailed debug information, it compiles, but does not have the debug information. For example, when I execute:

> /home/leporter/crosstool/gcc-3.4.3-glibc-2.3.5/alpha-unknown-linux-gnu/bin/alpha-unknown-linux-gnu-gcc-3.4.3 -g -o hello main.c

OR

> /home/leporter/crosstool/gcc-3.4.3-glibc-2.3.5/alpha-unknown-linux-gnu/bin/alpha-unknown-linux-gnu-gcc-3.4.3 -gstabs -o hello main.c

I get a working alpha binary for hello world. BUT - when I run objdump - this is what I get

> /home/leporter/crosstool/gcc-3.4.3-glibc-2.3.5/alpha-unknown-linux-gnu/bin/alpha-unknown-linux-gnu-objdump -g hello

hello: file format elf64-alpha

/home/leporter/crosstool/gcc-3.4.3-glibc-2.3.5/alpha-unknown-linux-gnu/bin/alpha-unknown-linux-gnu-objdump: hello: no recognized debugging information

Frustratingly - if I use my x86 gcc version 3.4.6 to do the compilation (same arguments, just using the x86 compiler, not the cross compiler) - it correctly embeds the debug information.

View 2 Replies View Related

General :: Use Eclipse To Compile And Debug Source Code On Ns-2 Simulator?

Dec 13, 2010

I want to use eclipse to compile and debug source code on ns-2 simulator.

1.how can i configure the parameter on eclipse.

2.how can i compile the source code *.cc

View 3 Replies View Related

Programming :: Logging Messages From Program Doesn't Reach /var/log/messages?

Jul 13, 2011

I have a syslog-ng running and kernel build of 2.6.34.8 I use a syslog API in my program with facility LOG_LOCAL5 and and levels debug err and crit and info. when I ran on the older syslog facility I had everything logged fine as I intended. now I have written these rules into the syslog-ng.conf:

options {
flush_lines (0);
time_reopen (10);
log_fifo_size (1000);

[code]....

the last two rules show my program gnssapp. the result is all debug levels or crit or err levels I don't see any of them !

View 3 Replies View Related

General :: Embedded Webserver (mysql) On A Compact Flash: Reduce Read / Write Operations?

Jul 7, 2011

I've developed a tiny webserver for home automation out of an ALIX 1D, and based on a debian lenny. It runs very smoothly and is now able to operate quite a lot of different equipment from a webapp. But i'm not sure how I should handle the compact flash, regarding read/write limitations. From what I've read the partitioning should be ext2, which would disallow the journalisation of the system. A utility to 'flatten' the repartition of write cycles exists, would it be relevant to use if the partition is ext2 ?

I will also disable all logging in execution mode (a debug mode will provide the logs). Is there any other parameters I have to take into account for maximum reliability (i.e. does the system randomly write in some files for various and potentially turned off purposes)? As for the mysql database, it's not important data, and it's actually reconstructed every time the server boots. Given this, is there a way to store the db in RAM rather than in a file? I'm not sure it's the right place to ask, but I sometimes see redirection to here from stack overflow.

View 2 Replies View Related

General :: Usb Driver : Ti_usb_3410_5052 - After Adding My Device (MSP430 USB-DEBUG-INTERFACE) It Doesn't Work?

Feb 3, 2011

I have problems with my USB driver. After adding my device (MSP430 USB-DEBUG-INTERFACE) it doesn't work.

[ 60.476039] usb 2-2.1: new full speed USB device using uhci_hcd and address 8
[ 60.693959] ti_usb_3410_5052 2-2.1:1.0: TI USB 3410 1 port adapter converter detected
[ 60.693981] ti_usb_3410_5052: probe of 2-2.1:1.0 failed with error -5


I try to do: modprobe ti_usb_3410_5052.No changes.It's Linux

Linux ubuntu 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux

View 1 Replies View Related

Security :: Stop Particular Messages In /var/log/messages?

May 30, 2009

More than 7 G bytes were logged to the messages file last three weeks I got this message in /var/log/messages I want to stop this messaging cause it takes to much space

Quote:

Apr 30 20:25:18 TEST-NODE kernel: IPT: IN_NOMATCH IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:17:a4:a7:3d:a2:08:00 SRC=172.26.16.27 DST=172.26.16.255 LEN=104 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=10100 DPT=10100 LEN=84

[code]...

View 7 Replies View Related

General :: Have "pdt Debug Address Error" As The Attached Picture?

Aug 13, 2010

I have "pdt debug address error" as the attached picture.[URL]

View 2 Replies View Related

General :: Cannot Ssh Into RHEL 5.5 Server Unless SSHD Server Debug Is Enabled?

Aug 11, 2010

I cannot ssh into an RHEL 5.5 server (192.168.20.104) from another RHEL 5.5 server (192.168.20.101) unless server debug is turned on 192.168.20.104, and even then, I have to wait several minutes before the connection is established. scp to and from the 104 server is also not working.Here is the debug output on the 101 server when server debug is not enabled on the 104 server-:

Code:
[applmgr@tclg-clone-01 ~]$ ssh -vvv 192.168.20.104
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

[code]...

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved