I'm trying to crete a ramdisk of 2gb in centOS 6.2 and the error I get is the following. Any help would be greatly appreciated.
[root@ssb1 ~]# mkfs -q /dev/ram0 2147483648
mkfs.ext2: Filesystem larger than apparent device size.
Proceed anyway? (y,n)
grub.conf
title CentOS (2.6.36.4)
root (hd0,0)
kernel /vmlinuz-2.6.36.4 ro root=UUID=be58af32-27ac-45fe-8341-715df43497ac rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet raid=noautodetect elevator=noop ramdisk_size=2147483648
Memory info
[root@ssb1 ~]# free
total used free shared buffers cached
Mem: 49455672 3185524 46270148 0 18228 164792
-/+ buffers/cache: 3002504 46453168
Swap: 0 0 0