1833019 Members
2448 Online
110049 Solutions
New Discussion

large files

 
M.sureshkumar
Regular Advisor

large files

how to create large files in hp-ux 10.20
5 REPLIES 5
Graham Cameron_1
Honored Contributor

Re: large files

You can do it from SAM, or manually, us
ing fsadm:

/usr/sbin/fsadm -o largefiles /dev/vgxx/lvolyy

see "man fsadm"

-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
RAC_1
Honored Contributor

Re: large files

Use fsadm

fsadm -o largefiles /device_name

mount -p to confirm it.
There is no substitute to HARDWORK
Elmar P. Kolkman
Honored Contributor

Re: large files

Taking your request litarily, it would be something like:
dd if=/dev/zero of= bs=1024 count=

If you mean you want to allow large files on a filesystem, it depends on the filesystem type. HFS filesystems need it to be specified when mounting the filesystem, while vxfs needs it to be set using fsadm. Depending on whether you have onlineJFS the last can while the filesystem is mounted or not.
Every problem has at least one solution. Only some solutions are harder to find.
john korterman
Honored Contributor

Re: large files

Hi,
if you just want to test if it possible to create a big file, e.g. >2GB in a filesystem, try this:
# prealloc mybigfile 2200000000

which creates a file of the speciified byte size.

regards,
John K.
it would be nice if you always got a second chance
Joshua Scott
Honored Contributor

Re: large files