LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Raid 0 /dev/md0 shows only 9.7 gbs. Why is it not showing 3tb? (https://www.linuxquestions.org/questions/linux-hardware-18/raid-0-dev-md0-shows-only-9-7-gbs-why-is-it-not-showing-3tb-841189/)

davide123 10-29-2010 10:46 AM

Raid 0 /dev/md0 shows only 9.7 gbs. Why is it not showing 3tb?
 
this is my fdisk -l

Code:

Disk /dev/sdc: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/sde: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sde doesn't contain a valid partition table

Disk /dev/md0: 3000.6 GB, 3000621858816 bytes
255 heads, 63 sectors/track, 364804 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot      Start        End      Blocks  Id  System
/dev/md0p1              1      91201  732572001  fd  Linux raid autodetect

when I mount /dev/md0 it shows up as 9.7gbs.
Code:

Filesystem            Size  Used Avail Use% Mounted on
/dev/md0              9.7G  2.6G  6.7G  28% /mnt


I have tried it also with having all 4 hard drives with a valid partition table. Please help. Thanks
Davide123

mesiol 10-30-2010 03:01 AM

Hi,

for software raid a minimum of 1 partition of type fd (Linux Auto RAID) is required. Non of your disk shows a partition.

Please post the out of
Code:

cat /proc/mdstat
.

ongte 10-30-2010 09:15 AM

The output of:
Code:

mdadm --detail /dev/md0
Would be helpful here.

davide123 10-31-2010 07:57 AM

sorry but I have to wait until Monday Eastern time to post output. I am unable to get to my network outside of work.
However like I said in my first post, I had also tried the raid with each of the 4 HD having 1 valid FD Linux auto raid. Should I only have 1 HD with a partition and the others with no partitions?

TobiSGD 10-31-2010 08:38 AM

Are you using 32 or 64 bit Linux? I am not sure if 32 bit systems can handle file-systems that large.

davide123 11-01-2010 01:12 PM

Hi
I am using 64 bit OS
Here is the output of the above to requests:
cat /proc/mdstat
Code:

Personalities : [raid0]
md0 : active raid0 sda[0] sde[3] sdd[2] sdc[1]
      2930294784 blocks 1024k chunks

unused devices: <none>


mdadm --detail /dev/md0

Code:

/dev/md0:
        Version : 00.90.03
  Creation Time : Fri Oct 29 11:23:40 2010
    Raid Level : raid0
    Array Size : 2930294784 (2794.55 GiB 3000.62 GB)
  Raid Devices : 4
  Total Devices : 4
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Fri Oct 29 11:23:40 2010
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

    Chunk Size : 1024K

          UUID : 362a8c3f:7a08aea7:c5f4e932:1a2dc824
        Events : 0.3

    Number  Major  Minor  RaidDevice State
      0      8        0        0      active sync  /dev/sda
      1      8      32        1      active sync  /dev/sdc
      2      8      48        2      active sync  /dev/sdd
      3      8      64        3      active sync  /dev/sde


davide123 11-02-2010 02:59 PM

Can anybody help me here?

mostlyharmless 11-02-2010 03:15 PM

Clearly /dev/md0 is showing 3 Tb; but what filesystem are you using? (ie ext3, xfs....) and how did you format it? (ie default parameters?)

davide123 11-03-2010 07:44 AM

I am used mkfs.ext3 to format the hard drives with ext3 FS

davide123 11-03-2010 07:48 AM

I don't know what is going on I haven't touched this machine since I posted the issue but now all of a sudden I can mount /dev/md0 and it shows 2.7TB so I guess I fixed it?

The power went out on Monday and forced the machine to reboot, so maybe that is all it needed?

mostlyharmless 11-03-2010 08:34 AM

Probably! Ext3's maximum capacity depends on how it was formatted, but you should easily have 3 Tb. Guess you can mark it solved.


All times are GMT -5. The time now is 09:48 PM.