11-22-2005
Its just the mirroring package for HPUX
if a mirror has been broken and not remirrored I have seen it get stuck as stale.
try a vgscan -p -v and see what it comes back with.
Do not run that command with a "-a" until you are sure you want it to rebuild your lvmtab.
Aaron
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm about 5 months new on an 5 year old unix system. If anyone can help me identify what causing the below errors i'd really appreciate it!
unix: WARNING: /pci@1f,0/pci@1,1/ide@3/dad@1,0 (dad1):
Uncorrectable data Error: Block 57e10
Unix: WARNING: /pci@1f,0/pci@1,1/ide@3/dad@1,0 (dad1):... (1 Reply)
Discussion started by: ByasB
1 Replies
2. Shell Programming and Scripting
Hi,
I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows:
""""""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies
3. Shell Programming and Scripting
Hello everyone.
I wrote the following script but the second part is not excecuting. It is not sending the notification by email if the error occurs.
the send mail is working so i think the errorr should be in the if statement
LOGDIR=/logs/out
LOG=`date "+%Y%m%d"`.LOG-FILE.out #the log file ... (11 Replies)
Discussion started by: adak2010
11 Replies
4. AIX
I have enabled logging on all of my AIX systems.
# vi /etc/syslog.conf
*.debug;*.emerg;*.alert;*.crit;*.warning /var/log/messages rotate size 1000k files 4
syslog.debug /var/log/syslog rotate size 1000k files 4
*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages rotate size 1000k... (2 Replies)
Discussion started by: bblondin
2 Replies
5. Red Hat
Hi,
I have two questions,first of all is where can I collect more error logs(the log under /var/log/messages), also give the corresponding explain is grateful.The second one is the log under various versions(such as red hat,suse,etc) is the same or not.
Thanks for answers. (1 Reply)
Discussion started by: zhaoyy
1 Replies
6. Web Development
Hi Gurus,
Our tomcat server was found hanging and responding to requests although ports 8080 & 8009(AJP) were found in listening state. The catalina.out had the below output:
We have JavaMelody(Monitoring tool) packaged along with our application and it seems that monitoring through... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I'm a newbie in Linux Programming.:)
Got some 500 processes running and I have around 20-30 logs updating for every 2mins on a server. The logs which i'm referring usually contains book name,run ids(not PID's),process name etc etc.
I'm interested in finding out whether some particular... (1 Reply)
Discussion started by: Nand Kishor
1 Replies
8. UNIX for Dummies Questions & Answers
HI Team ,
Is there a way to capture information logs ( session or workflow ) and grep only ERROR or FAIL messages and send to email distro
using mailx or sendmail option.
I have around 200 sessions running on daily basis and this script has to run every day , and capture only error... (0 Replies)
Discussion started by: Perlbaby
0 Replies
9. Shell Programming and Scripting
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
LEARN ABOUT REDHAT
vgscan
VGSCAN(8) System Manager's Manual VGSCAN(8)
NAME
vgscan - scan all disks for volume groups and build /etc/lvmtab and /etc/lvmtab.d/* which are the database for all other lvm commands.
SYNOPSIS
vgscan [-d|--debug] [-f|--forcenumbers] [-h|--help] [-r|--remove_snapshots [VolumeGroupName]] [-v|--verbose]
DESCRIPTION
vgscan scans all SCSI, (E)IDE disks, multiple devices and a bunch of other disk devives in the system for volume groups defined.
OPTIONS
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-f, --forcenumbers
If used volume group and/or logical volume minor numbers are found during scan, replace them. This will potentially cause problems
for NFS exported filesystems on logical volumes with changed numbers.
-h, --help
Print a usage message on standard output and exit successfully.
-r, --remove_snapshots [VolumeGroupName]
Remove all snapshot logical volumes from all or just the named volume group.
-v, --verbose
Display verbose information of vgscan's activities.
Hint
Put vgscan in one of your system startup scripts. This gives you an actual logical volume manager database before activating all volume
groups by doing a "vgchange -ay".
DIAGNOSTICS
vgscan returns an exit code of 0 for success and > 0 for error:
1 error reading physical volumes
2 error inserting vokume group name into lvmtab
3 no volume group(s) found
4 error creating lvmtab
5 no or not enough free device specials to store volume group in lvmtab
6 error storing VGDA on disk(s)
7 reused LV device number
8 error releasing snapshot logical volume
95 driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
99 invalid command line
See also
lvm(8), vgcreate(8), vgchange(8)
AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS VGSCAN(8)