4 TB Filesystem unter SLES 8

Message
Author
claudia

4 TB Filesystem unter SLES 8

#1 Post by claudia »

hallo,

kann mir jemand helfen? Ich habe folgendes Problem ich versuche unter SLES 8 eine 4 TB FILESYSTEM anzulegen leider ohne erfolg <img src="http://www.pl-forum.de/UltraBoard/Images/Sad.gif" border="0" align="middle">
Ich weiss das Linux auf jedenfall bis 4TB unterstützt nur wie mache ich das?

User avatar
max
Posts: 806
Joined: 14. May 2000 12:55
Location: Ruhrpott

Re: 4 TB Filesystem unter SLES 8

#2 Post by max »

hoffe das hilft dir weiter...
<a href="http://www.suse.de/~aj/linux_lfs.html" target="_blank"><!--auto-->http://www.suse.de/~aj/linux_lfs.html</a><!--auto-->
soll bei ext2 bei 8kb 32TB möglich sein...
klingt aber nicht trivial.

Gruss Max

Leander Hanwald

Re: 4 TB Filesystem unter SLES 8

#3 Post by Leander Hanwald »

Wir haben in der Firma ein 4 TB und ein 2 TB ext3 System mit SuSE 8.0 im Einsatz. (beide an einem Server, also 6 TB an diesem).

Bisher Problemlos.

Der SLES8 ist eventuell aktuell genug, bin aber nicht ganz sicher, da ich es hier nie im Einsatz hatte.

Am besten Versuchst du es mit ext3.

claudia

Re: 4 TB Filesystem unter SLES 8

#4 Post by claudia »

wie habt ihr das gemacht?
bei mir ist folgedes Problem
unter /dev/sdb zeigt er 1,4
und wenn ich versuche es über yast zu form. egal welsche dateisystem sagt er bitte brechen sie ab trozdem macht er weiter legt es ein und
wenn man danach schaut dann gibt es /dev/sdb1 die 3,4 tb gross ist ich boote neue und dann leuft gar nichts mehr!
Wie habt ihr das hingekriegt??

User avatar
max
Posts: 806
Joined: 14. May 2000 12:55
Location: Ruhrpott

Re: 4 TB Filesystem unter SLES 8

#5 Post by max »

sdb ist jetzt wie groß, physikalisch? Werden jetzt 1,4 GB angezeigt?
Und sdb1 hat jetzt 3,4GB?
Kannst du das mal ein bissel genauer schildern.
Welche Platten,Partitionen. Raid,LVM?
was sagt "df -h" bei dir?

claudia

Re: 4 TB Filesystem unter SLES 8

#6 Post by claudia »

so
wenn ich mit yast formatieren will sagt yast das sdb 1,4 TB ist das stimt aber nicht da sdb 3,4 tb ist!
und wenn ich trozdem formatiere dann sagt er es wurde ein fehler verursacht! und df -h sagt gar nichts da auch format von sdb nicht geklapt hat!

User avatar
max
Posts: 806
Joined: 14. May 2000 12:55
Location: Ruhrpott

Re: 4 TB Filesystem unter SLES 8

#7 Post by max »

also hat das Partitionieren geklappt?
Ausgabe von "fdsik -l /dev/sdb"?

claudia

Re: 4 TB Filesystem unter SLES 8

#8 Post by claudia »

dhcpli18:~ # fdisk -l /dev/sdb

Disk /dev/sdb: 255 heads, 63 sectors, 189888 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 189876 1525178938+ 83 Linux

ichhabe es aber in fstab auskomentiert weillbeim booten bekomme ich das root dateisystem in readonly modus
und wie du es erkennst sind das nur 1,4 TB
und unter yast wird 3,4 angezeigt beim sdb1 und es muss auch so sein leider ist es aber nicht!

User avatar
max
Posts: 806
Joined: 14. May 2000 12:55
Location: Ruhrpott

Re: 4 TB Filesystem unter SLES 8

#9 Post by max »

ich habe keine Ahnung worauf die Ausgabe von yast beruht, deswegen ignoriere ich sie mal einfach. *g*
wenn du du die Platte? mal händisch partitionierst?
kann vielleicht fdisk damit nicht umgehen?
Kannst du noch eine weitere Partition anlegen? Platz wäre ja da...
Was steckt da eigentlich als Hardware hinter?

(Ist vielleich cfdisk drauf? Nutze das lieber als fdisk..)

claudia

Re: 4 TB Filesystem unter SLES 8

#10 Post by claudia »

wenn ich das per hand mache mit

mkreiserfs /dev/sdb
und dann
mount -t reiserfs /dev/sdb1 /backup

dann bekomme ich folgende Fehler:
# mount -t reiserfs /dev/sdb1 /backup
mount: /dev/sdb1 is not a valid block device

User avatar
max
Posts: 806
Joined: 14. May 2000 12:55
Location: Ruhrpott

Re: 4 TB Filesystem unter SLES 8

#11 Post by max »

naja, solltest du nicht auch die Partition formatieren, statt der ganzen Platte?
Also mkreiserfs /dev/sdb1?
^^

claudia

Re: 4 TB Filesystem unter SLES 8

#12 Post by claudia »

wenn ich das mache bekomme ich das hier:
count_blocks: open failed (No such device or address)

User avatar
max
Posts: 806
Joined: 14. May 2000 12:55
Location: Ruhrpott

Re: 4 TB Filesystem unter SLES 8

#13 Post by max »

?
also mit reiserfs habe ich eh schon lange abgeschlossen...
Ich schließe mich erstmal den Tipp von Leander an: Nimm Ext3.

Klappte denn das Partitionieren mittlerweile?


BTW: deinen Fehler findet man nicht allzu oft in google und auch nicht nach 2001.

Descartes

Re: 4 TB Filesystem unter SLES 8

#14 Post by Descartes »

> kann mir jemand helfen? Ich habe folgendes Problem ich versuche unter
> SLES 8 eine 4 TB FILESYSTEM anzulegen leider ohne erfolg
> Ich weiss das Linux auf jedenfall bis 4TB unterstützt nur wie mache ich das?

Was hast du denn für eine Hardware? Ein 64bit System oder ein 32bit System?
Welchen Linux Kernel verwendest du? 2.4 oder 2.6?

Im Artikel "Wonderful World of Linux 2.6" steht folgender Absatz:
>
> And finally, Linux 2.6 will include improved 64-bit support on block devices
> that support it, even on 32-bit platforms such as i386. This allows for
> filesystems up to 16TB on common hardware.
>
Ich verstehe das dann so, dass bis einschliesslich Linux Kernel 2.4 auf 32bit Plattformen noch die eine oder andere Einschränkung existiert.

Hierzu auch ein Posting aus der LKML vom 11. November:
<blockquote><pre><font size="1" face="">code:</font><hr><font face="Courier New" size="2">
| > On Mon, Nov 10, 2003 at 06:12:06PM -0800, Joseph Shamash wrote:
| >>
| >> What is the maximum partition size for a patched 2.4.x kernel, and
| >> where are those patches?
|
| Mike> I believe it is now 16TB per block device in 2.6, and patched
| Mike> 2.4.
|
| That's right for 32-bit systems with 4k pages. For 64 bit systems the
| limit is over 8 Exabytes.
|
| You should note that software raid has smaller limits, as does the
| LVM. Also the 2.4 patches have seen *much* less testing than the 2.6
| mainline (except possibly on the SGI Altix).
|
| What exactly are you trying to do?

I made the table below for LinuxWorld Expo/Conference in Aug. 2002,
for Linux 2.4.x on 32-bit architectures, so it is a bit out of date,
but it might be helpful or useful.

--
~Randy
MOTD: Always include version info.
Linux 2.4 filesystem limits on 32-bit architectures,
with 4 KB block sizes:
ext2/3fs reiserfs JFS XFS#
max filesize: 4 TB& 16 TB$ 16 TB$% 16 TB$
max filesystem size: 16 TB& 16 TB& 16 TB$ 16 TB$
4 PB& 8 EB&
kernel bldev limit: 2 TB 2 TB 2 TB 2 TB
Notes:
#: all kernel limits
$: kernel limit
%: 4 KB pages
@: block device limit: 2 TB (or 1 TB if signed)
&: fs limit
Another look at ext2/3fs limits:
Assumes using 4 KB block sizes on a 32-bit architecture
(64-bit architecture isn't very limiting).
Largest limiting factor
|
v
Smallest limiting factor
1. 64-bit API limit: 8 EiB
2. kernel page cache index limit (32 bits) == filesystem block number:
2^32 * 4 KB = 16 TiB
3. ext2fs triple-indirect block limit: 4 TiB
4. kernel block device limit (device sector number): 2 TiB
(or 1 TiB if signed)
###
</font><hr></pre></blockquote>

Man beachte, dass unabhängig vom verwendeten Dateisystem eine Kernelseitige Einschränkung besteht, dass das Blockdevice maximal 2TB gross sein kann/darf.
Erst mit einem gepatchten 2.4er Kernel oder dem 2.6er Kernel wurde (für 32bit Systeme) dieses 2GB Limit auf 16TB angehoben.

Descartes

Re: 4 TB Filesystem unter SLES 8

#15 Post by Descartes »

Passend hierzu aus dem aktuellen Kernel Traffic Summary vom 31.12.:

Kernel Traffic #247 For 31 Dec
Status Of Large Filesystem Support
<a href="http://kt.zork.net/kernel-traffic/latest.html#5" target="_blank"><!--auto-->http://kt.zork.net/kernel-traffic/lates ... <!--auto-->

<blockquote><hr>
5. Status Of Large Filesystem Support
20 Dec - 22 Dec (5 posts) Archive Link: "Is there still at 2TB limit?"
People: Dale Amon, Jose Luis Domingo Lopez, Peter Chubb

Dale Amon "ran across old discussions on a patch for the 2TB file system size problem. Is this standard in 2.6.0 kernels? What filesystem size and file size limits are there currently?" Jose Luis Domingo Lopez replied:

<blockquote><hr>
In 2.6.x kernels you are also limited by the 2 TiB limit on block device sizes, limit which you can extend compiling a 2.6.x kernel with "Large Block Device" support (menu "Device Drivers" -> "Block devices", at the end).

You will also need filesystems that support that big sizes and can hold big files on them, have a look at the following URL for more information: <a href="http://www.suse.de/~aj/linux_lfs.html" target="_blank"><!--auto-->http://www.suse.de/~aj/linux_lfs.html</a><!--auto-->
<hr></blockquote>

Dale took a look at that site, and noticed it was a little old; he asked if there were current libraries that would work with LFS; but later replied to himself, "I've got the answer. glibc 2.1.3 has full api; glibc 2.2 has full support; I'm currently using glibc 2.3.2ds1 so if I toggle on that LFS option, it should all just work merrily with many terries of bytes." Peter Chubb also said:

<blockquote><hr>
Yes. Most glibc are distributed compiled with _LARGEFILE64 support.

See also <a href="http://www.gelato.unsw.edu.au/IA64wiki/ ... ockDevices" target="_blank"><!--auto-->http://www.gelato.unsw.edu.au/IA64wiki/ ... <!--auto--> I haven't got around to updating for 2.6.0, but the 2.5 notes still apply.
<hr></blockquote>
<hr></blockquote>

Post Reply