Sponsored Content
Top Forums Shell Programming and Scripting Verify two disk pvid with command awk Post 302353965 by khalidou13 on Wednesday 16th of September 2009 05:37:05 PM
Old 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

Command to verify library sources in AIX

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

"Error for Command: verify"

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

How to verify email address using mailx command ?

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

Backup with Pax command. How to verify tape?

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

awk command in script gives error while same awk command at prompt runs fine: Why?

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

verify command

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

command to verify number of files

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

Verify File exists and execute command

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

clearing PVID

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
vximportdg(1M)															    vximportdg(1M)

NAME
vximportdg - import a disk group into the Veritas Volume Manager configuration SYNOPSIS
vximportdg daname new_dgname DESCRIPTION
The vximportdg utility performs a temporary import of the disk group contained on the disk device specified by daname to the disk group specified by new_dgname. As the persistent disk group information is not changed within the private partition of the affected disk, the import is only valid for the duration of the bootload or until a vxdg deport is performed. ARGUMENTS
daname Specifies the device name (disk access name) of one of the member disks of the disk group to be imported. The other members are imported automatically. new_dgname Specifies the disk group to be imported. USAGE
One reason to use the vximportdg utility is to import a second generation of the rootdg disk group so that its objects are available for use while a system is running on a different rootdg. To prevent volumes on the second generation rootdg from having the same device minor numbers as volumes (such as rootvol) on the active rootdg, the importation assigns temporary non-conflicting device minor numbers. If this occurs, vximportdg outputs warning messages detailing the mapping of the minor numbers. SEE ALSO
vxdg(1M) VxVM 5.0.31.1 24 Mar 2008 vximportdg(1M)
All times are GMT -4. The time now is 11:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy