1833779 Members
2470 Online
110063 Solutions
New Discussion

disk info migration

 
???_185
Regular Advisor

disk info migration

rx7620 has ds2100 four disk.
but, by mistake, It need to be changed 1000rpm disk to 15000 rpm disk.
10000rpm one disk has vg01 info.If insert 15,000 rpm disk, how can I keep the volume group infomation without deleting. 10000 rpm disk path is /dev/dsk/c2t5d0.
is it has to be made same volume group name and logical volume name?
3 REPLIES 3
Sivakumar TS
Honored Contributor

Re: disk info migration

Hi zungwon,

you can run

#vgcfgrestore

command after replaccing disk. The volume group info will be restored to the disk.

please refer vgcfgrestore man page for detailed syntax.

With Regards,

Siva.
Nothing is Impossible !
Shathishkannan
Occasional Advisor

Re: disk info migration


Hi Zungwon,

First run the vgcfgbackup, then take the data backup, then add the new disks and run vgcfgrestore. you will get the same LVM configuration. For safe you can also take the backup of lvmconf file

Thanks
Shathish
Devender Khatana
Honored Contributor

Re: disk info migration

Hi,

There are many ways of achiving this. A simple way in my opinion would be to extend your VG to new disk and then remove the old disk after moving LE's to new disk using pvmove command.

But the requirement for this you should have option to add another disk without removing the OLD one and the benefit is that you will not require to restore backup and can be even done online with slight copromize of performance.

#pvcreate /dev/rdsk/cxtydz
#vgextend /dev/vg00 /dev/dsk/cxtydz

(Where /dev/dsk/cxtydz and /dev/rdsk/cxtydz is the device file of new disk at newer location)

As DS2100 can accomodate only 4 disks I would even consider removing one of the disks from other VG if possible to achive this.

HTH,
Devender
Impossible itself mentions "I m possible"