09-16-2009
Quote:
Originally Posted by
vidyadhar85
as far as i know PVID is unique so i still don't understand why you wanna check it for two different hard disks..
Actually, i have two disk in my server.
hdisk0 et hdisk1
hdisk0 --> vscsi0 & vscsi1
hdisk1 --> fscsi0 & fscsi1
In fact, there is one disk but 4 paths.
I have to erase the hdisk0, vsci0 and vscsi1.
The zoning is realize in my baie SAN ECM for NPIV.
Also, i have to verify for each lpar if the disk have the same pvid before erase hdisk0
thanks for reply
9 More Discussions You Might Find Interesting
1. Programming
Hi there,
May I know is there a command to verify and check the *.a file contents for AIX 5.2.
How can I link the library file ?
Thank you (0 Replies)
Discussion started by: chongks
0 Replies
2. Solaris
I have a raid 5 configuration in a A3500 rack, manager by raid manager.
This morning I found this messages in a /vad/adm/messages":
Sep 10 04:33:57 zion scsi: WARNING: /sbus@3,0/SUNW,socal@2,0/sf@1,0/ssd@w200200a0b80735d3,4 (ssd11):
Sep 10 04:33:57 zion Error for Command: verify ... (1 Reply)
Discussion started by: bonovox
1 Replies
3. UNIX for Dummies Questions & Answers
Is there any way i can verify the email address (before sending the mail) using the mailx command ?
I know that
sendmail -bv email@address.com
can do it but there is a compatibility issues with the version of Unix we have. So mailx is the only command we can used at this point.
Any... (1 Reply)
Discussion started by: rak007
1 Replies
4. AIX
Dear all experts online,
In my environment of AIX 5300-07, I am currently using "pax" command to backup all filesystems that I need to backup and it will take me around 4 hours time with LTO3 tape drive.
When I need to verify the tape after backup, I am using "pax" command to list all files in... (2 Replies)
Discussion started by: kwliew999
2 Replies
5. Shell Programming and Scripting
Hello all,
Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val:
> cat getnon0file.sh
#!/bin/bash
this="getnon0file.sh"
USAGE=$this"
InFile="xyz.38"
Min="0.05"
#
awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Discussion started by: catalys
4 Replies
6. AIX
Guy's
I have script doing many steps as the below ...
#############
## step1# mount all Files system
mount all
## step2# Start the application
/app/appsh
#############
but some time mount points will not be mounted completely so that will give an error if the next step started... (1 Reply)
Discussion started by: Mr.AIX
1 Replies
7. AIX
Guy's
I have file system called /appspft has millions of files and I want to know exactly how many file under it
Pls advice with that command to verify number of files .. (3 Replies)
Discussion started by: Mr.AIX
3 Replies
8. Shell Programming and Scripting
Hi,
I am trying to verify that a file exists within an alternate directory. If the file exists, it will execute a copy command...if it does not, it should exit the script.
I tried the <test> command and the but keep coming up with syntax errors.
I am coding in C Shell and the file... (5 Replies)
Discussion started by: CKT_newbie88
5 Replies
9. AIX
HI admins,
I am not able to clear pvid .I am getting below error.
chdev -l hdisk273 -a pv=clear
Method error (/usr/lib/methods/chgdisk):
0514-047 Cannot access a device.
pv
The disk is from SAN. I can clear remove the disk using rmdev.But if i run cfgmgr , this disk apperas... (2 Replies)
Discussion started by: newaix
2 Replies
LEARN ABOUT HPUX
vxsplitlines
vxsplitlines(1M) vxsplitlines(1M)
NAME
vxsplitlines - show disks with conflicting configuration copies in a cluster
SYNOPSIS
vxsplitlines [-g diskgroup] [-c daname]
DESCRIPTION
If you import portions of a disk group on different systems, this can lead to conflicting configuration copies on the disks of the disk
group.
If the configuration information in a disk group is ambiguous, it may not be possible for Veritas Volume Manager to determine which config-
uration copy is most up-to-date. (This is usually termed a serial split brain (SSB) condition when it occurs in a cluster.) You cannot
import a disk group in this state unless you specify which disk's configuration copy to use.
You can use the vxsplitlines command to see which disks in a disk group have conflicting configuration copies, and use this information
together with your knowledge of the history of the disk groups' usage to determine which configuration copy is most valid.
The output from vxsplitlines displays the vxdg commands that you can run to import the disk group using the available configuration copies.
The -o selectcp option of the vxdg import command is used to select the configuration copy to use for the import.
OPTIONS
-c daname Display the SSB IDs for each disk that are stored in the configuration copy on the disk specified by its disk access name.
Note: Although the SSB IDs for some disks may match, this does not necessarily mean that those disks' configuration copies have
recorded all the configuration changes. When viewed from some other configuration copies, the SSB IDs of the same disks may not
match.
-g diskgroup
Specifies the disk group. If a disk group is not specified, the default disk group is used as determined from the rules on the
vxdg(1M) manual page.
EXAMPLES
Display the disks on each side of the split in the disk group newdg:
vxsplitlines -g newdg
Display the SSB IDs stored in the configuration copy on disk c2t4d0:
vxsplitlines -g newdg -c c2t4d0
NOTES
The vxsplitlines is primarily intended to be used with private disk groups, but it also works with shared disk groups.
The version number of the disk group must be 110 or greater.
SEE ALSO
vxdg(1M)
Veritas Volume Manager Administrator's Guide
VxVM 5.0.31.1 24 Mar 2008 vxsplitlines(1M)