Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change device file for volume group

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have cluster on two node hp1 and hp2 and EMS Clariion RAID 5 with two LUNs.
I'm use EMC Navisphere command line interface (CLI) for enable my HP-UX system has the PVLINKS feature. After use CLI i'm lost my device. Can I change new device for my vgoradata?
Help me, please..

ioscan for hp1 before configured storage system type:

Class I H/W Path Driver S/W State H/W Type Description
================================================================================
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST39204LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 304
/dev/cdrom /dev/rdsk/c3t2d0
/dev/dsk/c3t2d0
disk 3 0/7/0/0.8.0.255.0.0.0 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
disk 8 0/7/0/0.8.0.255.0.1.0 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c5t1d0 /dev/rdsk/c5t1d0 - empty device
disk 9 0/7/0/0.8.0.255.0.1.1 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c5t1d1 /dev/rdsk/c5t1d1

ioscan for hp2 before configured storage system type:

Class I H/W Path Driver S/W State H/W Type Description
================================================================================
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST39204LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 304
/dev/cdrom /dev/rdsk/c3t2d0
/dev/dsk/c3t2d0
disk 3 0/7/0/0.8.0.255.0.0.0 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0
disk 8 0/7/0/0.8.0.255.0.1.0 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c6t1d0 /dev/rdsk/c6t1d0 - empty device
disk 9 0/7/0/0.8.0.255.0.1.1 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c6t1d1 /dev/rdsk/c6t1d1

I'm run this command:

navicli -d c5t0d0 -h hp1 systemtype -config 2

2 - HP-UX type with auto-trespass on; us this if your HP-UX
system has the PVLINKS feature.

After this command - storage system reboot
and ioscan result on hp1:

Class I H/W Path Driver S/W State H/W Type Description
================================================================================
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST39204LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 304
/dev/cdrom /dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 14 0/7/0/0.8.0.0.0.0.0 sdisk CLAIMED DEVICE DGC C5200WDR5
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0
disk 15 0/7/0/0.8.0.0.0.0.1 sdisk CLAIMED DEVICE DGC C5200WDR5
/dev/dsk/c6t0d1 /dev/rdsk/c6t0d1
disk 16 0/7/0/0.8.0.1.0.0.0 sdisk CLAIMED DEVICE DGC C5200WDR5
/dev/dsk/c7t0d0 /dev/rdsk/c7t0d0
disk 17 0/7/0/0.8.0.1.0.0.1 sdisk CLAIMED DEVICE DGC C5200WDR5
/dev/dsk/c7t0d1 /dev/rdsk/c7t0d1

on hp2:

Class I H/W Path Driver S/W State H/W Type Description
================================================================================
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST39204LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 304
/dev/cdrom /dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 14 0/7/0/0.8.0.0.0.0.0 sdisk CLAIMED DEVICE DGC C5200WDR5
/dev/dsk/c7t0d0 /dev/rdsk/c7t0d0
disk 15 0/7/0/0.8.0.0.0.0.1 sdisk CLAIMED DEVICE DGC C5200WDR5
/dev/dsk/c7t0d1 /dev/rdsk/c7t0d1
disk 16 0/7/0/0.8.0.1.0.0.0 sdisk CLAIMED DEVICE DGC C5200WDR5
/dev/dsk/c8t0d0 /dev/rdsk/c8t0d0
disk 17 0/7/0/0.8.0.1.0.0.1 sdisk CLAIMED DEVICE DGC C5200WDR5
/dev/dsk/c8t0d1 /dev/rdsk/c8t0d1

# vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 2500
VGDA 2
PE Size (Mbytes) 4
Total PE 2169
Alloc PE 1940
Free PE 229
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 84
Current LE 21
Allocated PE 21
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 140
Current LE 35
Allocated PE 35
Used PV 1

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 20
Current LE 5
Allocated PE 5
Used PV 1

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 528
Current LE 132
Allocated PE 132
Used PV 1

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 1248
Current LE 312
Allocated PE 312
Used PV 1

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 1132
Current LE 283
Allocated PE 283
Used PV 1

LV Name /dev/vg00/lvoracle
LV Status available/syncd
LV Size (Mbytes) 3072
Current LE 768
Allocated PE 768
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
PV Status available
Total PE 2169
Free PE 229
Autoswitch On


vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vgoradata".

# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0
/dev/vgoradata
/dev/dsk/c5t0d0

# vgscan -pv
vgscan: Warning: couldn't query physical volume "/dev/dsk/c5t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Couldn't query the list of physical volumes.
vgscan: The physical volume "/dev/dsk/c1t2d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c3t2d0":
Invalid argument
Physical Volume "/dev/dsk/c6t0d1" contains no LVM information
Physical Volume "/dev/dsk/c7t0d1" contains no LVM information


/dev/vg00
/dev/dsk/c1t2d0



/dev/vgoradata
/dev/dsk/c6t0d0
/dev/dsk/c7t0d0



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top