Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A creating FS and Mounting problem... 1

Status
Not open for further replies.

ratbs75

IS-IT--Management
Mar 8, 2001
147
BE
Hi,

Here is my problem: (i work on a Cluster, a D280 and a K260 HP-server, under UNIX 10.20)

--> on the K260
# mount -v
...
/dev/vg00/lvol1 on /usr type vxfs delaylog...
/dev/vg01/lvol1 on /data2 type vxfs delaylog...
/dev/vgolddata/lvol2 on /data1 type vxfs...
/dev/vgdata/lvglobus on /data type vxfs...
...

--> on the D280
#mount -v
/dev/vg00/lvol3 on / type vxfs...
/dev/vg00/lvol1 on /stand type hfs...
/dev/vg00/lvol8 on /var type vxfs delaylog...
/dev/vg00/lvol9 on /uv type vxfs delaylog...
/dev/vg00/lvol7 on /usr type vxfs delaylog...
/dev/vg00/lvol4 on /tmp type vxfs ...
/dev/vg00/lvol6 on /opt type vxfs ...
/dev/vg00/lvol5 on /home type vxfs...
/dev/vg00/lvol10 on /data2 type vxfs...

Now what I wanted to do is following:

I want to remove the "/data2" from the K260, and re-create it on the D280...(including the already existing "/data2" on the D280) does this operation needs a server-off? Or am I able to do it without, and how do I proceed?

Please help, I get a bit lost at the end with all that stuff... :)
--> I already backed up all data on both /data2 subfolders, I know I'd loose every data on it... :)

Do u need more info about?????

Thnx in advance,

BS
 
do you just want to migrate the data that is on the K260 /data2 filesystem to the /data2 filesystem on the D280 ? If so just ftp the data from the K260 to the D280, and then rsmove the /data2 filesystem from the K260.

crowe
 
Hi...;

No, what I want to do is that the /data2 on the K260 machine disappears and appears on the D280... The /data2 are physicaly (cluster!) 2 HDD, but I don't need that space any more in the K260, but in the D280....

That explanation better?

Thanks in advance...
 
Rat,
You can do that in three step.
First remove data2 from k260 and add in to d280 with different name say new_data.
Second move new_data's data into /data2 if you have enough space.
Third free new_data and extend /data2.



Or simple leave new_data there.

on k260
1. vgexport -m mapfile.
2. move this map file to d280

on d280 hoot this new disk
1. ioscan -fn
2. vgimport vg?? pv_path
3. vgchange -a y vg??
Note if you do not have vg?? in /dev/ you have to create it
mkdir /dev/vg??
cd /dev/vg??
mknod group c 64 0x??0000
chmod 644 group
4. mkdir /new_data
5 mount /dev/vg??/lvol? /new_data

Patel


 
Thnx alot... it was nearly that....on the K I first UMOUNT, then lvremove, vgreduce, vgremove. And on the D then i did: mknod, vgcreate, lvcreate... thnx, nice hlp... :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top