Largefile support on SUSE
Hi, I have Suse 7.3 with kernel 2.4.19 compiled by my own, and i want to create a 5GB file. I use the command: dd if=/dev/zero of=largefile bs=1024k count=5120 and this is the answer that i get: dd: writing `largefile': File too large 2049+0 records in 2048+0 records out ls -h 2.0G largefile I try as root and as normal user. How can i create this file under Linux? -- Best regards **************************** Nick Katsamas e-Mail: nkat@forthnet.gr ****************************
* Nick Katsamas <nkat@forthnet.gr> [Oct 17. 2003 11:58]:
I have Suse 7.3 with kernel 2.4.19 compiled by my own, and i want to create a 5GB file.
I use the command:
dd if=/dev/zero of=largefile bs=1024k count=5120
and this is the answer that i get:
dd: writing `largefile': File too large 2049+0 records in 2048+0 records out
ls -h
2.0G largefile
I try as root and as normal user.
How can i create this file under Linux?
According to http://www.suse.de/~aj/linux_lfs.html it should work. What filesystem are you creating the file under? -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J.
Hi, I try to create on ReiserFS v3.5 On Friday 17 October 2003 13:36, Mads Martin Joergensen wrote:
* Nick Katsamas <nkat@forthnet.gr> [Oct 17. 2003 11:58]:
I have Suse 7.3 with kernel 2.4.19 compiled by my own, and i want to create a 5GB file.
I use the command:
dd if=/dev/zero of=largefile bs=1024k count=5120
and this is the answer that i get:
dd: writing `largefile': File too large 2049+0 records in 2048+0 records out
ls -h
2.0G largefile
I try as root and as normal user.
How can i create this file under Linux?
According to http://www.suse.de/~aj/linux_lfs.html it should work. What filesystem are you creating the file under?
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J.
-- Best regards **************************** Nick Katsamas e-Mail: nkat@forthnet.gr ****************************
Thank you all for the answers. I reformat my HD using ReiserFS v3.6 On Friday 17 October 2003 19:19, Kastus wrote:
On Fri, Oct 17, 2003 at 02:10:51PM +0300, Nick Katsamas wrote:
Hi,
I try to create on ReiserFS v3.5
You need v3.6 for LFS
Regards, -Kastus
-- Best regards **************************** Nick Katsamas e-Mail: nkat@forthnet.gr ****************************
Thank you all for the answers.
I reformat my HD using ReiserFS v3.6 I believe if you check the reiser docs, you can either mount it with, or use a reiser tool with the flag -conv which will convert it over to the v3.6 format with no data loss - it can't be read by v3.5 afterwards
On Monday 20 October 2003 08:07, Nick Katsamas wrote: though. Google for it - I seem to recall it being the case, anyway!
Hi, Yes i read about mounting with "conv" flag but somewhere i read that i can not do this to the "/" partition. On Tuesday 21 October 2003 00:19, The Purple Tiger wrote:
On Monday 20 October 2003 08:07, Nick Katsamas wrote:
Thank you all for the answers.
I reformat my HD using ReiserFS v3.6
I believe if you check the reiser docs, you can either mount it with, or use a reiser tool with the flag -conv which will convert it over to the v3.6 format with no data loss - it can't be read by v3.5 afterwards though. Google for it - I seem to recall it being the case, anyway!
-- Best regards **************************** Nick Katsamas e-Mail: nkat@forthnet.gr ****************************
On Tuesday 21 October 2003 08:10, Nick Katsamas wrote:
Hi,
Yes i read about mounting with "conv" flag but somewhere i read that i can not do this to the "/" partition. Hey Nick, Ahh, I see :) Well, just in case you need to convert any others over ;)
I will keep that in mind though - thanks for pointing that out. I will read more when I have a bit more time [work is taking over home time atm, argh!] just in case I should ever need it. Take care, Jon
For Large file systems use XFS from SGI. I have files that are 65 Gig in size. --Tony On Fri, 2003-10-17 at 02:41, Nick Katsamas wrote:
Hi,
I have Suse 7.3 with kernel 2.4.19 compiled by my own, and i want to create a 5GB file.
I use the command:
dd if=/dev/zero of=largefile bs=1024k count=5120
and this is the answer that i get:
dd: writing `largefile': File too large 2049+0 records in 2048+0 records out
ls -h
2.0G largefile
I try as root and as normal user.
How can i create this file under Linux?
-- Best regards **************************** Nick Katsamas e-Mail: nkat@forthnet.gr **************************** --
--Tony Tony Vickers 866-585-1771 Office Chief Technology Officer 619-934-5276 Fax I.D.L. Technology Group, Inc. 619-672-1027 Cell http://www.idltechnology.com "Solutions and Services that Fit." This message was sent using SuSE Linux Openexchange. See how Openexchange can change the way you think about doing business. http://www.idltechnology.com
Changing topics slightly, my company is starting to look at making filesystems larger than 2 TB. In particular, we are looking at using 24 250GB serial ATA drives in a single server which gives us 6 TB of raw disk capacity to play with. We are wondering what 1 and 2 TB limits we need to be aware of. We would be using the box for nearline storage, backups, etc. Does anyone know the max File System sizes for: SuSE 9.0 (2.4 kernel): XFS -- 2 TB (I assume) XFS w/LBD patch -- greater than 2 TB (I assume) XFS w/LBD patch on top of MD -- ?? XFS w/LBD patch on top of LVM -- ?? XFS w/LBD patch on top of DM (w/DM patch) -- ?? NFS exported XFS -- ?? Samba exported XFS -- ?? SuSE 9.0 (2.6 test kernel (includes LBD patch)): XFS -- ?? XFS on top of MD -- ?? XFS on top of DM (assuming DM kernel patches installed) -- ?? NFS exported XFS -- ?? Samba exported XFS -- ?? Thanks Greg -- Greg Freemyer On Fri, 2003-10-17 at 10:20, Tony Vickers wrote:
For Large file systems use XFS from SGI. I have files that are 65 Gig in size.
--Tony
On Fri, 2003-10-17 at 02:41, Nick Katsamas wrote:
Hi,
I have Suse 7.3 with kernel 2.4.19 compiled by my own, and i want to create a 5GB file.
I use the command:
dd if=/dev/zero of=largefile bs=1024k count=5120
and this is the answer that i get:
dd: writing `largefile': File too large 2049+0 records in 2048+0 records out
ls -h
2.0G largefile
I try as root and as normal user.
How can i create this file under Linux?
-- Best regards **************************** Nick Katsamas e-Mail: nkat@forthnet.gr **************************** --
--Tony
Tony Vickers 866-585-1771 Office Chief Technology Officer 619-934-5276 Fax I.D.L. Technology Group, Inc. 619-672-1027 Cell http://www.idltechnology.com
"Solutions and Services that Fit."
This message was sent using SuSE Linux Openexchange. See how Openexchange can change the way you think about doing business. http://www.idltechnology.com
If anyone cares besides me, I found these limits with x86: Vanilla 2.4.20 kernel 2 TB With LBD kernel patch -- Effectively None. ie. Multiple PBs or bigger Vanilla 2.6.0 kernel with LBD_CONFIG off 2 TB With LBD_CONFIG ON -- Effectively None. ie. Multiple PBs or bigger XFS -- Effectively None. ie. Multiple PBs or bigger DM -- 2 TB even in 2.6 (not sure about this) LVM -- 1 PB, but you requires large extents NFS -- No restriction Samba -- No restriction. Also, the actual hardware driver (SCSI, etc.) can limit to 2 TB, or even 1 TB. Greg On Fri, 2003-10-17 at 17:07, Greg Freemyer wrote:
SuSE 9.0 (2.4 kernel): XFS -- 2 TB (I assume) XFS w/LBD patch -- greater than 2 TB (I assume) XFS w/LBD patch on top of MD -- ?? XFS w/LBD patch on top of LVM -- 1 PB XFS w/LBD patch on top of DM (w/DM patch) -- ?? NFS exported XFS -- ?? Samba exported XFS -- ??
SuSE 9.0 (2.6 test kernel (includes LBD patch)): XFS -- ?? XFS on top of MD -- ?? XFS on top of DM (assuming DM kernel patches installed) -- ?? NFS exported XFS -- ?? Samba exported XFS -- ??
Thanks Greg -- Greg Freemyer
On Fri, 2003-10-17 at 10:20, Tony Vickers wrote:
For Large file systems use XFS from SGI. I have files that are 65 Gig in size.
--Tony
On Fri, 2003-10-17 at 02:41, Nick Katsamas wrote:
Hi,
I have Suse 7.3 with kernel 2.4.19 compiled by my own, and i want to create a 5GB file.
I use the command:
dd if=/dev/zero of=largefile bs=1024k count=5120
and this is the answer that i get:
dd: writing `largefile': File too large 2049+0 records in 2048+0 records out
ls -h
2.0G largefile
I try as root and as normal user.
How can i create this file under Linux?
-- Best regards **************************** Nick Katsamas e-Mail: nkat@forthnet.gr **************************** --
--Tony
Tony Vickers 866-585-1771 Office Chief Technology Officer 619-934-5276 Fax I.D.L. Technology Group, Inc. 619-672-1027 Cell http://www.idltechnology.com
"Solutions and Services that Fit."
This message was sent using SuSE Linux Openexchange. See how Openexchange can change the way you think about doing business. http://www.idltechnology.com
participants (6)
-
Greg Freemyer
-
Kastus
-
Mads Martin Joergensen
-
Nick Katsamas
-
The Purple Tiger
-
Tony Vickers