System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Command to convert legacy device file

Prabhi
Advisor

Command to convert legacy device file

How to convert legacy device file to persistent device file in HP-Unix 11.31
10 REPLIES
Asif Sharif
Honored Contributor
Johnson Punniyalingam
Honored Contributor

Re: Command to convert legacy device file

>>How to convert legacy device file to persistent device file in HP-Unix 11.31<<<

You can use "ioscan -m dsf" to convert"

as mentioned on the above post. why ? are you doing any "vgimport & vgexport"
Problems are common to all, but attitude makes the difference
Prabhi
Advisor

Re: Command to convert legacy device file

Can we use the command vgdsf command and change the device file through online
Jupinder Bedi
Respected Contributor

Re: Command to convert legacy device file

use

ioscan -m dsf
All things excellent are as difficult as they are rare
Prabhi
Advisor

Re: Command to convert legacy device file

can we use the below command to convert

vgdsf -c /dev/vgname

Whether this can be done in online
Johnson Punniyalingam
Honored Contributor

Re: Command to convert legacy device file

any particular reason, why you need to convert, if you can give some "light" on your Question, so that it can help better to understand your issue .. :)
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Command to convert legacy device file

Prabhi
Advisor

Re: Command to convert legacy device file

I have added the legacy device file in the volume group which has persistent device file,So i need to convert legacy device file in the VG to persistent

This device files in same VG

Persistent Device file

/dev/disk/disk265
/dev/disk/disk266
/dev/disk/disk267
/dev/disk/disk271
/dev/disk/disk272
/dev/disk/disk283
/dev/disk/disk285
/dev/disk/disk286
/dev/disk/disk287

Legacy Device file
/dev/dsk/c13t4d7
/dev/dsk/c13t5d0
/dev/dsk/c13t5d1
/dev/dsk/c13t5d2
Johnson Punniyalingam
Honored Contributor

Re: Command to convert legacy device file

>>>I have added the legacy device file in the volume group which has persistent device file,So i need to convert legacy device file in the VG to persistent<<<

you added using "vgextend /dev/vgname /dev/disk/disk265" something like that ??

Do you want to import the same "persistent" device files on the same server or fail over server ..?

same server -> you can use "vgdsf -c"
Problems are common to all, but attitude makes the difference
VK2COT
Honored Contributor

Re: Command to convert legacy device file

Hello,

You should be able to do it on-line.

In fact, one of the pre-requisites to
run vgdsf(1M) script is to activate
the volume group beforehand.

Just make sure that all physical volumes
configured in the volume group are on-line:

# ioscan â P health

Cheers,

VK2COT
VK2COT - Dusan Baljevic