mkfs.ext4 fails to create 38TB file system on CentOS 6.4 64bit with this
error:
mkfs.ext4: Size of device /dev/vg02/vtapes too big to be expressed in 32
bits
using a blocksize of 4096.
More details follow:
# uname -a
Linux tzbackup 2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28 17:19:38 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
# fdisk -l /dev/sdc
Disk /dev/sdc: 41996.7 GB, 41996727091200 bytes
255 heads, 63 sectors/track, 5105811 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
# pvdisplay /dev/sdc
--- Physical volume ---
PV Name /dev/sdc
VG Name vg02
PV Size 38.20 TiB / not usable 4.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 10012799
Free PE 0
Allocated PE 10012799
PV UUID qGIgYy-Q8N2-xUjM-58Zb-uEnu-qFNY-NGjkhx
# vgdisplay /dev/vg02
--- Volume group ---
VG Name vg02
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 38.20 TiB
PE Size 4.00 MiB
Total PE 10012799
Alloc PE / Size 10012799 / 38.20 TiB
Free PE / Size 0 / 0
VG UUID T1jUYU-wBTG-u0aN-AtYV-iFf8-S6Hw-zMuacu
# lvdisplay /dev/vg02/vtapes
--- Logical volume ---
LV Path /dev/vg02/vtapes
LV Name vtapes
VG Name vg02
LV UUID 6cktBz-ayFL-5XVp-kVEp-4giU-A1Kc-Jjf2UV
LV Write Access read/write
LV Creation host, time tzbackup, 2013-09-20 13:29:30 -0700
LV Status available
# open 0
LV Size 38.20 TiB
Current LE 10012799
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:8
# mkfs.ext4 -b 4096 /dev/vg02/vtapes
mke2fs 1.41.12 (17-May-2010)
mkfs.ext4: Size of device /dev/vg02/vtapes too big to be expressed in 32
bits
using a blocksize of 4096.
Any idea?
Thanks,
-- Peter