answer seek by an admin

Ron McKeever rmckeever at earthlink.net
Sat Nov 4 15:23:40 UTC 2006


4.
Boot off of install disk and type "linux rescue" at the boot screen. Tell it
all the stuff and when you get to a command prompt type these two commands:

#chroot /mnt/sysimage
#/sbin/grub-install /dev/sda1 (example new disk)
/dev/sda1 (SCSI) or /dev/hda1 (IDE)

That installs grub to your MBR... 

5.
Well if you have a hardware raid controller you can monitor it through its 
cli. Or if using software raid you can look at /proc/mdstat...

You could also use SMART....
Before configuring hard disk for SMART monitoring make sure your hard disk
is SMART capable:
smartctl -i /dev/had

Thanks,
Ron


-----Original Message-----
From: redhat-sysadmin-list-bounces at redhat.com
[mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of thomas
Sent: Saturday, November 04, 2006 12:07 AM
To: redhat-sysadmin-list at redhat.com
Subject: answer seek by an admin

1) Without using dmesg command and messages and dmesg log file, how
one will find that hot pluggable drive just inserted has been detected
by kernel or not.

2) Are device file corresponding to this drive will be created
automatically? If no which command will create corresponding block
device file in /dev.

3) If these is no way for automatic generation of block device, how
major and minor number of a disk can be figured out so that one can
use mknod device_name b maj_no Minor_no?

4) If this disk is configured and partitioned successfully. One has
copied /boo, / , /var and /usr of running system to this disk on
corresponding directory. What has to be done to write bookable super
block /MBR on this disk so that one can boot from this disk on next
reboot.

5) without using dmesg and message file, how one can get prior
information that a particular disk is malfunctioning and going to
crash / fail.

Thank in Advance

--
redhat-sysadmin-list mailing list
redhat-sysadmin-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list




More information about the redhat-sysadmin-list mailing list