[lug] Live disk attach?
Kevin Fenzi
kevin at scrye.com
Tue May 18 21:08:46 MDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "William" == William Petty <billpetty at adelphia.net> writes:
William> Two Questions. 1) I am trying to do some hard drive
William> debugging on a live running Linux system. I am attaching an
William> unknown drive to the second channel of my SCSI controller and
William> powering it up. It there a way for the OS to re-scan for the
William> new device without rebooting? My intention is to run fdisk
William> and mkfs and perform various integrity checks on many
William> different drives without rebooting each time.
echo "scsi add-single-device a b c d" > /proc/scsi/scsi
where a == hostadapter id (first one being 0)
b == SCSI channel on hostadapter (first one being 0)
c == ID
d == LUN (first one being 0)
William> 2) When doing full backups, what is the best method (using a
William> commonly bundled program), and what should be in the backup
William> file set? When I was on DOS or OS2, I used to just backup C:
William> and or D: with tar. What was great, was that I was able to
William> replace the hard drive, boot a minimal floppy based system
William> and restore all. Upon reboot, it was as if nothing had
William> changed except having new drive. (Usually bigger)
William> Can this be done for Linux? I.E. boot of a CD and restore
William> all from tape.
Sure, many diffrent ways.
rsync to another machine.
rsync -e ssh -a -v / backup at remotemachine:/home/backup/
tar using ssh to another machine.
amanda
Check www.freshmeat.net for more.
A number of commercial programs (bru, etc).
kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFAqs/E3imCezTjY0ERAnnKAJ9Z/pM8EwsWY/IOMq2qdOokjJN0fgCfUgs/
I0AU/vGpsU6AZFssdkGoO00=
=EGx3
-----END PGP SIGNATURE-----
More information about the LUG
mailing list