LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Inserted new hard drive into CentOS 7 system and I am unable to find it. (https://www.linuxquestions.org/questions/linux-newbie-8/inserted-new-hard-drive-into-centos-7-system-and-i-am-unable-to-find-it-4175553912/)

aphexlog 09-18-2015 10:28 PM

Inserted new hard drive into CentOS 7 system and I am unable to find it.
 
Distribution: CentOS 7

I inserted a new hard drive into my Linux computer and I am unable to locate it. It is a 1 TB drive and I need to be able to partition the entire drive. In order for me to partition it, my system needs to recognize that it even exists.

NOTE: I have 2 hard drives, my primary that obviously works fine is 500 GB. The one that the system does not see is 1 TB

The following is a list of SDAs under /dev/:

SDA
SDA1
SDA2

The following is the LVM disk scan:

[awest@Odin ~]$ sudo lvmdiskscan
/dev/centos_odin/swap [ 7.75 GiB]
/dev/sda1 [ 500.00 MiB]
/dev/centos_odin/root [ 50.00 GiB]
/dev/sda2 [ 465.27 GiB] LVM physical volume
/dev/centos_odin/home [ 407.46 GiB]
3 disks
1 partition
0 LVM physical volume whole disks
1 LVM physical volume

If there is any additional info that is needed, then please let me know :)

To recap my objective... I only need to make my CentOS 7 OS recognize the 1 TB physical hard drive that I just added "post OS installation" so that I can partition it.

Thank you in advance!!!!

syg00 09-18-2015 10:34 PM

Code:

sudo fdisk -l
(that's a lower case ell)

aphexlog 09-18-2015 10:37 PM

Quote:

Originally Posted by syg00 (Post 5422554)
Code:

sudo fdisk -l
(that's a lower case ell)

There is the output from that command:

[awest@Odin ~]$ sudo fdisk -l
[sudo] password for awest:

Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x00021d71

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 976773119 487873536 8e Linux LVM

Disk /dev/mapper/centos_odin-swap: 8321 MB, 8321499136 bytes, 16252928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/centos_odin-root: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/centos_odin-home: 437.5 GB, 437503655936 bytes, 854499328 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

syg00 09-18-2015 10:56 PM

Certainly not there.
Start with the obvious - check cables, make sure the BIOS sees it, then start looking through the boot logs to see if it was recognised at all on startup.

sgosnell 09-19-2015 10:04 AM

The first thing to do is check the cabling, and the jumpers on the drives. I'm not sure of newer drives, but it used to be that with multiple drives one had to set a jumper to either slave or master to get drives to work properly. I admit I haven't dealt with internal HDDs in desktop computers in years, but jumpers or not, the cabling has to be good and correct.

hortageno 09-19-2015 11:44 AM

Quote:

Originally Posted by sgosnell (Post 5422741)
The first thing to do is check the cabling, and the jumpers on the drives. I'm not sure of newer drives, but it used to be that with multiple drives one had to set a jumper to either slave or master to get drives to work properly. I admit I haven't dealt with internal HDDs in desktop computers in years, but jumpers or not, the cabling has to be good and correct.

Unless there hard disk in question is an old IDE drive, there shouldn't be any jumpers.


All times are GMT -5. The time now is 04:23 PM.