Operating System - HP-UX
1833998 Members
1820 Online
110063 Solutions
New Discussion

Re: enable large file system

 
SOLVED
Go to solution
Rashid Hamid
Regular Advisor

enable large file system

I'm about to convert a vxfs file system from nolargefile into largefile using fsadm command.
Currently, there are PROGRESS database running inside the file system. Any problem with PROGRESS database if I convert it coz I'm worry about it...

Thanks

I'm Parit Madirono/Parit Betak Boyz
8 REPLIES 8
Ravi_8
Honored Contributor
Solution

Re: enable large file system


Hi

data will corrupt(lost)if you convert to large file system.

backup the data existing on the lvol before converting in to large file system
never give up
Pete Randall
Outstanding Contributor

Re: enable large file system

I've never heard of any corruption resulting from conversion to a largefile file system, however, it's always best to be cautious. Make sure you have a good back up - then convert and check your database - it should be OK.


Pete

Pete
Robert-Jan Goossens
Honored Contributor

Re: enable large file system

No, you do not have do to be afraid of corruption.

If have onlineJFS you even don't have to umount your filesystem.

Regards,
Robert-Jan
Tom Danzig
Honored Contributor

Re: enable large file system

I've converted plenty of times w/o issue. No corruption will occurr. It's just a two bit flag that either allows or disallows the creation of largefiles in the file system.

# fstyp -v /dev/vg01/rlvol5
vxfs
version: 3
f_bsize: 8192
f_frsize: 4096
f_blocks: 5120000
f_bfree: 4264708
f_bavail: 4198072
f_files: 1066464
f_ffree: 1066176
f_favail: 1066176
f_fsid: 1074135047
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16 <-- 0 if no largefiles
f_fsindex: 6
f_size: 5120000
Dave Hutton
Honored Contributor

Re: enable large file system

I agree no need to worry about corruption.

Actually I don't think you need OnlineJFS to do it on the fly. I could of sworn I tested it without and worked fine.


Tom Danzig
Honored Contributor

Re: enable large file system

Just a note of caution: while there is no issue converting TO largefiles, the same is NOT true if converting FROM largefiles to nolargefiles. In that case, any largefiles already on the file system will not be available.
Florian Heigl (new acc)
Honored Contributor

Re: enable large file system

We've also done it dozens and maybe hundreds of times with OnlineJFS w/o problems, mostly with Oracle database filesystems.
yesterday I stood at the edge. Today I'm one step ahead.
Bill Hassell
Honored Contributor

Re: enable large file system

The largefile flag is a very simple operation inside the directory and will not affect any data files in the directory UNLESS the directory is already corrupted. Just to be sure, run fsck prior to conversion. You can also test the conversion on a temporary filesystem...create a small lvol, add a filesystem with newfs -o nolargefiles, then mount it, copy a few files to it and then run fsadm to convert it to largefiles.


Bill Hassell, sysadmin