05-28-2003
The only thing that I would add to the info in the other thread is to do a vgexport on the first system, move the map file over, and use the map file during the vgimport.
In that first thread, the poster had a disaster and no map file was possible. Here you can easily create the map file so go ahead with that.
The vgexport also removes the vg info from the vg database on the first system. That frees up the vg so it can be used again.
The vgexport also has that -p flag for preview. I like to use "-p -v" first just to be sure that everything looks ok.
6 More Discussions You Might Find Interesting
1. Solaris
Hi everybody. My task today is to move my file system that's 98% full to a new partition slice.
I think I'm pretty sure how to do it, but I just wanted to make sure, plus it's been a while since I last did one. The Let's say I have 2 disks c0t0d0 & c0t1d0 ...the file Iwant to move is in c0t0d0s5... (7 Replies)
Discussion started by: Remi
7 Replies
2. Programming
Hi, im in need if wisdom here guys...
How could I store the output of commands like ping integrally directly into a array??? I'll be using system() to run the commands but how can I send the output to an array??? cuz I need to store it so that I can later copy the array's content to a buffer... (5 Replies)
Discussion started by: Jess83
5 Replies
3. Shell Programming and Scripting
So, here's a scenario that requires the same logic as what I'm working on: Suppose that you have a directory containing files named after users. For awk's purposes, the filename is a single field-- something parse-friendly, like john_smith. Now, let's say that I'd like to populate an array in... (2 Replies)
Discussion started by: treesloth
2 Replies
4. Shell Programming and Scripting
hey guys in only new to scripting as such, but i have a problem.
i want to take the output of a search i do in the command line to then be in a variable but only a certain part of the output.
this this what im doing:
-bash-2.05b$ ldapsearch -x '(dn:=dc)' dc|grep dc=
# base... (1 Reply)
Discussion started by: jmorey
1 Replies
5. Solaris
Hello Gurus,
I need your help with this please. I am trying to move a zone to a new directory but it keeps failing.
Below is what I did and the message I get. Your help will be appreciated.
Thanks
zoneadm -z testzone move /rpool/testzone
cannot create ZFS dataset rpool/testzone: dataset... (1 Reply)
Discussion started by: cjashu
1 Replies
6. UNIX for Dummies Questions & Answers
Hi Friends,
I have a host(Suse Linux 10.4) which has 2 luns presented from 2 different arrays HP eva and xp. we are planning to migrate hp eva to 3par. When i look for physical volume i see /dev/dm-4, /dev/dm-5, /dev/dm-7and when i look for multipath -ll i see dm-8,dm-9,dm-7. So i can't confirm... (6 Replies)
Discussion started by: munna529
6 Replies
LEARN ABOUT REDHAT
ypmatch
ypmatch(1) General Commands Manual ypmatch(1)
NAME
ypmatch - print the values of one or more keys from a NIS map
SYNOPSYS
ypmatch [ -kt ] [ -d domain ] key ... mapname
ypmatch -x
DESCRIPTION
ypmatch prints the values of one or more keys from the NIS database specified by mapname, which may be a map name or a map nickname.
OPTIONS
-d domain
Specify a domain other than the default domain as returned by domainname(1).
-k Display map keys. This option is useful with maps in which the values are null or the key is not part of the value.
-t This option inhibits map nickname translation.
-x Display the map nickname translation table.
FILES
/var/yp/nicknames
map nickname translation table.
SEE ALSO
domainname(8), nicknames(5), ypbind(8), ypcat(1), yppoll(8), ypserv(8), yset(8), ypwhich(1)
AUTHOR
ypmatch is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@suse.de>.
YP Tools 2.7 May 1999 ypmatch(1)