问题原文
原帖链接 · Abruzzo Forte e Gentile · CC BY-SA 3.0
My server has two hard disks. One very limited of around 500 GB and another NOT FORMATTED of more than 1 TB. I need to find this second disk to format it (and eventually mount it to my Red Hat Linux 6 enterprise).
The thing is that I cannot see this second hard disk. I tried with lshw --class disk, but I get the list of the CD ROM and the first hard disk.
How can I find where my disk is and format it?
社区高分解答
原帖链接 · Michael Martinez · CC BY-SA 3.0
All block devices that Linux knows about when it boots are given in /sys/block. If your device isn't there it means Linux did not register it when it booted. In this case, commands given in some of the other answers dealing with upper level filesystem or partition structures aren't relevant (/etc/fstab, fdisk, mount). If your device isn't in /sys/block, then you need to power down, make sure the device is attached and make sure the BIOS recognizes it. If your device is attached and the BIOS does not recognize it, then the device is not receiving power, malfunctioning, or its cable is bad.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
