04-04-2013
before to try the varyonvg, could you check if lspv shows the same content in both nodes
I not have experience in XIV, but in another Storage Copies (EMC, HDS), probably you need clean the reservations that the original system put in the physical devices.
I think tyhat you need heck that the attributes on same nodes are the same, use lsattr -El hdiskX to review these, in special the reservation policy values.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello all,
Strange problem on p5 520 server. I've created two volume groups, filesystems, etc.. Everything working fine, without any problem. After some tests with a DS4300 unit I wanted to remove the volume groups, change the DS4300 configuration, and re-create a new volumegroup. However, I'm... (0 Replies)
Discussion started by: EricBE
0 Replies
2. UNIX for Dummies Questions & Answers
I am trying to move a file that is in the root directory. I suspect it is an old file created by someone when the system was installed. I am testing accessing the file by doing a copy but the command does not find the file.
I am operating as root. We are HP-UX B.11.23
I do long listing and... (3 Replies)
Discussion started by: phcorn
3 Replies
3. AIX
Good evening,
Thanks a lot for your help, we appreciate it a bunch. Heres basically a summary of what we have (sorry Im adding some extra history as well):
We have 2 Ibm Servers (Hag and Aki) that are running AIX Version 5. Each connect to a SAN device via 2 separate fiber paths. Hag seems to... (9 Replies)
Discussion started by: aix-olympics
9 Replies
4. AIX
Hi all.
I'm new to AIX, so... We are running a BCV process between two AIX 5 machines attached to EMC Clariion SAN. During the varyonvg portion of the BCV process, we experienced a failure due to the physical volume is marked missing (PVMISSING). What diagnostics can I run to see the missing... (2 Replies)
Discussion started by: KSFlyer
2 Replies
5. 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
6. Solaris
Hi,
I'm learning for my Solaris 10 sys-admin part 2. I'm now trying to get nis working because for the exercise. I run in to a problem.
Setup:
Three Systems
solaris101 (client)
Nothing wrong here havent made any config changes yet.
solaris102 (master server)
Interfaces
... (1 Reply)
Discussion started by: jld
1 Replies
7. Solaris
Hi guys,
I had a solaris box, with veritas controled disk.
1 disc is showing soft errors, how can I repair the soft errors?
Please help.
Cheers; (4 Replies)
Discussion started by: Mujakol
4 Replies
8. Shell Programming and Scripting
I am trying to move content of a folder usingls /backup/db_backups/INCREMENTAL/|while read file ; do
mv $file /backup_LOCAL/db_backups/INCREMENTAL/
done...but when I run this command using a bash script I'm getting this error ./test.sh
mv: cannot stat... (6 Replies)
Discussion started by: rocking77
6 Replies
9. AIX
Iam new to AIX
I am unable varyonvg on the vios,some of the disk are reported as harware failure.
I am going to replace the disk,Please tell me how to remove the disk without any corruption in the VG
lspv -l hdiskx also didn't work (0 Replies)
Discussion started by: roayaix
0 Replies
10. AIX
Hi there,
I am trying to determine if a specific XIV LUN on AIX is in OPEN or CLOSED state. I would like tthe same info as I can get from pcmpath command on v7000 LUN-s. I would need this info to find out if I can safely delete a LUN or not.
I tried fuser command, but no luck. It did not... (6 Replies)
Discussion started by: trifo75
6 Replies
LEARN ABOUT CENTOS
doveadm-copy
DOVEADM-MOVE(1) Dovecot DOVEADM-MOVE(1)
NAME
doveadm-move - Move messages matching the given search query into another mailbox
doveadm-copy - Copy messages matching the given search query into another mailbox
SYNOPSIS
doveadm [-Dv] move [-S socket_path] destination [user source_user] search_query
doveadm [-Dv] move [-S socket_path] -A destination [user source_user] search_query
doveadm [-Dv] move [-S socket_path] -u user destination [user source_user] search_query
doveadm [-Dv] copy [-S socket_path] destination [user source_user] search_query
doveadm [-Dv] copy [-S socket_path] -A destination [user source_user] search_query
doveadm [-Dv] copy [-S socket_path] -u user destination [user source_user] search_query
DESCRIPTION
doveadm move can be used for moving mails between mailboxes for one or more users. The search_query is used to restrict which messages are
moved into the destination mailbox.
doveadm copy behaves the same as doveadm move, except that copied messages will not be expunged after copying.
In the first form, doveadm(1) will execute the move/copy action with the environment of the logged in system user.
In the second form, doveadm(1) will iterate over all users, found in the configured user_db(s), and move or copy each user's messages,
matching the given search_query, into the user's destination mailbox.
In the third form, matching mails will be moved or copied only for given user(s).
OPTIONS
Global doveadm(1) options:
-D Enables verbosity and debug messages.
-v Enables verbosity, including progress counter.
Command specific options:
-A If the -A option is present, the command will be performed for all users. Using this option in combination with system users from
userdb { driver = passwd } is not recommended, because it contains also users with a lower UID than the one configured with the
first_valid_uid setting.
When the SQL userdb module is used make sure that the iterate_query setting in /etc/dovecot/dovecot-sql.conf.ext matches your data-
base layout. When using the LDAP userdb module, make sure that the iterate_attrs and iterate_filter settings in /etc/dovecot/dove-
cot-ldap.conf.ext match your LDAP schema. Otherwise doveadm(1) will be unable to iterate over all users.
-S socket_path
The option's argument is either an absolute path to a local UNIX domain socket, or a hostname and port (hostname:port), in order to
connect a remote host via a TCP socket.
This allows an administrator to execute doveadm(1) mail commands through the given socket.
-u user/mask
Run the command only for the given user. It's also possible to use '*' and '?' wildcards (e.g. -u *@example.org).
When neither the -A option nor -u user was specified, the command will be executed with the environment of the currently logged in
user.
ARGUMENTS
destination
The name of the destination mailbox, into which the mails should be moved or copied. The destination mailbox must exist, otherwise
this command will fail.
search_query
Move/copy messages matching the given search query. See doveadm-search-query(7) for details.
user source_user
The keyword user followed by a valid user name. When this argument is present, doveadm(1) will apply the search_query to the
source_user's mail_location.
Limitation: Currently the users, specified by -u user and user source_user, must share the same UID and GID.
EXAMPLE
Move jane's messages - received in September 2011 - from her INBOX into her archive.
doveadm move -u jane Archive/2011/09 mailbox INBOX BEFORE
2011-10-01 SINCE 01-Sep-2011
REPORTING BUGS
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is avail-
able at: http://dovecot.org/bugreport.html
SEE ALSO
doveadm(1), doveadm-search-query(7)
Dovecot v2.2 2013-11-23 DOVEADM-MOVE(1)