answer seek by an admin

Mathew Snyder theillien at yahoo.com
Sat Nov 4 08:11:28 UTC 2006


thomas wrote:
> 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.

If by hot pluggable you mean USB drive, try lsusb

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

These files should be created.  Often times USB drives use scsi device
files.  You just have to figure out which scsi device it is so you can
mount the proper one.


I don't know the rest.

> 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