LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-18-2015, 11:28 PM   #1
aphexlog
LQ Newbie
 
Registered: Sep 2015
Posts: 2

Rep: Reputation: Disabled
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!!!!

Last edited by aphexlog; 09-18-2015 at 11:31 PM.
 
Old 09-18-2015, 11:34 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,473

Rep: Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085
Code:
sudo fdisk -l
(that's a lower case ell)
 
Old 09-18-2015, 11:37 PM   #3
aphexlog
LQ Newbie
 
Registered: Sep 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
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
 
Old 09-18-2015, 11:56 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,473

Rep: Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085
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.
 
Old 09-19-2015, 11:04 AM   #5
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,054

Rep: Reputation: 281Reputation: 281Reputation: 281
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.
 
Old 09-19-2015, 12:44 PM   #6
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 16.04 LTS
Posts: 236

Rep: Reputation: 65
Quote:
Originally Posted by sgosnell View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount data hard drive w/ file system LVM2 on fedora12 kevinckelley Linux - Newbie 1 06-17-2011 04:25 PM
How to set up LVM and Raid 1 with CentOS on a 6 hard drive system? keithestrop Linux - Newbie 7 04-05-2010 11:48 AM
Adding a new hard drive in Centos 5.1 system; a few questions... nadsab Linux - Hardware 8 03-28-2008 04:33 PM
Unable to find hard drive - laptop rolamento SUSE / openSUSE 6 08-17-2005 03:39 PM
Fedora Core 3 unable to find hard drive Denali03 Linux - Newbie 4 02-07-2005 05:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration