LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-12-2012, 04:13 AM   #1
Evocati
LQ Newbie
 
Registered: Aug 2012
Posts: 14

Rep: Reputation: Disabled
3TiB Raid 5 appearing as 800GiB


I'm having some issues and can't seem to find the answer to this problem. After I partitioned and created the raid through mdadm, I figured that all was well, but it's only appearing to be 800gb. I went and grabbed Gparted, but it doesn't look like that supports fakeraid yet.

here is the current status of the raid array:
Code:
root@evocati-desktop:/home/evocati# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md0 : active raid5 sdd1[4] sdb1[1] sdc1[2] sda1[0]
      2930280960 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
      
unused devices: <none>
root@evocati-desktop:/home/evocati#
Can anyone direct me in the right direction? Ubuntu forums don't actually have an answer :-(
 
Old 08-12-2012, 04:27 AM   #2
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
Well maybe you need to format /dev/md0 with a filesystem and then mount it.
 
Old 08-12-2012, 12:24 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
Fake raid is a cheap raid chipset as opposed to a real hardware raid card/chip. Did you create this raid on the bios of your raid card?
 
Old 08-12-2012, 02:07 PM   #4
Evocati
LQ Newbie
 
Registered: Aug 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
No, I'm using the raid on my mb (Z77 Extreme4-M)

It's been formatted.

Code:
root@evocati-desktop:/home/evocati# mkfs.msdos /dev/md0
mkfs.msdos 3.0.12 (29 Oct 2011)
root@evocati-desktop:/home/evocati# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md0 : active raid5 sdd1[4] sdb1[1] sdc1[2] sda1[0]
      2930280960 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
      
unused devices: <none>
root@evocati-desktop:/home/evocati#
 
Old 08-12-2012, 09:11 PM   #5
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
where have you mounted the raid partition or does it show up in your file manager.
and how did you determine that's only 800 GB.
What shows mount if you type it in a terminal.

Last edited by whizje; 08-12-2012 at 09:14 PM.
 
Old 08-12-2012, 09:41 PM   #6
Evocati
LQ Newbie
 
Registered: Aug 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by whizje View Post
where have you mounted the raid partition or does it show up in your file manager.
and how did you determine that's only 800 GB.
What shows mount if you type it in a terminal.
I had it mounted in / and then I moved it to /media/Server. I found it was only observed as 801gb through properties and then 756gb on the network.

Currently, it's not mounted so it doesn't show up.

Code:
root@evocati-desktop:/home/evocati# mount
/dev/sde1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/evocati/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=evocati)
/dev/sdg1 on /media/usb type vfat (rw)
root@evocati-desktop:/home/evocati#
However, after I mount it with

Code:
mount /dev/md0 /media/server
[...]
gvfs-fuse-daemon on /home/evocati/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=evocati)
/dev/sdg1 on /media/usb type vfat (rw)
/dev/md0 on /media/server type vfat (rw)
root@evocati-desktop:/home/evocati#

Last edited by Evocati; 08-12-2012 at 09:46 PM.
 
Old 08-13-2012, 05:30 AM   #7
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
Are all partitions in the RAID5 of the same size?

I’m also not sure, whether it’s a fake RAID or a plain software RAID. Because even with a fake RAID, it’s presented to be only one disk to the user and the geometry is hidden like with a real hardware RAID – no need to use any mdadm tools.
 
Old 08-13-2012, 08:03 AM   #8
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
what gives
Code:
df /dev/md0
 
Old 08-13-2012, 09:44 AM   #9
Evocati
LQ Newbie
 
Registered: Aug 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Well, I managed to resolve the issue. It turns out that there's a 2Tb max for msdos partitions, but not for ext4 formats, so I just formatted the raid in to an EXT4 instead. Some software space was eaten up, but at this point, I'm just happy to have the darned thing mounting.

Odd note, it's mounting as a root item instead of user so I can't share the drive :-s I'm still working on how to make this a user item so I should have my network up and running sometime in the next couple days.
 
  


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
LXer: Tutorial: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 08-14-2008 11:20 PM
LXer: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 02-26-2008 09:40 PM
GUI login not appearing nikhilhandigol SUSE / openSUSE 3 10-26-2005 08:55 AM
PDF appearing as symbols AMMullan Linux - Software 2 12-12-2004 07:53 PM
phpMyadmin not appearing in browser Steel Shepherd Linux - Software 3 02-21-2004 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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