Operating System - HP-UX
1757728 Members
2423 Online
108863 Solutions
New Discussion юеВ

Re: migrate to another SAN storage

 
chinchillaking
Occasional Contributor

migrate to another SAN storage

Hi All,

 

As I know, migrate could be use vgexport and vgimport to another SAN storage LUN, is OK for Oracle ASM disk native multipath with PVG? One more question, the vg01 did not display in /etc/lvmtab.

 

ioscan -m dsf

 

Collected Output
----------------
Persistent DSF Legacy DSF(s)
========================================
/dev/pt/pt8 /dev/rscsi/c4t0d0
/dev/rscsi/c0t0d0
/dev/rscsi/c2t0d0
/dev/rscsi/c6t0d0
/dev/rscsi/c12t0d0
/dev/rscsi/c8t0d0
/dev/rscsi/c14t0d0
/dev/rscsi/c10t0d0


/dev/pt/pt17 /dev/rscsi/c21t0d0
/dev/rscsi/c25t0d0
/dev/rscsi/c19t0d0
/dev/rscsi/c23t0d0
/dev/rscsi/c27t0d0
/dev/rscsi/c29t0d0
/dev/rscsi/c31t0d0
/dev/rscsi/c33t0d0


/dev/rdisk/disk26 /dev/rdsk/c5t0d1
/dev/rdsk/c1t0d1
/dev/rdsk/c3t0d1
/dev/rdsk/c7t0d1
/dev/rdsk/c13t0d1
/dev/rdsk/c9t0d1
/dev/rdsk/c15t0d1
/dev/rdsk/c11t0d1


/dev/rdisk/disk29 /dev/rdsk/c16t0d0
/dev/rdisk/disk29_p1 /dev/rdsk/c16t0d0s1
/dev/rdisk/disk29_p2 /dev/rdsk/c16t0d0s2
/dev/rdisk/disk29_p3 /dev/rdsk/c16t0d0s3

 

/dev/rdisk/disk30 /dev/rdsk/c16t1d0
/dev/rdisk/disk30_p1 /dev/rdsk/c16t1d0s1
/dev/rdisk/disk30_p2 /dev/rdsk/c16t1d0s2
/dev/rdisk/disk30_p3 /dev/rdsk/c16t1d0s3

 

/dev/rdisk/disk33 /dev/rdsk/c5t0d2
/dev/rdsk/c1t0d2
/dev/rdsk/c3t0d2
/dev/rdsk/c7t0d2
/dev/rdsk/c13t0d2
/dev/rdsk/c9t0d2
/dev/rdsk/c15t0d2
/dev/rdsk/c11t0d2


/dev/rdisk/disk35 /dev/rdsk/c5t0d3
/dev/rdsk/c1t0d3
/dev/rdsk/c3t0d3
/dev/rdsk/c7t0d3
/dev/rdsk/c13t0d3
/dev/rdsk/c9t0d3
/dev/rdsk/c15t0d3
/dev/rdsk/c11t0d3


/dev/rdisk/disk36 /dev/rdsk/c5t0d4
/dev/rdsk/c1t0d4
/dev/rdsk/c3t0d4
/dev/rdsk/c7t0d4
/dev/rdsk/c13t0d4
/dev/rdsk/c9t0d4
/dev/rdsk/c15t0d4
/dev/rdsk/c11t0d4


/dev/rdisk/disk40 /dev/rdsk/c5t0d5
/dev/rdsk/c1t0d5
/dev/rdsk/c3t0d5
/dev/rdsk/c7t0d5
/dev/rdsk/c13t0d5
/dev/rdsk/c9t0d5
/dev/rdsk/c15t0d5
/dev/rdsk/c11t0d5


/dev/rdisk/disk41 /dev/rdsk/c5t0d6
/dev/rdsk/c1t0d6
/dev/rdsk/c3t0d6
/dev/rdsk/c7t0d6
/dev/rdsk/c13t0d6
/dev/rdsk/c9t0d6
/dev/rdsk/c15t0d6
/dev/rdsk/c11t0d6


/dev/rdisk/disk45 /dev/rdsk/c5t0d7
/dev/rdsk/c1t0d7
/dev/rdsk/c3t0d7
/dev/rdsk/c7t0d7
/dev/rdsk/c13t0d7
/dev/rdsk/c9t0d7
/dev/rdsk/c15t0d7
/dev/rdsk/c11t0d7


/dev/rdisk/disk75 /dev/rdsk/c5t1d0
/dev/rdsk/c1t1d0
/dev/rdsk/c3t1d0
/dev/rdsk/c7t1d0
/dev/rdsk/c13t1d0
/dev/rdsk/c9t1d0
/dev/rdsk/c15t1d0
/dev/rdsk/c11t1d0


/dev/rdisk/disk76 /dev/rdsk/c5t1d1
/dev/rdsk/c1t1d1
/dev/rdsk/c3t1d1
/dev/rdsk/c7t1d1
/dev/rdsk/c13t1d1
/dev/rdsk/c9t1d1
/dev/rdsk/c15t1d1
/dev/rdsk/c11t1d1


/dev/rdisk/disk80 /dev/rdsk/c5t1d2
/dev/rdsk/c1t1d2
/dev/rdsk/c3t1d2
/dev/rdsk/c7t1d2
/dev/rdsk/c13t1d2
/dev/rdsk/c9t1d2
/dev/rdsk/c11t1d2
/dev/rdsk/c15t1d2

 

 

 

 

vgdisplay -v

 

----------------

--- Volume groups ---

VG Name /dev/vg00

VG Write Access read/write

VG Status available

Max LV 255

Cur LV 8

Open LV 8

Max PV 16

Cur PV 2

Act PV 2

Max PE per PV 4328

VGDA 4

PE Size (Mbytes) 16

Total PE 8638

Alloc PE 8636

Free PE 2

Total PVG 0

Total Spare PVs 0

Total Spare PVs in use 0

VG Version 1.0

VG Max Size 1082g

VG Max Extents 69248

 

--- Logical volumes ---

LV Name /dev/vg00/lvol1

LV Status available/syncd

LV Size (Mbytes) 2048

Current LE 128

Allocated PE 256

Used PV 2

 

LV Name /dev/vg00/lvol2

LV Status available/syncd

LV Size (Mbytes) 16384

Current LE 1024

Allocated PE 2048

Used PV 2

 

LV Name /dev/vg00/lvol3

LV Status available/syncd

LV Size (Mbytes) 2048

Current LE 128

Allocated PE 256

Used PV 2

 

LV Name /dev/vg00/lvol4

LV Status available/syncd

LV Size (Mbytes) 1024

Current LE 64

Allocated PE 128

Used PV 2

 

LV Name /dev/vg00/lvol5

LV Status available/syncd

LV Size (Mbytes) 12288

Current LE 768

Allocated PE 1536

Used PV 2

 

LV Name /dev/vg00/lvol6

LV Status available/syncd

LV Size (Mbytes) 8192

Current LE 512

Allocated PE 1024

Used PV 2

 

LV Name /dev/vg00/lvol7

LV Status available/syncd

LV Size (Mbytes) 10240

Current LE 640

Allocated PE 1280

Used PV 2

 

LV Name /dev/vg00/lvol8

LV Status available/syncd

LV Size (Mbytes) 16864

Current LE 1054

Allocated PE 2108

Used PV 2

 

 

--- Physical volumes ---

PV Name /dev/disk/disk29_p2

PV Status available

Total PE 4319

Free PE 1

Autoswitch On

Proactive Polling On

 

PV Name /dev/disk/disk30_p2

PV Status available

Total PE 4319

Free PE 1

Autoswitch On

Proactive Polling On

 

 

 

--- Volume groups ---

VG Name /dev/vg01

VG Write Access read/write

VG Status available

Max LV 2047

Cur LV 1

Open LV 1

Max PV 2048

Cur PV 1

Act PV 1

Max PE per PV 16777216

VGDA 2

PE Size (Mbytes) 1

Total PE 50671

Alloc PE 50671

Free PE 0

Total PVG 1

Total Spare PVs 0

Total Spare PVs in use 0

VG Version 2.1

VG Max Size 32t

VG Max Extents 33554432

 

--- Logical volumes ---

LV Name /dev/vg01/lvol1

LV Status available/syncd

LV Size (Mbytes) 50671

Current LE 50671

Allocated PE 50671

Used PV 1

 

 

--- Physical volumes ---

PV Name /dev/disk/disk26

PV Status available

Total PE 50671

Free PE 0

Autoswitch On

Proactive Polling On

 

 

--- Physical volume groups ---

PVG Name eva8400

PV Name /dev/disk/disk26

 

 

 

strings /etc/lvmtab not display vg01

 

----------------

/dev/vg00

/dev/disk/disk29_p2

/dev/disk/disk30_p2

 

 

 

 

Best regards,

 

Chung

 

 

P.S. This thread has been moved from General to LVM and VxVM. - Hp Forum Moderator

2 REPLIES 2
Torsten.
Acclaimed Contributor

Re: migrate to another SAN storage

>> migrate could be use vgexport and vgimport to another SAN storage LUN

 

By use of vgexport/vgimport the data remains where it is, but you export/import the VG definition from/to the server.

 

If you want to migrate to another storage, consider

 

- LVM mirror

- backup/restore

- SAN replication tools


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: migrate to another SAN storage

Since vg01 is LVM version 2.x, it is not in lvmtab, but in /etc/lvmtab_p

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!