Operating System - HP-UX
1753753 Members
5093 Online
108799 Solutions
New Discussion юеВ

want to add more disk space to a folder on a Clustered VG??

 
SOLVED
Go to solution
stelecom
Occasional Advisor

want to add more disk space to a folder on a Clustered VG??

Dear All,

We have a 2 node cluster and need to extend disk space to a Folder (oraindex). Folder is available on once of the production servers.

/dev/vg06/lvol1 10444800 9836023 570734 95% /MYAPP/oraindex

Am i correct in my procedure??

Node1:

pvcreate /dev/rdsk/c15t15d1
vgextend /dev/vg06 dev/c15t15d1
lvextend тАУL 20480 /dev/vg06/lvol1
extendfs -F vxfs /dev/vg06/rlvol1
vgexport тАУs тАУp тАУv тАУm /tmp/vg06.map /dev/vg06
scp node1:/tmp/vg06.map node2:/tmp/vg06.map


Node 2:

vgexport vg06
mkdir /dev/vg06
mknod group c 64 0x040001
vgimport тАУp тАУs тАУm /tmp/vg06.map тАУv /dev/vg06
vgchange тАУa r /dev/vg06
vgcfgbackup /dev/vg06
vgchange тАУa тАУn /dev/vg06

Do you see any problem in this procedure. Please help me.

Thanks,
Vu.
4 REPLIES 4
RAC_1
Honored Contributor
Solution

Re: want to add more disk space to a folder on a Clustered VG??

Procedure is OK. If you have OnlineJFS, you can extend FS online.
There is no substitute to HARDWORK
Muthukumar_5
Honored Contributor

Re: want to add more disk space to a folder on a Clustered VG??

I hope you can not extend vxfs by online as,

# lvextend -L 20480 /dev/vg06/lvol1
# extendfs -F vxfs /dev/vg06/rlvol1

change as,

# lvextend -L 20480 /dev/vg06/lvol1
# umount /dev/vg06/lvol1
# extendfs -F vxfs /dev/vg06/rlvol1
# mount /dev/vg06/lvol1/MYAPP/oraindex

hth.


Easy to suggest when don't know about the problem!
Gavin Clarke
Trusted Contributor

Re: want to add more disk space to a folder on a Clustered VG??

If you have Online JFS then you might think about using fsadm rather than extendfs, you have to umount the filesystem with extendfs.

so swlist -l product | grep -i onlinejfs first to check that.

With Online JFS you can do it whilst the system is running.
Gavin Clarke
Trusted Contributor

Re: want to add more disk space to a folder on a Clustered VG??

The reply by Christopher McCray is pretty good on this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=180447

substitute extendfs for

fsadm -b sizeinM*1024 mountpoint

and leave out the mount and umount

(if you have OnlineJFS).