LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2012, 07:04 PM   #1
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 184

Rep: Reputation: 28
fdisk only reports 16 drives


I'm running a system with an LSI SATA controllers with a total of 18 drives attached to them. I see all 18 drives getting initialized and registered with the kernel as sda-sdr, and they show up in /sys/block/sd[x]. But when I issue a 'fdisk -l' it only dumps out the first 16 drives, sda-sdp.

At first I thought it had something to do with BusyBox, but I have since tried a standalone version of fdisk and that didn't help. Does anyone know what might be the issue? Could be a library issue since it seems to be an application and not a kernel issue?
 
Old 03-14-2012, 08:21 PM   #2
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 184

Original Poster
Rep: Reputation: 28
Well I figured out my issue. It was an issue with the device node creation. I was creating /dev/sdq and /dev/sdr with device node major number 8 and minor numbers 256 and 272. Once I changed to using device node major number 65 and minor numbers 0 and 16 drive 17 and 18 started showing up.
 
  


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
USB drives not listed in fdisk and unable to mount willowave Linux - Hardware 17 03-15-2010 11:58 PM
Using fdisk on SATA drives Completely Clueless Linux - Hardware 12 05-26-2009 07:37 AM
Cannot fdisk EMC drives etcetera Linux - Hardware 1 05-16-2006 03:30 PM
fdisk reports /dev/hda1 (root) as FAT32 ! tredegar Linux - Software 3 05-14-2006 05:48 PM
fdisk reports my HD is half of it actual size, how can I fix it? ricardo_ok Slackware - Installation 4 01-25-2004 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:10 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