> The directory /dev/block contains all devices of disks Type (or, Block Type). > Command ls displays the contents of a directory and has some options (-l : long format -h human readable size -t sort by modification time, -r reverse order) # dmesg : is a command that display the kernel log during the startup and after. > The file /var/log/message contains information about Kernel Log, and tail is a command witch display the contents of a file, and the option -f to display the contents of a file on real time.Ģ. > To display information just for a specific disk you can add the disk name, e.g. > Show information about all disks and their partitions also, and if you want ti create a new partition we use also the command fdisk. I guest, you can say 3 methods and not options. I am not sure of which approach to take from above 3 options or is there something else. Now, we will increase the size of the disk to 2GB at VMware level and then will add up this space in the mount point /mydrive. Steps to Add a New Hard Disk Without Rebooting on CentOS 7/ RHEL 7. The following steps has been tested on CentOS 7, RHEL 7 and Oracle Linux 7. The command will trigger the linux rescan scsi bus device on the system. Hi, Subsequently, to see the disk nomenclature, are the different options:ģ) ls –ltrh /sys/block to see the new device For an overview of disk partitions, refer to the appendix An Introduction to Disk Partitions in the Red Hat Enterprise Linux Installation Guide. There is one simple command to rescan the SCSI Bus and add SCSI Devices.
0 Comments
Leave a Reply. |