Operating System - HP-UX
1825766 Members
2070 Online
109687 Solutions
New Discussion

Re: problem with largefiles option

 
Lukasz_6
Occasional Advisor

problem with largefiles option

Hi,

I have created new FS with largefiles option:

newfs -F vxfs -o largefiles /dev/vg01/rlvol1

now I am trying to mount this fs with largefiles option it doesnt wor.

mount -F vxfs -o delaylog,largefiles /dev/vg01/lvol1 /mount_point

When I am mounting FS I have no errors but when I type mount -p it seems that FS is mounted only with delaylog option:

/dev/vg01/lvol1 /mount_point vxfs delaylog 0 0
15 REPLIES 15
RAC_1
Honored Contributor

Re: problem with largefiles option

What does mkfs -m /dev/vgxx/rlvolx say?
does it show that FS was created with largefiles option?

What does mount -v say??

Did you try creating 2GB file and see??
prealloc 2000000000
There is no substitute to HARDWORK
Robert-Jan Goossens
Honored Contributor

Re: problem with largefiles option

Hi,

Could you post the output of,

# fsadm /mount_point
or
# fsadm /dev/vg01/rvol1

Regards,
Robert-Jan
Adisuria Wangsadinata_1
Honored Contributor

Re: problem with largefiles option

Hi,

The steps are :

Creation of a filesystem with large file option:
/usr/sbin/newfs -F vxfs -o largefiles /dev/[vg]/[rlvol]

Changing an existing filesystem to largefiles:
/usr/sbin/fsadm -F vxfs -o largefiles /dev/[vg]/[rlvol]

Mounting the filesystem:
mount -F vxfs -o largefiles /dev/[vg]/[lvol]/[mountpoint]

Entry into /etc/fstab (e.g.):
/dev/vgxx/lvolx /[mountpoint] vxfs delaylog,largefiles 0 2

Checking up if large file option has been activated:
fsadm -F vxfs/dev/vgxx/rlvolx

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Lukasz_6
Occasional Advisor

Re: problem with largefiles option

output:

#fsadm -F vxfs /dev/vgsmac256/rpoldb
nomultifsets
largefiles

I have tried to unzip file that is larger then 2gb:

# gzip -d CMS_dump071005_04.dmp.gz
gzip: CMS_dump071005_04.dmp: File too large

# mount -p | grep poldb
/dev/vgsmac256/poldb /smac/poldb vxfs delaylog 0 0

there is no way to mount this FS with largefilest option, I have tried many times to unmount and mount this FS
any ideas?
Muthukumar_5
Honored Contributor

Re: problem with largefiles option

Before mounting file system convert file system with large files support fsadm.

See man fsadm for more details.

To get verbose with mount use as,

# mount -v -F vxfs -o delaylog,largefiles /dev/vg01/lvol1 /mount_point

hth.
Easy to suggest when don't know about the problem!
Lukasz_6
Occasional Advisor

Re: problem with largefiles option

mount -v -F ...
============================================
# mount -v -F vxfs -o largefiles,delaylog /dev/vgsmac256/pakdb /smac/pakdb
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory
enka02:/#
===========================================

doesn't work
RAC_1
Honored Contributor

Re: problem with largefiles option

What does following command return???

mkfs -m /dev/vgxx/rlvolx
There is no substitute to HARDWORK
Lukasz_6
Occasional Advisor

Re: problem with largefiles option

#mkfs -F vxfs -m /dev/vgsmac256/rpakdb
mkfs -F vxfs -o ninode=unlimited,bsize=2048,version=3,inosize=256,logsize=1024,largefiles /dev/vgsmac256/rpakdb 8388608
RAC_1
Honored Contributor

Re: problem with largefiles option

It was indeed created with largefiles option. But looks that is not mounted with largefiles option.

Unmount and mount with largefiles option.

mount -F vxfs -o largefiles,delaylog /dev/vgxx/lvolx /mount_point

mount -v

Does it get mounted with largefiles option??
There is no substitute to HARDWORK
Steve Lewis
Honored Contributor

Re: problem with largefiles option

The filesystem is not the problem. You are using a 32 bit version of gzip which cannot seek more than 2Gb.
You can get round this by reading the file contents using re-direction from stdin (< or cat | ) then re-directing the output using >

Then you need to install a 64 bit version of gzip.

Muthukumar_5
Honored Contributor

Re: problem with largefiles option

No need to specify largefiles with -o option using mount command. It will take based on fsadm or mkfs utlities.

Refer:

The mount command uses the same two options as the mkfs, newfs, and fsadm commands (largefiles and nolargefiles). mount will not mount a large-files file system if the -o nolargefiles option is specified. Conversely, the mount command will not mount a no-large-files file system if the -o largefiles option is specified. If no option is provided to mount, it will use the state of the file system itself to determine if it is mounted as largefiles or nolargefiles.

http://docs.hp.com/en/5990-8172/ch06s02.html

Once you are changing with fsadm / mkfs then mount with delaylog option with -o only.

hth.
Easy to suggest when don't know about the problem!
Lukasz_6
Occasional Advisor

Re: problem with largefiles option

All that you are saying is true, but it still doesn't work :)

I am using 64bit zip so it is problem with largefiles option.
Steve Lewis
Honored Contributor

Re: problem with largefiles option

The mount_vxfs command usage (as displayed in your response earler and the man page) appears to show that -v -F are not supported in the same command - so leave out the -v.

mount -F vxfs -o largefiles,delaylog lvol mountpoint

I still think you will have a problem with gzip as well, unless you are sure you installed the 64 bit version.
Muthukumar_5
Honored Contributor

Re: problem with largefiles option

# fsadm -F
# mount -e -F vxfs -o delaylog lvol mountpoint

-e verbose mode

# fsadm -F vxfs Mount-point

What are you getting there?

You can also try with,

sam -> disks and filesystems -> file systems

hth.
Easy to suggest when don't know about the problem!
Stephen Keane
Honored Contributor

Re: problem with largefiles option

Have you tried ...

# gzcat CMS_dump071005_04.dmp.gz > CMS_dump071005_04.dmp