02-05-2013
Thanks Zaxxon for the reminder.
Sometimes importing a volume group, which has same Logical volume names would rename it by itself. To avoid renaming of the logical volumes, is it possible to know the contents ( logical volumes + filesystems + volume group name ) before importing.
8 More Discussions You Might Find Interesting
1. Programming
what is WDFP and WE STATION? (1 Reply)
Discussion started by: billybayou
1 Replies
2. UNIX for Dummies Questions & Answers
hi guys..
I'm just wondering, everytime I go to a unix dictionary to get the definition of things such as $ and >& i dont get results back..
could you give me any link that has these simple definitions or could you tell me what $ means? or >&? (1 Reply)
Discussion started by: hamoudiii
1 Replies
3. UNIX for Dummies Questions & Answers
I completely forgot this I am thinking of getting the book UNIX for dummies as a help to understand this class. Does anyone out there have this book? Is it helpful? (1 Reply)
Discussion started by: cinnamonbear
1 Replies
4. UNIX for Dummies Questions & Answers
on of the question that I have is that in class . We were asked this question
**What command would you use to list the last modification time of
all files in /tmp whose filenames end in exactly two digits?
I know that we need to to ls /tmp/ ??.... but I did not know how to find that last... (2 Replies)
Discussion started by: xzyan
2 Replies
5. AIX
I don't understand the concept behind importvg and exportvg. What are some examples of when one would use this? (1 Reply)
Discussion started by: outtacontrol
1 Replies
6. Shell Programming and Scripting
Greetings,
I have a script that uses this syntax:
for i in `ls *.pll`
do
echo Compiling Lib $i .....
frmcmp.sh userid=$LOGON module_type=LIBRARY module=$i compile_all=yes batch=yes
done
mv *.pll ../libs
mv *.plx ../libs
mv *.err ../libs
If there are no files that match though I... (9 Replies)
Discussion started by: mjdbhouse
9 Replies
7. AIX
Hello,
On Aix 5.3, during importvg, the varyonvg fails:
importvg -y vgtest hdisk20
0516-013 varyonvg: The volume group cannot be varied on because
there are no good copies of the descriptor area.
When i use manually the command varyonvg -u -b -t vgtest to force, the vg can... (3 Replies)
Discussion started by: dantares
3 Replies
8. AIX
Hi experts,
Power7 p720
AIX 6.1
This is what happened:
$ sudo importvg -y v7000_1vg hdisk6
0516-622 synclvodm: Warning, cannot write lv control block data.
0516-622 synclvodm: Warning, cannot write lv control block data.
0516-622 synclvodm: Warning, cannot write lv control block data.... (9 Replies)
Discussion started by: livehho
9 Replies
LEARN ABOUT DEBIAN
vgreduce
VGREDUCE(8) System Manager's Manual VGREDUCE(8)
NAME
vgreduce - reduce a volume group
SYNOPSIS
vgreduce [-a|--all] [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--removemissing] [-t|--test] [-v|--verbose] VolumeGroupName [Physi-
calVolumePath...]
DESCRIPTION
vgreduce allows you to remove one or more unused physical volumes from a volume group.
OPTIONS
See lvm for common options.
-a, --all
Removes all empty physical volumes if none are given on command line.
--removemissing
Removes all missing physical volumes from the volume group, if there are no logical volumes allocated on those. This resumes normal
operation of the volume group (new logical volumes may again be created, changed and so on).
If this is not possible (there are logical volumes referencing the missing physical volumes) and you cannot or do not want to remove
them manually, you can run this option with --force to have vgreduce remove any partial LVs.
Any logical volumes and dependent snapshots that were partly on the missing disks get removed completely. This includes those parts
that lie on disks that are still present.
If your logical volumes spanned several disks including the ones that are lost, you might want to try to salvage data first by acti-
vating your logical volumes with --partial as described in lvm (8).
SEE ALSO
lvm(8), vgextend(8)
Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGREDUCE(8)