Detect new HDD in Linux system without restart

1. Install sg3_utils and lsscsi package.
    # yum install –y sg3_utils lsscsi

2. Run the command as bellow, it will detect and activate the new disk.
    # /usr/bin/rescan-scsi-bus.sh -l

3. Run lsscsifor output
    # lsscsi

Leave a Reply

Your email address will not be published. Required fields are marked *