Re: large raid array and fedora 5



Dear Dr. O'Neal,

Thank you very much for your respond. I also read from wikipeadia that
ext3 can support up to 32TB with 8KB block size. How can I do it?

fdisk /dev/sda gives me
----
[root@bcm84-43 ~]# fdisk /dev/sda

The number of cylinders for this disk is set to 455672.
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/sda: 3748.0 GB, 3748030054400 bytes
255 heads, 63 sectors/track, 455672 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-188323, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-188323, default 188323):
Using default value 188323

Command (m for help): p

Disk /dev/sda: 3748.0 GB, 3748030054400 bytes
255 heads, 63 sectors/track, 455672 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 188323 1512701660+ 83 Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
[root@bcm84-43 ~]#
-----

So it is 1.5 TB only. I would appreciate your telling me how I can do
it.

Many thanks,
tat


On May 21, 8:36 am, Douglas O'Neal <o...@xxxxxxxxxxxx> wrote:
Dances With Crows wrote:
tat staggered into the Black Sun and said:
I want to create only one linux partition on a raid 5 array (3.5 TB).
I could not do that with fdisk in fedora 5. I read the net and found
out about 2TB size limit.

Ordinary x86 partition tables are limited in the partition sizes that
can be specified. 32 bits unsigned max * 512-byte sectors = 2T, I
think. You will probably need to use a GPT table.

I have been using a cluster from somewhere in my school and with df
command I saw that the home directory is a raid array and its size is
5.5TB. The cluster is running some kind of linux

The maximum size of an ext3 filesystem is 2T. They might be using XFS,
which can handle larger filesystems.

How can I create a single partition (ext3) on [a 3.5T] raid-5? What
command should I use?

You can't have an ext3 filesystem that's larger than 2T.

The max size for a ext3 file system is 32TB if you use 8kB block sizes.
I have several systems with ext3 file systems larger than 4TB.

mneme # uname -a
Linux mneme 2.6.19-gentoo-r5 #1 SMP Wed Apr 11 11:23:40 EDT 2007 x86_64
Dual Core AMD Opteron(tm) Processor 285 AuthenticAMD GNU/Linux
mneme # df -Th /dev/md/3
Filesystem Type Size Used Avail Use% Mounted on
/dev/md/3 ext3 6.4T 594G 5.5T 10% /home/bacula3

From /usr/src/linux/Documentation/filesystems/ext2.txt:

Most of these limits could be overcome with slight changes in the
on-disk format and using a compatibility flag to signal the format
change (at the expense of some compatibility).

Filesystem block size: 1kB 2kB 4kB 8kB

File size limit: 16GB 256GB 2048GB 2048GB
Filesystem size limit: 2047GB 8192GB 16384GB 32768GB

--
Dr. Douglas O'Neal
Manager, Bioinformatics Center
Delaware Biotechnology Institute
(302) 831-3456


.



Relevant Pages

  • Re: [opensuse] raid question
    ... i partition here the new disk (maybe with fdisk, ... The number of cylinders for this disk is set to 4865. ... Command: m ...
    (SuSE)
  • Re: Installation of hard drive - SOLVED
    ... Wll be also good for you if you learn how to use the number notation for chmod command. ... > Then try to mount the partition using the command line: ... >>> install ... >>> hard disk. ...
    (Debian-User)
  • parted-2.1 released [stable]
    ... run a command like this: ... Use minimum alignment as given by the disk topology information ... align the partition properly to physical blocks, ...
    (gnu.announce)
  • Re: Adding new disk to volume group
    ... create a partition on your new disk: ... Command: ... have only made one single partition on the new disk). ... Read ahead sectors 0 ...
    (RedHat)
  • Re: New HDD Installation
    ... "John John" wrote: ... a single partition disk. ... confirm or change the active flag of the partition using the FDISK command. ... There are other ways to mark the partition active, either with a Windows ...
    (microsoft.public.windowsxp.general)