Making a ramdisk bigger then 512MB
patrickmailing
patrickmailing at narmida.com
Mon Feb 21 09:32:18 UTC 2005
Hello,
I need for my database a ramdisk of 12 GB my problem is that i cannot go
bigger then 512 see logs.
Anyone exp. in this ?
thnx for the help in advance
512 MB:
bubbles:/ # mke2fs -vm0 /dev/ram0 524288
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
131072 inodes, 524288 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
64 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 31 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
bubbles:/ # mount /dev/ram0 /ramdisk
bubbles:/ # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 152219220 684556 151534664 1% /
tmpfs 512064 8 512056 1% /dev/shm
/dev/ram0 507748 13 507735 1% /ramdisk
516 MB:
bubbles:/ # mke2fs -vm0 /dev/ram0 530000
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
66400 inodes, 132500 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
5 block groups
32768 blocks per group, 32768 fragments per group
13280 inodes per group
Superblock backups stored on blocks:
32768, 98304
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
bubbles:/ # mount /dev/ram0 /ramdisk
mount: wrong fs type, bad option, bad superblock on /dev/ram0,
or too many mounted file systems
More information about the fedora-legacy-list
mailing list