1751852 Members
5163 Online
108782 Solutions
New Discussion юеВ

Re: HDD expanding.

 
SOLVED
Go to solution
fizan
Super Advisor

HDD expanding.

team,

removed a hard-disk from a server and going to insert the same hdd in the new server whether the contents of the hdd will remain in the disk, if so after connecting it to the new-server the existing LV in the new-server will get over-writted.

Thanks.
5 REPLIES 5
R.K. #
Honored Contributor
Solution

Re: HDD expanding.


Hi Fizan,

You have removed a HDD from server A and going to insert it in server B.

>>contents of the hdd will remain in the disk?
Yes, it will be in that disk only.

>>after connecting it to the new-server the existing LV in the new-server will get over-writted
Data is in LVs which in turn are on HDD, so server B will have LV/data untouched, unless you have not removed that LV's disk.

If you are speaking about LVs in the old disk (from server A), then it will be overwritten if you extend any LV with this disk.


Don't fix what ain't broke
Johnson Punniyalingam
Honored Contributor

Re: HDD expanding.

>>removed a hard-disk from a server and going to insert the same hdd in the new server whether the contents of the hdd will remain in the disk, if so after connecting it to the new-server the existing LV in the new-server will get over-writted.<<

Hi Fizan,

Once you connect disk to new server,

Just to "ioscan -fnC disk"

pvcreate -f /dev/rdsk/cxtxtdx --> by doing this all the information will be gone

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Nido
Trusted Contributor

Re: HDD expanding.

Hello,

>>removed a hard-disk from a server and going to insert the same hdd in the new server whether the contents of the hdd will remain in the disk,
--Yes
>> if so after connecting it to the new-server the existing LV in the new-server will get over-writted.
No, but it depends, if you run 'pvcreate -f'

Check man pages for details vgexport/vgimport.


Cheers!!
" Let Villagers Be Happy!! "
Viveki
Trusted Contributor

Re: HDD expanding.

Hi Fizan,

Do you want to use the old disk in the new system with the exixting data? If yes, do not do a pvcreate or newfs with that.

Check the path of the new disk with the help of ioscan and do a vgimport.
fizan
Super Advisor

Re: HDD expanding.

team,

thanks got the dowt cleared ad pvcretae -f or newfs on the old disk..!!