Operating System - HP-UX
1753914 Members
9104 Online
108810 Solutions
New Discussion юеВ

Re: Unable to create Large File System

 
SOLVED
Go to solution
John Palmer
Honored Contributor
Solution

Re: Unable to create Large File System

What do you get if you do:-

fsadm -F vxfs -o largefiles /dev/vg02/rlvol1

note the 'rlvol1' not 'lvol1'
Andreas Voss
Honored Contributor

Re: Unable to create Large File System

Hi,

here an extrat of a document:

Verify with the fsadm() command using the mountpoint:
fsadm -F vxfs /(mountpoint)

largefiles

If this returns with errno 25, then Advanced JFS is not installed. The unmounted device file must be used.

swlist -l fileset|grep -i journal

Check for:

JournalFS <---------- base JFS
AdvJournalFS <---------- Advanced JFS


Verify with the fsadm() command using the umounted raw device:
fsadm -F vxfs /dev/vg#/rlvol#

largefiles


Verify with a dd() command. This verifies that the file system is capable of creating a largefile. If it is not then an IO error will result.
dd if=/stand/vmunix of=/(mountpoint)/sparse bs=1024k seek=3000

This creates a 3 GB sparse file.



Make sure the current JFS patches are loaded on the system.

PHCO_14628 :LVM:commands:cumulative:
PHCO_14511 :libc:strcol:malloc:free:memccpy:PHCO_12923 :fsck_vxfs:VxFS:JFS:
PHCO_12140 :cleanup:patch backup:depot:ipd:
PHKL_10459 :SystemV semaphores:semop(2):cumulative:
PHKL_10461 :pfdat:page unlocking:PHKL_13951 :Power:Fail:I/O:SCSI:stape:
PHKL_13044 :SCSI:pass-thru:spt:spt0:NIKE:SAM:hang:
PHKL_12340 :VxFS:JFS:fsck(1M):cumulative:
PHKL_14686 :VM:LVM:I/O:JFS:mprotect:SCSI:PM:cumulative:
PHKL_13573 :VxFS:JFS:corruption:hang:cumulative:
PHKL_14280 :hpux(1M):loader:large:kernels:
PHNE_13800 :mux:pty:mux2:zmuxdiag:J2096A:VTIME:
PHNE_14498 :HP-PB:FDDI:cumulative:PHNE_6190 :DDFA:ocd:
PHCO_13251 :SAM:cumulative:PHNE_7671 :ARPA:telnet:
PHKL_8780 :GSC:HSC:MP:autochanger:semaphore:PHNE_13416 :100BT:HP-PB:T600:
PHCO_12435 :fsck_hfs(1M):cumulative:PHCO_10578 :extendfs_hfs:fragments:40GB:
PHNE_14271 :XPORT:ARPA:Transport:

Also put another doc at attachment.

Regards

James R. Ferguson
Acclaimed Contributor

Re: Unable to create Large File System

Praveen:

From document #A5005662: The error occurs because you are trying to perform the fsadm
command on a mounted filesystem, but you do not have the On-line JFS product. If you do not have OnlineJFS, you can enable the
largefiles feature by first unmounting the filesystem and then running fsadm on the device name rather than the mount point:

# umount /vxfs
# fsadm -F vxfs -o largefiles /dev/vg01/rlvol1

Some very good step-by-step information for enabling largefiles can be found in document #KBAN00000105. One item it notes is to insure that 'ulimit' is unlimited.

...JRF...

Praveen Bezawada
Respected Contributor

Re: Unable to create Large File System

HI

I have AdvJournalFS installed on the machine. now i have succeed in enabling large file systems using
fsadm -F vxfs -o largefiles /dev/vg02/rlvol1

(using the raw device file ) Note here i have not unmounted the file system but still i could do it when i use raw device file but when i try to use the name of the mounted directory it gives the error 25...
Praveen Bezawada
Respected Contributor

Re: Unable to create Large File System

Hi

I cannot enable large files without umounting as i said by mistake in my last reply....

Regards
Praveen Bezawada
Respected Contributor

Re: Unable to create Large File System

Hi

Though my problem as such as been solved, I have one more question.

when I do
swlist -l product | grep -i journal

AdvJournalFS the advanced VXFS file system
JournalFS the base VXFS filesystem

are shown. But still when i try to enable large files on a mounted file system i get error 25 , implying i have not installed Advanced OnlineJFS
But could be problem......

Regards
Stefan Farrelly
Honored Contributor

Re: Unable to create Large File System


On a system with OnlineJFS installed my swlist -l product | grep -i journal gives the same results as you.

However, do a swlist -l bundle | grep -i jfs and this will confirm OnlineJFS is installed if it returns;

B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)
Im from Palmerston North, New Zealand, but somehow ended up in London...
Stefan Farrelly
Honored Contributor

Re: Unable to create Large File System

On a system with OnlineJFS installed my swlist -l product | grep -i journal gives the same results as you.

However, do a swlist -l bundle | grep -i jfs and this will confirm OnlineJFS is installed if it returns;

B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)

I think there are still conditions where you cant set largefiles on a mounted filesystem, ive had this problem myself. If the filesystem is too full or heavily in use it wont take it, Ive had to unmount it myself to set it.
Im from Palmerston North, New Zealand, but somehow ended up in London...
John Palmer
Honored Contributor

Re: Unable to create Large File System

One other possibility concerns how you may have applied patches.

Have a look at the attached document which explains how to apply patches if you have Advanced JFS installed.