cancel
Showing results for 
Search instead for 
Did you mean: 

Business copy import.

 
Regular Advisor

Business copy import.

Hi I need some help please.

The storage admin guy has made a snapshot of the data.

I now wish to import it into my volume group which i have made.

but when i do a pvcreate i get.

pvcreate -f /dev/rdisk/disk41
pvcreate: Couldn't open physical volume "/dev/rdisk/disk41":
No such device or address


LSSF gives me
lssf /dev/disk/disk41
esdisk section 0 at address 64000/0xfa00/0x13 /dev/disk/disk41

VGVHGID
vgchgid /dev/rdisk/disk41
vgchgid: Couldn't open physical volume "/dev/rdisk/disk41":
No such device or address


DISK INFO

diskinfo /dev/rdisk/disk41
diskinfo: can't open /dev/rdisk/disk41: No such device or address
21 REPLIES 21
Acclaimed Contributor

Re: Business copy import.

Why you need a business copy of a LUN when you delete the data with pvcreate???

Please tell.


Make sure the array allows write support to that LUN.

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!   
Regular Advisor

Re: Business copy import.

Well as far as i see it I will have to do a vgchgid.

I mkdir /dev/vgxx
then mknodd

then pvcreate /dev/disk/disk41

vgchgid /dev/rdisk/disk41

then vgimport /dev/vgxx /dev/rdisk/disk41.
Acclaimed Contributor

Re: Business copy import.

A "pvcreate" will give you an EMPTY disk, it will delete the data on the disk/LUN.

Do a vgchid followed by an vgimport.

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!   
Regular Advisor

Re: Business copy import.

been assured it has write permission to the lun
Regular Advisor

Re: Business copy import.

ok will start over and do vgchgid first
Honored Contributor

Re: Business copy import.

Hi ,

Are you going to import the disk to the same system?

It says about your rdisk!!!

could you please do
#insf -eC disk
then check if the device file name is there in rdisk folder
check ioscan and see if claimed.

Then just do vgchgid
ensure all the disks in the VG must have a given as arguments to the command.

dont do a pvcreate, you will not able to do a vgimport anymore!!

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Regular Advisor

Re: Business copy import.

Ok this is result of vgchgid

vgchgid /dev/rdisk/disk41
vgchgid: Couldn't open physical volume "/dev/rdisk/disk41":
No such device or address
Acclaimed Contributor

Re: Business copy import.

Did you find the disk in ioscan?

Let's start with

# ioscan -fn

# ioscan -m dsf

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!   
Regular Advisor

Re: Business copy import.

ioscan -m dsf /dev/disk/disk41
Persistent DSF Legacy DSF(s)
========================================
/dev/disk/disk41 /dev/dsk/c11t0d1
/dev/dsk/c9t0d1
(alsmt2):/dev/disk:# vgchgid /dev/rdsk/c11t0d1 /dev/rdsk/c9t0d1
vgchgid: Couldn't open physical volume "/dev/rdsk/c11t0d1":
No such device or address