I am unable to create a file system on a large (> 2TB disk) virtual disk for a Linux VM. I can create the disk, attach it to the VM, partition it with "parted", but I cannot run mkfs.ext4. Details below.
Hyper-V 2012 Core (w/ all Windows/Microsoft updates as of 4/19).
CentOS 6.4 VM w/ 4 virtual processors, 4GB RAM, and 3 dynamic drives:
/dev/sda 100GB IDE dynamic vhdx
/dev/sdb 75GB IDE dynamic vhdx
/dev/sdc 10TB SCSI dynamic vhdx
Using parted, created 500GB partition on the 10TB drive (/dev/sdc1).
(parted) select /dev/sdc
Using /dev/sdc
(parted) print
Model: Msft Virtual Disk (scsi)
Disk /dev/sdc: 11.0TB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 500GB 500GB production_archive
then run: mkfs.ext4 /dev/sdc1
repeating error on console from mkfs.ext4:
INFO: task mkfs.ext4:2581 blocked for more than 120 seconds
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Runaway error in var/log/messages until my /var system filled up - 25G worth of it:
-rw-------. 1 root root 25085329408 Apr 19 23:15 messages
Apr 19 17:39:28 nfs2 kernel: sd 4:0:0:0: [sdc] Sense Key : No Sense [current]
Apr 19 17:39:28 nfs2 kernel: sd 4:0:0:0: [sdc] Add. Sense: No additional sense information
Apr 19 17:39:28 nfs2 kernel: hv_storvsc vmbus_0_13: cmd 0x93 scsi status 0x2 srb status 0x6
Same problem happens when running "mkfs.ext4 -E lazy_itable_init=1 /dev/sdc1"