Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] LVM & LFS support
@ 2003-05-10  8:37 Selimaj, Naxhije
  2003-05-10 10:58 ` Jose Luis Domingo Lopez
  0 siblings, 1 reply; 4+ messages in thread
From: Selimaj, Naxhije @ 2003-05-10  8:37 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 264 bytes --]


Hi,

Does LVM support files greater that 2GB?  
I'm running the default LVM (1.0.3) on RH8.  I currently have a 1.2TB
LVM  ext3 filesystem mounted.  If >2GB  file is supported, what changes
need to be made to my existing setup.


Thanks in advance.



[-- Attachment #2: Type: text/html, Size: 792 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] LVM & LFS support
  2003-05-10  8:37 [linux-lvm] LVM & LFS support Selimaj, Naxhije
@ 2003-05-10 10:58 ` Jose Luis Domingo Lopez
  2003-05-13  1:47   ` Jon Bendtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Jose Luis Domingo Lopez @ 2003-05-10 10:58 UTC (permalink / raw)
  To: linux-lvm

On Tuesday, 29 April 2003, at 14:09:44 -0400,
Selimaj, Naxhije wrote:

> Does LVM support files greater that 2GB?  
> I'm running the default LVM (1.0.3) on RH8.  I currently have a 1.2TB
> LVM  ext3 filesystem mounted.  If >2GB  file is supported, what changes
> need to be made to my existing setup.
> 
I think the 2 GB limit on files is a filesystem limitation, not a block
device limitation, and as LVM is a block device level feature, it should
not impose any limits on file sizes.

As far as I know, RH8 is recent enough to fully support large files
(greater than 2 GB), but maybe you are using some sort of application
not ported still to support large files, or an application on your.

I seem to remember that things like "old" cpio didn't support large
files, check if this is the case with "strace", and look for file
open()'s with flags O_LARGEFILE. From open(2):

       O_LARGEFILE
              On  32-bit  systems  that  support the Large Files System, allow
              files whose sizes cannot be represented in 31 bits to be opened.

Hope it helps.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.5.69)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] LVM & LFS support
  2003-05-10 10:58 ` Jose Luis Domingo Lopez
@ 2003-05-13  1:47   ` Jon Bendtsen
  2003-05-13 14:08     ` Jose Luis Domingo Lopez
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Bendtsen @ 2003-05-13  1:47 UTC (permalink / raw)
  To: linux-lvm

Jose Luis Domingo Lopez wrote:
> On Tuesday, 29 April 2003, at 14:09:44 -0400,
> Selimaj, Naxhije wrote:
> 
> 
>>Does LVM support files greater that 2GB?  
>>I'm running the default LVM (1.0.3) on RH8.  I currently have a 1.2TB
>>LVM  ext3 filesystem mounted.  If >2GB  file is supported, what changes
>>need to be made to my existing setup.
>>
> 
> I think the 2 GB limit on files is a filesystem limitation, not a block
> device limitation, and as LVM is a block device level feature, it should
> not impose any limits on file sizes.

Other than not being larger than the blockdevice, and doesnt the
blockdevice has a limit of 2T ?


> As far as I know, RH8 is recent enough to fully support large files
> (greater than 2 GB), but maybe you are using some sort of application
> not ported still to support large files, or an application on your.
> 
> I seem to remember that things like "old" cpio didn't support large
> files, check if this is the case with "strace", and look for file
> open()'s with flags O_LARGEFILE. From open(2):
> 
>        O_LARGEFILE
>               On  32-bit  systems  that  support the Large Files System, allow
>               files whose sizes cannot be represented in 31 bits to be opened.

Maybe thats why i have some trouble with pipes for files larger than 2G



JonB

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] LVM & LFS support
  2003-05-13  1:47   ` Jon Bendtsen
@ 2003-05-13 14:08     ` Jose Luis Domingo Lopez
  0 siblings, 0 replies; 4+ messages in thread
From: Jose Luis Domingo Lopez @ 2003-05-13 14:08 UTC (permalink / raw)
  To: linux-lvm

On Tuesday, 13 May 2003, at 08:47:58 +0200,
Jon Bendtsen wrote:

> Other than not being larger than the blockdevice, and doesnt the
> blockdevice has a limit of 2T ?
> 
Your are right. There has been native support for huge (huge is large than
large :) block devices in 2.5.x for some time, and I think there is also
a backport to 2.4.x (I suppose main Linux distributors have some sort of
support for huge block devices, at least on their latest business-grade
offerings).

Regards.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.5.69)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-13 14:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-10  8:37 [linux-lvm] LVM & LFS support Selimaj, Naxhije
2003-05-10 10:58 ` Jose Luis Domingo Lopez
2003-05-13  1:47   ` Jon Bendtsen
2003-05-13 14:08     ` Jose Luis Domingo Lopez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox