Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Hard Drive not Detected


  • Please log in to reply
8 replies to this topic

#1 SmokeViper07

SmokeViper07

  • Members
  • 174 posts
  • OFFLINE
  •  
  • Local time:06:43 PM

Posted 03 August 2015 - 02:33 PM

Hello,

 

I'm having issues with my media server. It is running Ubuntu Server LTS and has 1 SSD and 4 HDDs in which 1 of the HDDs are not being detected by the system. I am unsure whether it can be fixed by just trying to mount it and run a script so it auto-mounts each boot or if I need to repartition it or something. I am concerned the drive may be dead already and I haven't used it at all.

 

Any Suggestions?



BC AdBot (Login to Remove)

 


#2 gigawert

gigawert

  • Members
  • 1,304 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:03:43 PM

Posted 03 August 2015 - 02:45 PM

Most likely it is not partitioned and formatted with the Ext4 file system. Linux uses Ext4.


John 3:16

 "God loved the world so much that He gave His uniquely-sired Son, with the result that anyone who believes in Him would never perish but have eternal life."


#3 SmokeViper07

SmokeViper07
  • Topic Starter

  • Members
  • 174 posts
  • OFFLINE
  •  
  • Local time:06:43 PM

Posted 03 August 2015 - 03:16 PM

So I just ran fdisk -l and it shows all of the drives but the one mentioned above but they are all formatted to GPT instead of Ext4. How can I find the missing disk and format all of the drives to Ext4 via shell?

 

UPDATE- I just googled and reformatted all drives to ext4 but when looking for the last drive as an unmounted drive using blkid -c /dev/null it only shows the drives I already know are there. Could this mean the drive is dead?


Edited by SmokeViper07, 03 August 2015 - 03:35 PM.


#4 gigawert

gigawert

  • Members
  • 1,304 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:03:43 PM

Posted 03 August 2015 - 04:00 PM

Then the drive could possibly be dead. 

 

By the way, GPT is a type of hard drive that allows for many partitions, but not a type of partition. You can convert it to MBR but it does not allow a lot of partitions. :)


John 3:16

 "God loved the world so much that He gave His uniquely-sired Son, with the result that anyone who believes in Him would never perish but have eternal life."


#5 SmokeViper07

SmokeViper07
  • Topic Starter

  • Members
  • 174 posts
  • OFFLINE
  •  
  • Local time:06:43 PM

Posted 03 August 2015 - 04:46 PM

Alright, is there any easy way to find out which one it is without rebooting until I find it by trial and error?



#6 gigawert

gigawert

  • Members
  • 1,304 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:03:43 PM

Posted 03 August 2015 - 04:54 PM

I'm not sure, someone else will have to answer that. :(


John 3:16

 "God loved the world so much that He gave His uniquely-sired Son, with the result that anyone who believes in Him would never perish but have eternal life."


#7 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,551 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:09:43 AM

Posted 03 August 2015 - 05:03 PM

Can you please give us the output of

sudo parted -l


#8 SmokeViper07

SmokeViper07
  • Topic Starter

  • Members
  • 174 posts
  • OFFLINE
  •  
  • Local time:06:43 PM

Posted 03 August 2015 - 05:49 PM

 

Can you please give us the output of

sudo parted -l

 

Results:

Model: ATA KINGSTON SV300S3 (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size    Type      File system     Flags
 1      1049kB  232GB  232GB   primary   ext4            boot
 2      232GB   240GB  8236MB  extended
 5      232GB   240GB  8236MB  logical   linux-swap(v1)


Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.
However, it does not have a valid fake msdos partition table, as it should.
Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
partition tables.  Or perhaps you deleted the GPT table, and are now using an
msdos partition table.  Is this a GPT partition table?
Yes/No? y
Model: ATA ST4000DX001-1CE1 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
 1      17.4kB  4001GB  4001GB  ext4


Warning: /dev/sdc contains GPT signatures, indicating that it has a GPT table.
However, it does not have a valid fake msdos partition table, as it should.
Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
partition tables.  Or perhaps you deleted the GPT table, and are now using an
msdos partition table.  Is this a GPT partition table?
Yes/No? y
Model: ATA ST4000DX001-1CE1 (scsi)
Disk /dev/sdc: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
 1      17.4kB  4001GB  4001GB  ext4


Model: ATA ST4000DX001-1CE1 (scsi)
Disk /dev/sdd: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  2199GB  2199GB  primary


Model:  Patriot Memory (scsi)
Disk /dev/sde: 7919MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  7919MB  7918MB  primary  fat32        boot, lba

 

**Ignore the Patriot Memory at the end, that is just the flash drive I used to install ubuntu server**

 

**UPDATE: I decided to work backwards and find the Serial numbers for the working drives using hdparm and finally identified the problem drive. It appears to still be in warrantee with Seagate for another year so I will just ship it off for replacement. Thanks for the help!**


Edited by SmokeViper07, 04 August 2015 - 02:11 PM.


#9 mremski

mremski

  • Members
  • 498 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:NH
  • Local time:06:43 PM

Posted 04 August 2015 - 02:08 PM

The HDDs all have power connected?  Are they present in dmesg output?  1SSD, 4HDDs:  are they SATA drives?  If so, does your MB have support for at least 5 SATA devices connected?

Yes, I realize these are fundamental questions, but they are worth asking/double checking.


FreeBSD since 3.3, only time I touch Windows is to fix my wife's computer





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users