Hi all, Does anyone know is there any size limitation on ramdisk. If I try to configure any ramdisk larger than 512MB, then I can not mount that ram filesystem.
See Below, I have ramdisk=1200000 in my lilo.conf file, Then I do: [root@mx25 /]# mke2fs /dev/ram0 mke2fs 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09 Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 150080 inodes, 300000 blocks 15000 blocks (5.00%) reserved for the super user First data block=0 10 block groups 32768 blocks per group, 32768 fragments per group 15008 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Writing inode tables: done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 30 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. [root@mx25 /]# mount /dev/ram0 /test mount: wrong fs type, bad option, bad superblock on /dev/ram0, or too many mounted file systems [root@mx25 /]# fsck /dev/ram0 Parallelizing fsck version 1.23 (15-Aug-2001) e2fsck 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09 Couldn't find ext2 superblock, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/ram0 The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> [root@mx25 /]# e2fsck -b 229376 /dev/ram0 e2fsck 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09 e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/ram0 Could this be a zero-length partition? william wu Sr.System Administrator Brightmail, Inc 301 Howard Street #1800 San Francisco, CA 94105 415-365-6135 (work) 510-468-6819(Cell) -- redhat-list mailing list Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list