To verify if the lvol (filesystem) is already configured for largefiles:
# fstyp -v /dev/vgXY/lvolX | grep f_flag
---> 16= largefiels
0 = no largefiles
#fstyp -v /dev/vg01/rlvol12
no largefile
if f_featurebits is logically anded with 2 (2,3,6,7... for 010 011 0110 0111...) then large files is enabled.
To convert the largefile option on the fly, run the following command:
fsadm -f vxfs -o largefiles /dev/vgxx/lvolxx
edit /etc/fstab and update nolargefiles to largefiles if it is originally mounted.
Test create 6gigs file:
#prealloc /mnt/san/db/prod/test.file 6000000000
If the largefile option is not enable, the following error will appear:
prealloc: File too large
0 comments:
Post a Comment