LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Strange fdisk behaviour on a 3.6TB raid5 cabinet (https://www.linuxquestions.org/questions/linux-enterprise-47/strange-fdisk-behaviour-on-a-3-6tb-raid5-cabinet-404832/)

rvf400rr 01-18-2006 04:08 AM

Strange fdisk behaviour on a 3.6TB raid5 cabinet
 
Greetings,


I am currently testing a DELL poweredge 850 with a Promise Vtrak M300p populated with 12*400GB SATA disks.
The promise box is configured 10x400GB in RAID5 which gives 3.6TB with 1024 bytes sector size..

The linux is a slackware 10.2 (I had the same with FC4, ubunutu)

Kernel is 2.6.15 with Large Block Devices enabled.
The SCSI controller is an Adaptec 39320.
The Adaptec prompts correctly the raid box boot time.
The 39320 device driver prompts correctly that the size sector size is 1K and the size is 3591000MB


Here is the catch now...

fdisk creates only the 1359000 MB
I was at least expected to see 2.2TB for a start
instead I see 3.6 - 2.2 = 1.4

If I try to create a 2.5TB partition, I get in the end 300GB which is 2.5 - 2.2 = 0.3
And if I try to create 2.8 TB I get 600GB etc etc

fdisk is coming compliled from the latest testing sources
ftp://ftp.kernel.org/pub/linux/utils...13-pre6.tar.gz
(older versions couldn't calculate the cylinders number)

All hardware devices have the latest BIOS in them


Here are some outputs

/util-linux-2.13-pre6/fdisk# ./fdisk /dev/sdb
Note: sector size is 1024 (not 512)

The number of cylinders for this disk is set to 218290.
There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sdb: 3590.9 GB, 3590999506944 bytes
255 heads, 63 sectors/track, 218290 cylinders
Units = cylinders of 16065 * 1024 = 16450560 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 218290 3506828787 83 Linux

Command (m for help):
/util-linux-2.13-pre6/fdisk# cat /proc/partitions
major minor #blocks name

8 0 78125000 sda
8 1 29302528 sda1
8 2 4008217 sda2
8 3 19543072 sda3
8 4 25270245 sda4
8 16 3506835456 sdb
8 17 1359345139 sdb1



Is it something wrong in the kernel ?? or in the userland tools ???
Is there any users mailing list for util-linux ??

Any help will be valuable

Regards
Chris

arno 01-23-2006 04:20 PM

Why dont you use the raid software dell supplies to configure the system.
Use the Boot cd from dell and configure the raid system.


All times are GMT -5. The time now is 02:39 AM.