Re: installing root raid non-destructively

1999-05-16 Thread Piete Brooks
> I tested this some time ago ( dd if=/dev/hda1 of=/dev/hdc1 in single user > mode) but did not shrink the ext2fs, but it worked. That is not a surprise -- the PSB is onlt one 4K block at the very end ... > Will the superblock get corrupted when I use up my last 4k of space on the > ext2fs ? As

Re: installing root raid non-destructively

1999-05-16 Thread Piete Brooks
> (I'm aware of the failed-disk patches and have used them > successfully. Is there another way?) (resize2fs from PartitopnMagic, and of course dump/restore ...) > If you ask me, mke2fs should be modified to reserve that 4k in the end > of the volume by default.. Yup -- I too suggested that whe

Re: installing root raid non-destructively

1999-05-15 Thread m. allan noah
yes, you can reduce the size of blocks by one in ext2fs, as long as the blocks are 4k or greater, then mkraid will copy disk one onto disk 2, etc. and the raid SB will takeup its space at the end of the disk. this only works for raid1 though, cause under raid5 your fs will be larger than a single

Re: installing root raid non-destructively

1999-05-15 Thread Benno Senoner
Luca Berra wrote: > > > > Third, (naive questions) if raid1 supports on-the-fly disk > > "reconstruction" why can't I simply add another identical disk alongside > > my present one, activate raid1 non-destructively and have disk2 be > > "reconstructed" as the mirror image of disk1? > because linu

Re: installing root raid non-destructively

1999-05-15 Thread Osma Ahvenlampi
Luca Berra <[EMAIL PROTECTED]> writes: > because linux-raid keeps a 4K raid superblock at the end of the partition > so if you already created the filesystem you have no room for the superblock. This reminds me.. mke2fs has a blocks-count argument that, if you omit it, defaults to the size of th

Re: installing root raid non-destructively

1999-05-13 Thread Luca Berra
On Wed, May 12, 1999 at 02:55:15PM +0200, Louis-David Mitterrand wrote: > First, kernel-2.2.7's documentation states that booting on raid1 is not > supported yet, but looking at the alpha raidtools-0.90 package it seems > possible. Does it mean that if I patch the kernel sources appropriately > th

installing root raid non-destructively

1999-05-12 Thread Louis-David Mitterrand
Hi, I am new to this list, so forgive me if I ask trivial questions. I am in the process of converting two Debian (potato) machines that I installed at a client's site to use raid1 with SCSI disks. One machine is a masquerading firewall, one a web server. It seems from the documentation I read th