LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-26-2008, 03:36 AM   #1
batfastad
Member
 
Registered: Nov 2004
Location: London, UK
Distribution: CentOS, RHEL, Debian, IPCop, PS2Linux
Posts: 95

Rep: Reputation: 23
Question Large RAID Partition for a NAS


Hi everyone

I have successfully installed a 3ware RAID card in our test server. It's set up as a RAID 6 using the 3ware BIOS RAID manager, with 5x500GB drives.

This gives me a capacity of around 1.4TB



The device is at /dev/sda and I've already played around creating a large partition on the device, but I want to make sure I get this absolutely right... before I fill it with data that will be difficult to move anywhere else.



I'm using Ubuntu Server 8.04 and I tried creating the partition with cfdisk, then formatting it as ext3 with mkfs. I can mount/umount fine and files appear to stay on there, for the moment

I tried using the graphical GParted tool but it was giving me grief - I think because I was trying to create a partition >1TB in size



However I ran the sudo fdisk -l command to list all the partition information so I could edit fstab to have the drive auto-mounted.

I get the following warning in fdisk for my RAID device at /dev/sda:


Code:
Disk /dev/sda: 1499.9GB, 1499968045056 bytes
255 heads, 63 sectors/track, 182360 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table
Then it goes on about /dev/sdb which is the main internal boot drive, but doesn't display such a warning for my 120GB boot drive.


Eventually I will be looking to add further drives to this array to increase the capacity to 2.5TB (there's 2 spare hot-swap bays in the backplane units we bought).
The 3ware card has some sort of online capacity expansion, but I worry that I'll have to re-partition.



So basically what's the best/most future proof way to create and then format large partitions over 1-2TB?

Should I just ignore that fdisk error?

Or is that something serious that needs looking at now?

Will the ext3 file system be ok for what I'm looking for?


Thanks, B
 
Old 06-28-2008, 02:30 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
That sounds odd. Now I don't have drives with that kind
of capacity floating about, but what does cfdisk think the
partitioning scheme is?

And since there's no actual data on the device - have you
tried partitioning it with fdisk?


Cheers,
Tink

Last edited by Tinkster; 07-06-2008 at 12:42 PM. Reason: fat fingers
 
Old 07-06-2008, 09:04 AM   #3
batfastad
Member
 
Registered: Nov 2004
Location: London, UK
Distribution: CentOS, RHEL, Debian, IPCop, PS2Linux
Posts: 95

Original Poster
Rep: Reputation: 23
I solved this by using fdisk rather than cfdisk, now the partition is correctly appearing as /dev/sda1, and everything seems to be working ok.
I formatted the partition as ext3, and so far it's working great.

During I was mounting the device as /dev/sda which I have now found out is a no-no!

Hope this helps someone out
Cheers B
 
Old 07-06-2008, 09:10 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
Quote:
Originally Posted by batfastad View Post
I solved this by using fdisk rather than cfdisk, now the partition is correctly appearing as /dev/sda1, and everything seems to be working ok.
I formatted the partition as ext3, and so far it's working great.

During I was mounting the device as /dev/sda which I have now found out is a no-no!

Hope this helps someone out
Cheers B
Yeah, think of /dev/sda or sdb without numbers as the raw disk, not partitioned or formatted. *nix will always append a number on a valid partition once it's sliced up, formatted, partitioned and a filesystem has been slapped on it.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software RAID 5 for NAS/File Server – Need help compiling a ‘general’ user resource zzsprade Linux - Server 2 04-06-2007 12:01 AM
unable to mount (large) NAS windows file system reitsma Linux - Software 2 11-13-2006 03:22 PM
MySQL RAID Storage for large text jlangdale Programming 1 05-22-2006 10:04 AM
Recommendations for SOHO Linux RAID NAS hardware atulc Linux - Hardware 4 05-04-2006 05:52 PM
Problem Accessing Large RAID Array FlyingPenguin128 Debian 1 05-16-2005 10:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration