Operating System - HP-UX
1753795 Members
6885 Online
108799 Solutions
New Discussion юеВ

cannot create file > 2GB with make_sys_image

 
Sergej_5
Regular Advisor

cannot create file > 2GB with make_sys_image

Hello Guru's!
I've got problem with make_sys_image from ignite-ux!

i 've copied make_sys_image from Ignite-UX server B.5.4.50 to HP-UX 11.11 and start to make golden image:
----------------------------------------------
# ./make_sys_image -s hostname

I get the following output:
* Preparing to create a system archive
* Testing pax for needed patch
* Passed pax tests.

WARNING: CLEAN_LEVEL set to 2: (see -l option for make_sys_image(1m))
While this command is running at clean level 2, the system
should be as quiet as possible. The host and/or networking
information on the system are temporarily set to newconfig
values. After the command is complete these files are put
back as they were.

Creating keepsafe archive with file /stand/system
Creating your system file in the file /var/tmp/make_sys_image.hwsys.a01726
Appending file /.profile to keepsafe archive
.Appending file /etc/rc.config.d/hpetherconf to keepsafe archive
.Appending file /etc/rc.config.d/hpfcmsconf to keepsafe archive
.Appending file /etc/rc.config.d/netconf to keepsafe archive
.Appending file /etc/rc.config.d/netdaemons to keepsafe archive
.Appending file /etc/rc.config.d/namesvrs to keepsafe archive
.Appending file /etc/rc.config.d/mailservs to keepsafe archive
.Appending file /etc/rc.config.d/xfs to keepsafe archive
.Appending file /etc/hosts to keepsafe archive
.Appending file /etc/group to keepsafe archive
.Appending file /etc/mail/sendmail.cw to keepsafe archive
.Appending file /etc/netgroup to keepsafe archive
.Appending file /etc/ntp.conf to keepsafe archive
.Appending file /etc/vue/config/Xsession.d/0070.recs to keepsafe archive
.Appending file /var/adm/sw/security/_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_OWNER to keepsafe archive
.Appending file /var/adm/sw/security/_PROD_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_SOC_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/secrets to keepsafe archive
.Appending file /var/adm/sw/security/secrets.pag to keepsafe archive
Appending file /var/adm/sw/security/secrets.dir to keepsafe archive

* Archiving contents of tarzan via tar to
tarzan:/var/tmp/tarzan.gz.
pax: var/stm/data/tools/monitor/MON_RESTART_IN_PROGRESS : No such file or directory
Error 0
cat: Cannot write to output.
* Creation of system archive complete
* Cleanup: Do Not interrupt, restoring files, kernel, and transition links.
----------------------------------------------

I 've installed pax patch PHCO_30420
and check out ulimit -a:

# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 60

/etc/fstab looks like:
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1

How can i make FS with largefile support?
I don't have JFS installed...

How can i make filesystem with largefile support during installation of OS?

What have i missing?
How can i rid of error:

Error 0
cat: Cannot write to output.

Kind regards,
Sergej

8 REPLIES 8
Robert-Jan Goossens
Honored Contributor

Re: cannot create file > 2GB with make_sys_image

Hi Sergej,

with online jfs

# fsadm -o largefiles /app/oracle/dbappl

without online jfs
# umount /filesystem
# fsadm -o largefiles /dev/vg01/rlvol4
# mount /filesystem

Best regards,
Robert-Jan
Sergej_5
Regular Advisor

Re: cannot create file > 2GB with make_sys_image

When i try to umount /
i get:

umount: cannot unmount / : Device busy

Is that mean that i have to go in rescue mode or single mode ...
How can i do that?

Regrads,
Sergej
Marcel Boogert_1
Trusted Contributor

Re: cannot create file > 2GB with make_sys_image

Sergej,

Do you have OnlineJFS installed? If so the fsadm command mentioned above should work. Else you should go to single-user mode and try again.

Regards, MB.
Sergej_5
Regular Advisor

Re: cannot create file > 2GB with make_sys_image

I do not have installed OnlineJFS

Where can i obtan OnlineJFS for HP-UX 11.11 ?

Kind regards,
Sergej
Robert-Jan Goossens
Honored Contributor

Re: cannot create file > 2GB with make_sys_image

You will have to purchase a license

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B3929CA

/var is impossible to umount in multi user mode. you will have to go to single user mode.

Best regards,
Robert-Jan
Hoang Chi Cong_1
Honored Contributor

Re: cannot create file > 2GB with make_sys_image

Hi man.
You can not create file with size > 2 GB unless you have OnlineJFS.
You can go to this site to download OnlineJFS for *FREE*.
http://software.hp.com/portal/swdepot/searchProducts.do

It nearly in the bottom of the page.

To extend a LVM with OnlineJFS, first you have to kill all of process that running in that mount point filesystem.
Using fuser -cu /mount point to verify and fuser -kcu /mount point to kill them.
Then:
1. lvextend -L /dev/vgxx/lvX
2. fsadm -F vxfs -b /mount point

Note: you have to specify the size in both command and both of them must be the same!

Hope this helps

Goodluck to you

Jimkery
Looking for a special chance.......
Sergej_5
Regular Advisor

Re: cannot create file > 2GB with make_sys_image

Hi!

I didn't notice OnlineJFS for *FREE* :)

Just saw a price *$1965.0
???

regards,
Sergej
Hoang Chi Cong_1
Honored Contributor

Re: cannot create file > 2GB with make_sys_image

No! I did not mean : OnlineJFS.
Find with this :

jfs 3.5 for hp-ux 11.11

You can click here to get more information.

Here is link to that site:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=BASEVXFS
Goodluck to you.

Jimkery
Looking for a special chance.......