LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-03-2015, 03:55 PM   #1
scandalist
Member
 
Registered: Apr 2011
Posts: 31

Rep: Reputation: 1
Trying to decipher this fdisk output...


I have a client who called me because her Windows 7 machine was not booting. I booted with my Ubuntu live disk and ran fdisk to get a list ing of her hard drives and partitioning structure.

This is what fdisk outputs:



First of all, why do the hard drives skip letters? It jumps from sda to sdf with no devices in between. As far as I could tell there was nothing else connected to the system except the 3 internal hard drives.

Also, what are the /dev/mapper devices listed at the bottom? It looks like they are copies of partitions on /dev/sda. I don't think RAID is configured but I could be wrong...

What is going on?

I appreciate all feedback.
 
Old 03-03-2015, 05:07 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
If the machine has attached card readers, etc., with no media inserted, those will be given sdX names but will be ignored by fdisk since there is no media. For example, my printer also functions as a card reader (CF, SD, XD, MS cards), and thus appears as /dev/sdd, but is ignored by fdisk (I never use it -- only works with photo cards).

The "isw" prefix indicates Intel Storage Matrix RAID, which is supported in both MS Windows and Linux.
 
Old 03-03-2015, 05:11 PM   #3
scandalist
Member
 
Registered: Apr 2011
Posts: 31

Original Poster
Rep: Reputation: 1
Thanks for your feedback. So are you saying that RAID is setup on this machine? Also, /dev/sda reports only 500 gigs of space but contains a 1TB partion.

Would this suggest that the two 500 gig drives on the machine have been combined?
 
Old 03-03-2015, 05:28 PM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
It certainly appears that RAID is set up on the system and that Linux is confused by it. I have no familiarity with Intel RAID beyond a quick Google search, but it looks to me as though Linux is applying the partitioning of the composite RAID device to the individual disks.

Are there just two physical disks on the machine? I notice that the partitions of the 500GB /dev/sdg also add up to more than 1TB. EDIT: They don't.

Last edited by rknichols; 03-03-2015 at 08:11 PM. Reason: They don't
 
Old 03-03-2015, 05:36 PM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
I think you need to provide more information on the actual hardware layout in the system. You said in the OP that there are three internal drives, then you said in post #2 that there are two 500 GB drives. What about the third? Are the drives actually 500 GB or are you just saying that because that's what you're seeing in fdisk? What's with all of the Linux partitions on sdg? Does this person actually have a Linux OS installed on the machine or does this have to do with your Live system that you're booting up, or some other drive you have attached?

Open up the case, count the physical drives and get their sizes, and report back what you think is on each one.
 
Old 03-03-2015, 05:36 PM   #6
scandalist
Member
 
Registered: Apr 2011
Posts: 31

Original Poster
Rep: Reputation: 1
I opened the case to gain some clarity and there are 2 identical drives (500G) and a single Terabyte drive.

/dev/sda reports 500 Gigs yet contains a 1TB partition /dev/sda3.

What is the best way to approach this situation if I wanted to dual boot Windows and Linux but save the data on the partitions?
 
Old 03-03-2015, 05:39 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Write down the serial numbers on the three physical drives, and then use "smartctl -a" to pair them up with the drive letters assigned by your live system.

My interpretation is the following:
sda and sdf are the 500 GB drives, sdg is the 1 TB drive, and the two 500 GB are in a RAID 0 (or similar) using the Intel chipset. Since they're in a RAID 0, fdisk is reporting the partition information for the full array on sda, and no partition information on sdf since it just contains an "extension" of sda.

If this is the case, don't try to mount sda or sdf individually, instead mount the isw array partitions and back up the data onto an external disk before trying to do any OS installation.

Last edited by suicidaleggroll; 03-03-2015 at 05:43 PM.
 
Old 03-03-2015, 06:29 PM   #8
scandalist
Member
 
Registered: Apr 2011
Posts: 31

Original Poster
Rep: Reputation: 1
Thanks. Now that you mention the raid 0 it does appear that SDA and sdf are in that type of configuration. But if that is the case, how is the terabyte drive /Dev/sdg showing more than a terabyte in all of the partitions? Could this drive be part of the array somehow?

I will note down those serial numbers when I get a chance.
 
Old 03-03-2015, 08:06 PM   #9
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by scandalist View Post
But if that is the case, how is the terabyte drive /Dev/sdg showing more than a terabyte in all of the partitions?
It's not. I made a mistake there. Partitions 5, 6, and 7 are logical partitions that exist within the extended partition sdg2. Everything looks normal on that drive.
 
Old 03-10-2015, 07:22 AM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Well what's it doing when it doesn't boot? Can it get to BIOS at all? What is it saying about the system disk? After all, the person is trying to boot Windows 7. Seems to me that a recover or repair process for Windows 7 would be more applicable. Sure you have information about the partition table because you booted via Live Linux, but this does not address the actual problem your client is facing. I would seek out information related to how to recover and repair Windows 7 boot.
 
  


Reply

Tags
fdisk, partition table, raid, ubuntu



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Understanding output from fdisk JockVSJock Linux - Newbie 1 11-04-2014 08:17 AM
how to interpret the fdisk output maskiepop Linux - General 2 11-06-2013 03:48 PM
Can you help decipher Apache2 server-status output? Are KeepAlives Misconfigured? transient Linux - Server 3 05-23-2012 09:34 AM
no output for fdisk -l gerryd Linux - Newbie 6 10-01-2009 05:45 PM
fdisk -l output? hank43 Linux - General 3 03-07-2004 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:22 PM.

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
Open Source Consulting | Domain Registration