PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : altes ext2 dateisystem



daemonb
19.06.02, 12:32
Hi,

ich habe einen wichtigen Server mit einem Redhat 6, und einem ext2 Dateisystem, welches keine files über 2GB kann. Welche möglichkeiten habe ich?? Downtime darf annähernd null sein. Kann ich das alte ext2 einfach auf eine neue version updaten?? Ich habe auf meinem Arbeitsplatzrechner ein ext2 System was 8Gig hat. Würde nur ungern den Kernel neu kompilieren müssen. Hoffe mir kann da jemand weiterhelfen.


MFG

DaemonB

Tarzipan
19.06.02, 12:44
meinst du ext2 oder ext1?
oder dass die partition größer werden soll?
mit einem vernachlässigbahrem risiko könntest du das mit "partition magic" hinbekommen. wichtig ist, dass keine fehler auf dem laufwerk sind, dann funzt es.

SeeksTheMoon
19.06.02, 12:51
hm, zumindest am KernelModul kompilieren kommst Du nicht vorbei, aber dann kannste auch gleich den aktuellsten Kernel benutzen und bei dieser Gelegenheit auf ext3 umsteigen.

daemonb
19.06.02, 13:13
ich meinte ext2, dass sollte das dateisystem von redshit 6.0 sein. Nein ich möchte nicht die Partitionen vergrößern sondern, ich will eine Datei von 8GB speichern können.

schlecht, wenn ich da ein kernelmodul brauche :-)

Tarzipan
19.06.02, 13:18
aber irgendwoher musst du doch die 8 gb haben? also musst du doch partitionieren? und bei dem kernel, den 6.0 verwendet, kann man also keine ext2 part. erstellen, die größer als 8gb sind? normal müsste ext2 das können. ich gehe ja mal davon aus, dass dein bios so große pladden unterstützt.

daemonb
19.06.02, 13:23
meine pladde ist relativ groß den genauen wert weiss ich gerade nicht, es ist auch voll partitioniert, jedoch nimmt er nur keine großen dateien an, wenn ich die große Datei in tausende kleine dateien zerteilen würde( was nicht geht da es ein Dump von einer Datenbank ist) würde es funktionieren.

MFG

DaemonB

Tarzipan
19.06.02, 13:54
Ext2 FS

Max FS size
4 TB


Max file size
2 GB

Max file name
255 c


3 times support
Yes
Yes

Extensible
Yes

Var. block size
Yes

Maintained
Yes
-----------------------------------------------------------
XFS:
Q: Does XFS support large files (bigger then 2GB)?

Yes, XFS supports files larger then 2GB. The large file support (LFS) is largely dependent on the C library of your computer. Glibc 2.2 and higher has full LFS support. If your C lib does not support it you will get errors that the valued is too large for the defined data type.
Userland software needs to be compiled against the LFS compliant C lib in order to work. You will be able to create 2GB+ files on non LFS systems but the tools will not be able to stat them.
Distributions based on Glibc 2.2.x and higher will function normally. Note that some userspace programs like tcsh do not correctly behave even if they are compiled against glibc 2.2.x
You may need to contact your vendor/developer if this is the case.

Here is a snippet of email conversation with Steve Lord on the topic of the maximum filesize of XFS under linux.

I would challenge any filesystem running on Linux on an ia32, and using
the page cache to get past the practical limit of 16 Tbytes using buffered
I/O. At this point you run out of space to address pages in the cache since
the core kernel code uses a 32 bit number as the index number of a page in the
cache.

As for XFS itself, this is a constant definition from the code:

#define XFS_MAX_FILE_OFFSET ((long long)((1ULL<<63)-1ULL))

So 2^63 bytes is theoretically possible.

All of this is ignoring the current limitation of 2 Tbytes of address
space for block devices (including logical volumes). The only way to
get a file bigger than this of course is to have large holes in it.
And to get past 16 Tbytes you have to used direct I/O.

----------------------------------------------------------------------
JFS:
File size
The maximum file size is the largest file size that virtual file system framework supports. For example, if the frame work only supports 32-bits, then this limits the file size.
----------------------------------------------------------------------
ReiserFS:
keine ahnung. aber vielleicht wissen andere mehr...

Linrade
19.06.02, 16:00
Original geschrieben von Tarzipan

ReiserFS:
keine ahnung. aber vielleicht wissen andere mehr...
Hi,

schau mal hier:

http://www.suse.de/~aj/linux_lfs.html