1833989 Members
2196 Online
110063 Solutions
New Discussion

Re: about largefiles

 
SOLVED
Go to solution
Rambo_1
Regular Advisor

about largefiles

Hi ,
After I made a new Lv_data with file system
#lvcreate -L 10000 -n Lv_data /dev/vg00
#newfs -F vxfs -o largefiles /dev/vg00/rLv_data
#mkdir /Lv_data
How to vi the /etc/fstab ?

Thanks
7 REPLIES 7
Marvin Strong
Honored Contributor
Solution

Re: about largefiles

add something similar too:

/dev/vg00/Lv_data /Lv_data vxfs rw,largefiles,delaylog,datainlog 0 2


thats just one example there are other options you can use also. suid, nosuid etc...
Navin Bhat_2
Trusted Contributor

Re: about largefiles

Not sure what you are asking here.

#vi /etc/fstab

#man vi
for how to use vi.
Marco Santerre
Honored Contributor

Re: about largefiles

Like Marvin already mentionned the largefiles option will have to be included in the option portion in your /etc/fstab. Several options are available to you along with largefiles. You can read the man for mount_vxfs for all the different options..


your /etc/fstab will look similar to this :

/dev/vg/lv /mountpoint vxfs largefiles,delaylog 0 2
Cooperation is doing with a smile what you have to do anyhow.
Sundar_7
Honored Contributor

Re: about largefiles

if I am not wrong, mount automatically enables the largefiles based on the largefiles compatibility bit in the FS meta data. So even if you leave the defaults, it should not hurt.
Learn What to do ,How to do and more importantly When to do ?
steven pan
Occasional Advisor

Re: about largefiles

mv /etc/fstab /etc/fstab.orig
mount -p > /etc/fstab
StevenPan
wangmx
Respected Contributor

Re: about largefiles

to Marvin
Can I add something similar below??

/dev/vg00/Lv_data /Lv_data vxfs delaylog 0 2

there are no largefiles,rw,detainlog options.

thank you
Siddhartha M
Frequent Advisor

Re: about largefiles

As a final check you can employ the following command to verify the options
employed while creating your filesystem:

mkfs -m /dev/vgXX/lvolXX

where XX refers to the volume group and lvol id corressponding to your new filesystem.

-Siddhartha