Trying to mount 13 Tb disk on RedHat system.

Margaret Doll Margaret_Doll at brown.edu
Thu Aug 13 20:10:40 UTC 2009


We got to create the 13 Tb partition on the  aux  disk on the RedHat  
system by using parted, but then mkfs.ext3 doesn't work on any  
partition larger than 2 Tb.

If we split the aux disk into 2 Tb partitions, I understand from http://www.linuxnix.com/2009/04/logical-volume-manager-lvm-in-redhat.html
that we use fdisk to  change the partition type to  83 Linux LVM.   
Unfortunately fdisk will only see the first 2 Tb partition, so we  
can't create a LVM
of the partitions.

We went back to parted and created one 13 Tb partition.  Then inside   
parted, we used

mkfs 0 ext3

The program said  that ext3  was not supported in this version of  
parted, but ext2 was.  I oked, ext2.
Inside parted

(parted) print

Model: IFT A16F-G2430 (scsi)
Disk /dev/sdc: 13.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name     Flags
  1      17.4kB  13.0TB  13.0TB  ext3         primary

the partition is  labeled as a ext3 file system.

Our 13 Tb partition was added to /etc/fstab as a ext3  filesystem and  
mounted on  the system.

"df -h" though lists it as a 1.8 Tb system.

/dev/sdc1             1.8T  196M  1.7T   1% /m3team

How  can we monitor the space used on the 13 Tb disk assuming that it  
is mounted correctly?
How  do we tell if it is mounted correctly?



On Aug 12, 2009, at 6:02 PM, sigpedag wrote:

> Margaret Doll a écrit :
>> We are trying to use a 13 Tb disk on one of the latest RedHat  
>> system; namely, 2.6.18-128.4.1.el5xen.
>> "ext3" cannot see beyond 2 Tb.
>
> ext3 can manage 16TiB filesystems, but some tools (like "fdisk") can  
> only deal with 2TiB.
>
> You can use GPT partitions and "parted" instead of "fdisk" like  
> Margaret suggests.
>
> If you want to use standard tools, just split your 13TiB storage  
> into 2TiB pieces and "glue" them with LVM, this is how I use a +3TiB  
> storage.
>
> - If the storage is seen like a single disk by the system, create  
> 2TiB partitions with fdisk and change the type for "8E" (LVM), then  
> add this partitions to LVM with "pvcreate /dev/sdX1 /dev/sdX2 /dev/ 
> sdX3 ..."
>
> - If you can, create 2TiB LUNs, and use them directly in LVM, this  
> is much simpler, you don't have any partition to make : "pvcreate / 
> dev/sdX /dev/sdY /dev/sdZ ..."
>
> After that, create a LV with the LVM devices and then create a LV in  
> the VG and then you can do a "mkfs.ext3" on the 13TiB LVM device.
>
> Nicolas
>
> -- 
> Ce message a ete verifie par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a ete trouve.
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list