Re: linking devices

2001-02-14 Thread Russell Coker

On Tuesday 13 February 2001 12:02, Kozman Balint wrote:
 is there any way to link two (or more) block devices (ex: two hard disks)
 into one logical block device? I need this to be able to copy a file of
 70Gb to a machine which has two disks of 40 Gb.

RAID-0 is quite solid and stable.  LVM is still very experimental and there 
are numerous issues if you want to try to upgrade your kernel.

Use RAID-0 instead of LVM if all you want is a large partition.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: linking devices

2001-02-14 Thread Russell Coker
On Tuesday 13 February 2001 12:02, Kozman Balint wrote:
 is there any way to link two (or more) block devices (ex: two hard disks)
 into one logical block device? I need this to be able to copy a file of
 70Gb to a machine which has two disks of 40 Gb.

RAID-0 is quite solid and stable.  LVM is still very experimental and there 
are numerous issues if you want to try to upgrade your kernel.

Use RAID-0 instead of LVM if all you want is a large partition.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




linking devices

2001-02-13 Thread Kozman Balint


Hi,

is there any way to link two (or more) block devices (ex: two hard disks)
into one logical block device? I need this to be able to copy a file of
70Gb to a machine which has two disks of 40 Gb. 

Thanks in advance.

Regards, 

   Balint


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: linking devices

2001-02-13 Thread Mark Janssen

On Tue, Feb 13, 2001 at 11:02:06AM +, Kozman Balint wrote:
 
 Hi,
 
 is there any way to link two (or more) block devices (ex: two hard disks)
 into one logical block device? I need this to be able to copy a file of
 70Gb to a machine which has two disks of 40 Gb. 

Yes.. You should be able to use the 'md' driver/subsystem to create a big
virtual drive across multiple drives.
There is only one problem... a 70 Gig file won't fit... since there is a
filesize limitation (I think 2GB) So you'd have to split up the file in 2GB
parts anyway, and then it's useless to go the hard way with md or lvm

Mark Janssen Unix Consultant @ SyConOS IT
E-mail: [EMAIL PROTECTED]GnuPG Key Id: 357D2178
http: markjanssen.homeip.net and markjanssen.[com|net|org|nl]
Fax/VoiceMail: +31 20 8757555 Finger for GPG and GeekCode

 PGP signature


Re: linking devices

2001-02-13 Thread Francis 'Dexter' Gois

You speak about Raid-0 - have a look at Software-RAID-HOWTO.

The limitation of 2gb per file is not true anymore with the kernel 2.4 (as 
long as your libc6 has been compiled with the kernel 2.4 - the simplest is to 
work on a Woody :-) )

Or if you work on a 64bit architecture you can have bigger files :

This mail went on this list a few weeks ago :


thanks ,
I have installed  kernel 2.4.1 
with the latest util-linux ,modutils and raidtool (arrrgg) 
and finally I can write file 2Gb :-)
...now i must rebuild ls, mv etc.  
m.

On Tue, Feb 06, 2001 at 09:33:06AM -0800 or thereabouts, brian moore wrote:
 On Tue, Feb 06, 2001 at 12:06:16AM -0500, Fraser Campbell wrote:
  Francis 'Dexter' Gois [EMAIL PROTECTED] writes:
  
   Not sure, but i think your problem is not with the NFS but with the 
ext2fs 
   filesystem, which cannot handle files larger than 2gb. 
  
  Yes, ext2's maximum file size is 1 byte less than 2 GB (2147483647 bytes.
 
 Bzzt.  Wrong.  This is a limit of 2.2 and earlier kernels on 32 bit
 hardware.  It has -NOTHING- to do with the file system per se: you will
 see exactly the same situation on Reiserfs, NFS (exported from a 64 bit
 machine even!), and every other file system.
 
 Why?  Try 'man lseek' and note that the size of off_t, which is a 32 bit
 number on 32 bit platforms.  There are lots and lots of library and system
 calls that expect or return something of type off_t, which can not exceed
 32 bits on a 32 bit machine without some hackery.  (See google for the
 'large filesystem summit' for how ugly that hackery is.)
 
 The exact same file systems -do- support huge files on 64 bit machines.
 Why?  Again, off_t is a 64 bit number on a 64 bit machine.
 
  If the remote filesystem is ext2 then this is definitely the problem.   
The
  2.4 kernel gets around this problem at least with some filesystems 
(perhaps
  still not with ext2 though) ... if you really need to create files  2GB 
then
  you should upgrade your kernel.  I've been running woody with 2.4 kernels
  (test and "stable") for months without any problems, YMMV.
 
 Doesn't matter -what- the remote file system type is.
 
 Neither NFS nor glibc supports large files on 2.2 kernels.  Period.  Not
 with e2fs, not with nfs, not with anything.
 
 If you need files =2G, you need a newer kernel or a 64 bit machine.

On Tuesday 13 February 2001 11:06, Mark Janssen wrote:
 On Tue, Feb 13, 2001 at 11:02:06AM +, Kozman Balint wrote:
  Hi,
 
  is there any way to link two (or more) block devices (ex: two hard disks)
  into one logical block device? I need this to be able to copy a file of
  70Gb to a machine which has two disks of 40 Gb.

 Yes.. You should be able to use the 'md' driver/subsystem to create a big
 virtual drive across multiple drives.
 There is only one problem... a 70 Gig file won't fit... since there is a
 filesize limitation (I think 2GB) So you'd have to split up the file in 2GB
 parts anyway, and then it's useless to go the hard way with md or lvm

 Mark Janssen Unix Consultant @ SyConOS IT
 E-mail: [EMAIL PROTECTED]GnuPG Key Id: 357D2178
 http: markjanssen.homeip.net and markjanssen.[com|net|org|nl]
 Fax/VoiceMail: +31 20 8757555 Finger for GPG and GeekCode


Content-Type: application/pgp-signature; charset="us-ascii"; 
name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description: 


-- 
++ +--+
-Got this blue screen- --   Keep the Internet FREE with Tiscalinet   --
-once again -- -- Be GNU : have a Linux attitude :-) --
++ +--+
 -   _+---+   Francis 'Dexter' Gois
\-/  /  \-/ / - Already tried to  - Tiscali Belgium System Administrator   
(_~   ~_)   -install GNU/Linux ?-  mailto : [EMAIL PROTECTED]  
/  \   /   \  +---+ Phone +3224000920 - fax +3224000899 


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: linking devices

2001-02-13 Thread Maarten Vink

Mark Janssen wrote:
 
 On Tue, Feb 13, 2001 at 11:02:06AM +, Kozman Balint wrote:
 
  Hi,
 
  is there any way to link two (or more) block devices (ex: two hard disks)
  into one logical block device? I need this to be able to copy a file of
  70Gb to a machine which has two disks of 40 Gb.
 
 Yes.. You should be able to use the 'md' driver/subsystem to create a big
 virtual drive across multiple drives.
 There is only one problem... a 70 Gig file won't fit... since there is a
 filesize limitation (I think 2GB) So you'd have to split up the file in 2GB
 parts anyway, and then it's useless to go the hard way with md or lvm

As mentioned before, the 2GB limit was removed in the 2.4 kernels. Also
have a look at the LVM that is included in the 2.4 kernels. It should
allow you to dynamically add disks to a "virtual" partition. 

Maarten Vink


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: linking devices

2001-02-13 Thread Sebastiaan

Hi,

try RAID systems. There are different forms, I belive RAID0, 1 and 5. One
of them makes it able to link two disks.

Greetz,
Sebastiaan


On Tue, 13 Feb 2001, Kozman Balint wrote:

 
 Hi,
 
 is there any way to link two (or more) block devices (ex: two hard disks)
 into one logical block device? I need this to be able to copy a file of
 70Gb to a machine which has two disks of 40 Gb. 
 
 Thanks in advance.
 
 Regards, 
 
Balint
 
 
 --  
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
 
 


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: linking devices

2001-02-13 Thread Keith G. Murphy

Kozman Balint wrote:
 
 Hi,
 
 is there any way to link two (or more) block devices (ex: two hard disks)
 into one logical block device? I need this to be able to copy a file of
 70Gb to a machine which has two disks of 40 Gb.
 
I believe the lvm package is supposed to do exactly what you're
wanting.  Check out:

http://www.sistina.com/lvm/Pages/intro.html

to find out.  I've never used it, just know about it.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




linking devices

2001-02-13 Thread Kozman Balint

Hi,

is there any way to link two (or more) block devices (ex: two hard disks)
into one logical block device? I need this to be able to copy a file of
70Gb to a machine which has two disks of 40 Gb. 

Thanks in advance.

Regards, 

   Balint




Re: linking devices

2001-02-13 Thread Mark Janssen
On Tue, Feb 13, 2001 at 11:02:06AM +, Kozman Balint wrote:
 
 Hi,
 
 is there any way to link two (or more) block devices (ex: two hard disks)
 into one logical block device? I need this to be able to copy a file of
 70Gb to a machine which has two disks of 40 Gb. 

Yes.. You should be able to use the 'md' driver/subsystem to create a big
virtual drive across multiple drives.
There is only one problem... a 70 Gig file won't fit... since there is a
filesize limitation (I think 2GB) So you'd have to split up the file in 2GB
parts anyway, and then it's useless to go the hard way with md or lvm

Mark Janssen Unix Consultant @ SyConOS IT
E-mail: [EMAIL PROTECTED]GnuPG Key Id: 357D2178
http: markjanssen.homeip.net and markjanssen.[com|net|org|nl]
Fax/VoiceMail: +31 20 8757555 Finger for GPG and GeekCode


pgp4dioj17VHf.pgp
Description: PGP signature


Re: linking devices

2001-02-13 Thread Francis 'Dexter' Gois
You speak about Raid-0 - have a look at Software-RAID-HOWTO.

The limitation of 2gb per file is not true anymore with the kernel 2.4 (as 
long as your libc6 has been compiled with the kernel 2.4 - the simplest is to 
work on a Woody :-) )

Or if you work on a 64bit architecture you can have bigger files :

This mail went on this list a few weeks ago :


thanks ,
I have installed  kernel 2.4.1 
with the latest util-linux ,modutils and raidtool (arrrgg) 
and finally I can write file 2Gb :-)
...now i must rebuild ls, mv etc.  
m.

On Tue, Feb 06, 2001 at 09:33:06AM -0800 or thereabouts, brian moore wrote:
 On Tue, Feb 06, 2001 at 12:06:16AM -0500, Fraser Campbell wrote:
  Francis 'Dexter' Gois [EMAIL PROTECTED] writes:
  
   Not sure, but i think your problem is not with the NFS but with the 
ext2fs 
   filesystem, which cannot handle files larger than 2gb. 
  
  Yes, ext2's maximum file size is 1 byte less than 2 GB (2147483647 bytes.
 
 Bzzt.  Wrong.  This is a limit of 2.2 and earlier kernels on 32 bit
 hardware.  It has -NOTHING- to do with the file system per se: you will
 see exactly the same situation on Reiserfs, NFS (exported from a 64 bit
 machine even!), and every other file system.
 
 Why?  Try 'man lseek' and note that the size of off_t, which is a 32 bit
 number on 32 bit platforms.  There are lots and lots of library and system
 calls that expect or return something of type off_t, which can not exceed
 32 bits on a 32 bit machine without some hackery.  (See google for the
 'large filesystem summit' for how ugly that hackery is.)
 
 The exact same file systems -do- support huge files on 64 bit machines.
 Why?  Again, off_t is a 64 bit number on a 64 bit machine.
 
  If the remote filesystem is ext2 then this is definitely the problem.   
The
  2.4 kernel gets around this problem at least with some filesystems 
(perhaps
  still not with ext2 though) ... if you really need to create files  2GB 
then
  you should upgrade your kernel.  I've been running woody with 2.4 kernels
  (test and stable) for months without any problems, YMMV.
 
 Doesn't matter -what- the remote file system type is.
 
 Neither NFS nor glibc supports large files on 2.2 kernels.  Period.  Not
 with e2fs, not with nfs, not with anything.
 
 If you need files =2G, you need a newer kernel or a 64 bit machine.

On Tuesday 13 February 2001 11:06, Mark Janssen wrote:
 On Tue, Feb 13, 2001 at 11:02:06AM +, Kozman Balint wrote:
  Hi,
 
  is there any way to link two (or more) block devices (ex: two hard disks)
  into one logical block device? I need this to be able to copy a file of
  70Gb to a machine which has two disks of 40 Gb.

 Yes.. You should be able to use the 'md' driver/subsystem to create a big
 virtual drive across multiple drives.
 There is only one problem... a 70 Gig file won't fit... since there is a
 filesize limitation (I think 2GB) So you'd have to split up the file in 2GB
 parts anyway, and then it's useless to go the hard way with md or lvm

 Mark Janssen Unix Consultant @ SyConOS IT
 E-mail: [EMAIL PROTECTED]GnuPG Key Id: 357D2178
 http: markjanssen.homeip.net and markjanssen.[com|net|org|nl]
 Fax/VoiceMail: +31 20 8757555 Finger for GPG and GeekCode


Content-Type: application/pgp-signature; charset=us-ascii; 
name=Attachment: 1
Content-Transfer-Encoding: 7bit
Content-Description: 


-- 
++ +--+
-Got this blue screen- --   Keep the Internet FREE with Tiscalinet   --
-once again -- -- Be GNU : have a Linux attitude :-) --
++ +--+
 -   _+---+   Francis 'Dexter' Gois
\-/  /  \-/ / - Already tried to  - Tiscali Belgium System Administrator   
(_°~   ~°_)   -install GNU/Linux ?-  mailto : [EMAIL PROTECTED]  
/  \   /   \  +---+ Phone +3224000920 - fax +3224000899 




Re: linking devices

2001-02-13 Thread Maarten Vink
Mark Janssen wrote:
 
 On Tue, Feb 13, 2001 at 11:02:06AM +, Kozman Balint wrote:
 
  Hi,
 
  is there any way to link two (or more) block devices (ex: two hard disks)
  into one logical block device? I need this to be able to copy a file of
  70Gb to a machine which has two disks of 40 Gb.
 
 Yes.. You should be able to use the 'md' driver/subsystem to create a big
 virtual drive across multiple drives.
 There is only one problem... a 70 Gig file won't fit... since there is a
 filesize limitation (I think 2GB) So you'd have to split up the file in 2GB
 parts anyway, and then it's useless to go the hard way with md or lvm

As mentioned before, the 2GB limit was removed in the 2.4 kernels. Also
have a look at the LVM that is included in the 2.4 kernels. It should
allow you to dynamically add disks to a virtual partition. 

Maarten Vink




Re: linking devices

2001-02-13 Thread Sebastiaan
Hi,

try RAID systems. There are different forms, I belive RAID0, 1 and 5. One
of them makes it able to link two disks.

Greetz,
Sebastiaan


On Tue, 13 Feb 2001, Kozman Balint wrote:

 
 Hi,
 
 is there any way to link two (or more) block devices (ex: two hard disks)
 into one logical block device? I need this to be able to copy a file of
 70Gb to a machine which has two disks of 40 Gb. 
 
 Thanks in advance.
 
 Regards, 
 
Balint
 
 
 --  
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 




Re: linking devices

2001-02-13 Thread Keith G. Murphy
Kozman Balint wrote:
 
 Hi,
 
 is there any way to link two (or more) block devices (ex: two hard disks)
 into one logical block device? I need this to be able to copy a file of
 70Gb to a machine which has two disks of 40 Gb.
 
I believe the lvm package is supposed to do exactly what you're
wanting.  Check out:

http://www.sistina.com/lvm/Pages/intro.html

to find out.  I've never used it, just know about it.