LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-29-2010, 10:46 AM   #1
davide123
Member
 
Registered: Jan 2010
Location: tampa bay fl
Distribution: fedora redhat 9 10 11 12 13 &14 x86_64 & i686; Peppermint, MintOne; RHEL 4 5 6, Ubuntu, SliTaz etc,
Posts: 102

Rep: Reputation: 16
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

Last edited by davide123; 10-29-2010 at 10:49 AM.
 
Old 10-30-2010, 03:01 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
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
.
 
Old 10-30-2010, 09:15 AM   #3
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
The output of:
Code:
mdadm --detail /dev/md0
Would be helpful here.
 
Old 10-31-2010, 07:57 AM   #4
davide123
Member
 
Registered: Jan 2010
Location: tampa bay fl
Distribution: fedora redhat 9 10 11 12 13 &14 x86_64 & i686; Peppermint, MintOne; RHEL 4 5 6, Ubuntu, SliTaz etc,
Posts: 102

Original Poster
Rep: Reputation: 16
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?
 
Old 10-31-2010, 08:38 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Are you using 32 or 64 bit Linux? I am not sure if 32 bit systems can handle file-systems that large.
 
Old 11-01-2010, 01:12 PM   #6
davide123
Member
 
Registered: Jan 2010
Location: tampa bay fl
Distribution: fedora redhat 9 10 11 12 13 &14 x86_64 & i686; Peppermint, MintOne; RHEL 4 5 6, Ubuntu, SliTaz etc,
Posts: 102

Original Poster
Rep: Reputation: 16
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
 
1 members found this post helpful.
Old 11-02-2010, 02:59 PM   #7
davide123
Member
 
Registered: Jan 2010
Location: tampa bay fl
Distribution: fedora redhat 9 10 11 12 13 &14 x86_64 & i686; Peppermint, MintOne; RHEL 4 5 6, Ubuntu, SliTaz etc,
Posts: 102

Original Poster
Rep: Reputation: 16
Can anybody help me here?
 
Old 11-02-2010, 03:15 PM   #8
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
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?)

Last edited by mostlyharmless; 11-02-2010 at 03:18 PM.
 
Old 11-03-2010, 07:44 AM   #9
davide123
Member
 
Registered: Jan 2010
Location: tampa bay fl
Distribution: fedora redhat 9 10 11 12 13 &14 x86_64 & i686; Peppermint, MintOne; RHEL 4 5 6, Ubuntu, SliTaz etc,
Posts: 102

Original Poster
Rep: Reputation: 16
I am used mkfs.ext3 to format the hard drives with ext3 FS
 
Old 11-03-2010, 07:48 AM   #10
davide123
Member
 
Registered: Jan 2010
Location: tampa bay fl
Distribution: fedora redhat 9 10 11 12 13 &14 x86_64 & i686; Peppermint, MintOne; RHEL 4 5 6, Ubuntu, SliTaz etc,
Posts: 102

Original Poster
Rep: Reputation: 16
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?
 
Old 11-03-2010, 08:34 AM   #11
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

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


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
/dev/md0 not showing after reboot tflarsen Fedora 2 05-30-2008 03:07 AM
How To Clone Single Drive To Raid 1+0 (copy /dev/sde to /dev/md0)? alfista Linux - Server 5 03-18-2008 10:57 PM
How To Clone Single Drive To Raid 1+0 (copy /dev/sde to /dev/md0)? alfista Linux - Server 2 03-17-2008 10:26 PM
How To Clone Single Drive To Raid 1+0 (copy /dev/sde to /dev/md0)? alfista Linux - Server 2 03-13-2008 04:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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