Operating System - HP-UX
1748150 Members
3457 Online
108758 Solutions
New Discussion юеВ

Re: File System Extension using online JFS in MC Service guard enviornment

 
SOLVED
Go to solution

File System Extension using online JFS in MC Service guard enviornment

Dear All
I have 50 gb space available in SAN, i have created a new virtual Disk using raid 5 and presented it to both servers db and ap. Now i want to increase my one mount point /dev/vgarch/lvarch with this 50 gb. please help me with all steps to increase this.
8 REPLIES 8
RolandH
Honored Contributor
Solution

Re: File System Extension using online JFS in MC Service guard enviornment

1. Find the Disks on server
ioscan
2. Create device Files for the new disk
insf -e
3. Identify the new disk and add it to the VG.
pvcreate /dev/rdsk/cXtXdX
vgextend vgchar /dev/dsk/cXtXdX
4. lvextend -L /dev/vgchar/lvchar
5. Extend the LV
fsadm -L vxfs -b

That's it
Sometimes you lose and sometimes the others win
RolandH
Honored Contributor

Re: File System Extension using online JFS in MC Service guard enviornment

Sorry, I forget completly the steps you have to do in the MC/SG Environment.

The steps before you have to do on the Node where the package is running.

After extending disk.
6. Export the VG
vgexport -p -s -v -m vgchar.map vgchar
7. Copy the File vgchar.map to all other Nodes where this VG should run.
8. Export the VG on the other Nodes. Notice the Hex Number from group File before.
# ll /dev/vgchar/group
crw-r----- 1 root sys 64 0x0a0000 Jun 19 12:35 /dev/vgchar/group
#vgexport vgchar
9. Import the new VG with the new disk.
# mkdir /dev/vgchar
# mknod /dev/vgchar/group c 64 0x0a0000
# vgimport -s -v -m /tmp/vgchar.map vgchar

That's it
Sometimes you lose and sometimes the others win
Geoff Wild
Honored Contributor

Re: File System Extension using online JFS in MC Service guard enviornment

If you are not creating a new lvol - then you do NOT need to vgexport/vgimport.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Ralph Grothe
Honored Contributor

Re: File System Extension using online JFS in MC Service guard enviornment

Sure, but it looks as if he created new LUNs that he wishes to vgextend his vgarch by.
So in this case he will need the vg(export|import) sermon.
Madness, thy name is system administration
Geoff Wild
Honored Contributor

Re: File System Extension using online JFS in MC Service guard enviornment

Oops - missed that part - yes, if you are adding a new disk to a vg - then yes you do have to vgexport/vgimport - else the other node won't have the same vg definitions.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.

Re: File System Extension using online JFS in MC Service guard enviornment


please help that how can i measure the size in megabytes in this command
fsadm ├в F vxfs ├в b m /mountpoint
Murat SULUHAN
Honored Contributor

Re: File System Extension using online JFS in MC Service guard enviornment

Hi Muhammad

50*1024=51200

fsadm -F vxfs -b 51200M (as "new size") /


Best Regards
Murat

Don't forget the points
Murat Suluhan

Re: File System Extension using online JFS in MC Service guard enviornment

Thank dears
you realy help me lot in solving my problem