[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Disk mirroring - rsync



> > raid1 mirroring... ( assumes same/identical partition sizes )
> >         - anything you put on disk1  will get mirror'd to disk2
> >         -
> >         - if you accidentally erase /foo.txt ... it gets erased on disk2
> >         too ... ( i see no point to that ...but... some folks like it )
> 
> The second disk is about twice in size; the partitions might be in
> different sizes.

-- if you are using dd or raid,
the size of the disk does not matter, as long as the partiitions are
the same number of cylinders....

otherwise, if the partitions are different size, you have no option
but to use tar/cpio/etc to copy stuff to the otehr disk

> > depending on what you want on the backup disks... tar is better ???
> >         tar zcvf /mnt/backup_disk/backup.$date.tgz /etc /root /home
> 
> I want to have the second disk bootable (via a floppy if needed). That's
> why I asked about rsync.

i dont think rsync copies the boot sector and other boot info...

each time youupdate lilo.conf or add new kernels and modules,
you'd have to remember to rerun lilo on the backup disk
( assuming that is to be a hard disk bootable replacement
	- order of magnitude easier ot do raid1 in this case

- if you just want ot backup your main hd to a mirror/backup disks...
  there is no reason to worry about boot issues as it will not be
  able to boot ... ( /etc/fstab, /etc/lilo.conf, etc would be wrong, 

have fun linuxing
alvin
http://www.Linux-Consulting.com/Raid




Reply to: