1820390 Members
3854 Online
109623 Solutions
New Discussion юеВ

Add space in HP server

 
Danny S├бnchez
Occasional Advisor

Add space in HP server

Hello

I need to add space in the server because i need to do a local backup of data base but I don`t have free space around 40 GB.

I want to know:
I have a PC with free space is possible mapping the hard disk to HP server such as file system

or How can I do this process for adding more space?
Thanks
12 REPLIES 12
Steven E. Protter
Exalted Contributor

Re: Add space in HP server

Shalom,

Several options.

Most HP-UX servers have room for multiple disks. You can purchase and add a disk to your system and format a file system.

You could use space on another system with an NFS mount or a cifsmount.

Do you have another system with sufficient space? The second option could work more slowly because it works through the network card.

Do you have an available SAN? You could connect to it via HBA Fiber and get disk space that way.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
avizen9
Esteemed Contributor

Re: Add space in HP server

Hello Danny,

First you should check in your server if there any unallocated space,

this server is configured with VG? if yes post vgdisplay command output.

if you want to use another PC's space nfs is good option.


Dennis Handly
Acclaimed Contributor

Re: Add space in HP server

>I have a PC with free space is possible mapping the hard disk to HP server such as file system

You would have to use samba to share the PC's space with HP-UX. I'm not sure if would be fast enough but you might not care.
Danny S├бnchez
Occasional Advisor

Re: Add space in HP server

Hello guys, thanks for your answers

I found the free space in other server(server N├В┬║5), I created the logical volumen in these server then this new volumen was mapped to server N├В┬║2
So, I started the backup db2 backup db bd_name to /backup I got this message:

SQL2059W A device full warning was encountered on device "/backup".
Do you want to continue(c), terminate this device only(d), abort the utility(t) ? (c/d/t)

However the size of logical volumen is around 91 Gb and the file to backup is the 40 Gb.


I don't know What's the reason this message?
Any suggestion?

Regards

Danny
Tingli
Esteemed Contributor

Re: Add space in HP server

What do you mean by mapping the file system? Is it by nfs mounting or something else?
Danny S├бnchez
Occasional Advisor

Re: Add space in HP server

Hello

Sory I don`t have this imformation this task did the network team I only creted the logical volumen.

Already, I can to watch this volumen such as local file system in the server. this info of volumen.

name source server: solmain.cantec.com
# df -k /backup
/backup (/dev/vg00/backup ) : 96094767 total allocated Kb
96053176 free allocated Kb
41591 used allocated Kb
0 % allocation used


SO, in the another server (target server)this is infornation:
# df -k /backup
/backup (solmain.cantec.com:/backup) : 96094768 total allocated Kb
96053176 free allocated Kb
41592 used allocated Kb
0 % allocation used

I hope this information answers your question or

What's the commands to see the information about nft?


Thanks
Tingli
Esteemed Contributor

Re: Add space in HP server

You can use bdf command to see all your file systems. If it is nfs, then will have something like with solmain.cantec.com:/backup, which means this one is mounted from solmain.cantec.com. You might also check your /etc/fstab file, which will have the entry for this file system.
Danny S├бnchez
Occasional Advisor

Re: Add space in HP server

yes tingi

is all correct this file un mount in the solamen.catec.com, but I don't know why do this appacer this message when I did the backup

SQL2059W A device full warning was encountered on device "/backup".
Do you want to continue(c), terminate this device only(d), abort the utility(t) ? (c/d/t)


I checked the /backup and there are this files

# ls -l
total 16777024
-rw-r----- 1 db2ixp dbixpadm 2147450880 Aug 27 08:30 IXP.0.db2ixp.NODE0000.CATN0000.20090827092807.001
-rw-r----- 1 db2ixp dbixpadm 2147450880 Aug 27 08:43 IXP.0.db2ixp.NODE0000.CATN0000.20090827092807.002
-rw-r----- 1 db2ixp dbixpadm 2147450880 Aug 27 08:45 IXP.0.db2ixp.NODE0000.CATN0000.20090827092807.003
-rw-r----- 1 db2ixp dbixpadm 2147450880 Aug 27 08:46 IXP.0.db2ixp.NODE0000.CATN0000.20090827092807.004
#
and these files have only 2 gb
Tingli
Esteemed Contributor

Re: Add space in HP server

Is there an limitation for nfs mount for 2g?
Danny S├бnchez
Occasional Advisor

Re: Add space in HP server

Hello

I don't know if exisist any limitation this question I need to answer

this es the result of this command

# fsadm -F vxfs /dev/vg00/backup
vxfs fsadm: /dev/vg00/backup is not the root inode of a vxfs file system
# ulimit -aH
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) 4096
# fstyp -v /dev/vg00/backup |grep -i f_flag
f_flag: 0
#
if f_flag: 0 then max 2 GB
if f_flag: 16 then max 8 GB
Tingli
Esteemed Contributor

Re: Add space in HP server

I think there are two places can have the file size limited to 2g. One is if the /etc/fstab file of the nfs server, it should be mounted as largefile. Another is that in some old version of nfs, due to a bug or something like that, it won't have a file transfer when its size is larger than 2g. (this can be wrong)
Danny S├бnchez
Occasional Advisor

Re: Add space in HP server

Thanks I found this information in the /etc/fstab


/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/db2 /db2 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg00/trans /usr/sap/trans vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg00/sapmnt /sapmnt/ISM vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/sapcd /db2/sapcd vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/sapmtemp1 /db2/ISM/saptemp1 vxfs rw,suid,nolargefiles,delaylog,datainl
og 0 2
/dev/vg00/log_dir /db2/ISM/log_dir vxfs rw,suid,nolargefiles,delaylog,datainlog
0 2
/dev/vg00/db2dump /db2/ISM/db2dump vxfs rw,suid,nolargefiles,delaylog,datainlog
0 2
/dev/vg00/usrsap /usr/sap/ISM vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/db2ism /db2/ISM vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/db2user /db2/db2ism vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/backup /backup vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2

the fike system has the "nolargefiles"
How do I change this for "largefiles", any command? or is Posible CAn I change this parameter with the vi editor??