Operating System - Linux
1756857 Members
2955 Online
108853 Solutions
New Discussion юеВ

Re: Redhat Linux 8.0 LVM Issue

 
Vijaya Kumar_3
Respected Contributor

Redhat Linux 8.0 LVM Issue

Hi

We have a RHL Running 8.0 with OS delivered LVM. We are facing problem (system hangs) when we create a Oracle tablespace more than 2 GB size.

But, when we create files of size 400-600 Megs, it just works fine.

Is there any patch needed to be applied? Is there any workaround?

Thanks
Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
7 REPLIES 7
Gabriele FACCHINI
Frequent Advisor

Re: Redhat Linux 8.0 LVM Issue

What kind of file system do you have?
by
Gabriele
Gabriele Facchini
Steven E. Protter
Exalted Contributor

Re: Redhat Linux 8.0 LVM Issue

some filesystems like HP-UX vxfs from Veritas require explicit enabling of largefiles when creating a filesystem.

lvm example:

newfs -F vxfs -o largefiles /rlvolname

If would seem that the filesystem has been set up without largefiles enabled.

Now you have to convert it.

The easieset way with lvm is to back up the data and run the newfs command again.

Then restore and roll with those big data files.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vijaya Kumar_3
Respected Contributor

Re: Redhat Linux 8.0 LVM Issue

Thanks guys for your hint. It is using ext3 file system with default option. I am going to change this to largefiles enabled.

What is the Limit for ext3? any idea?

-Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Gabriele FACCHINI
Frequent Advisor

Re: Redhat Linux 8.0 LVM Issue

2GB can apply to ext3 if you are running something less than 2.2.1x or a few cryptic options have been set for backwards compatability. Current libraries should support over 2GB. There was an overlap period where some ext3 builds would not allow larger than 2GB files. Specifically, 32-bit systems with Large File Support (LFS). Maximum filesystem size can be as much as 16TB, maximum filesize 2TB.

Gabriele Facchini
Vijaya Kumar_3
Respected Contributor

Re: Redhat Linux 8.0 LVM Issue

Thanks a lot.

Someone please give me an idea to check my file system can create a file more thank 2GB. Is there a way to create a 2 gb file using a command in Redhat Linux

Thanks
Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Claudio Cilloni
Honored Contributor

Re: Redhat Linux 8.0 LVM Issue

You can use this command:

# dd if=/dev/zero of=/path/to/filesystem/BIGFILE bs=1M count=4096

this will create a 4GB file.

hth,
Claudio
Vijaya Kumar_3
Respected Contributor

Re: Redhat Linux 8.0 LVM Issue

Thanks a lot for your help.


-Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com