建立一個Ramdisk - Input/output error |
尚未結案
|
ajuang
一般會員 ![]() ![]() 發表:7 回覆:11 積分:3 註冊:2004-08-30 發送簡訊給我 |
After I built a Ramdisk, I can not write it? Could you help me? # dd if=/dev/zero of=/dev/ram0 bs=1k count=4096
4096 0 records in
4096 0 records out
# mke2fs /dev/ram0 4096
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
1024 inodes, 4096 blocks
204 blocks (4.98%) reserved for the super user
First data block=1
1 block group
8192 blocks per group, 8192 fragments per group
1024 inodes per group
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 36 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
# mkdir /mnt/rootfs
# mount /dev/ram0 /mnt/rootfs/
# cd /mnt/rootfs/
# mkdir bin
mkdir: cannot create directory `bin': Input/output error
#
|
ajuang
一般會員 ![]() ![]() 發表:7 回覆:11 積分:3 註冊:2004-08-30 發送簡訊給我 |
以上我是在RedHat FC2英文版上的結果.我嘗試在RedHat 9英文版上卻沒問題!!! RedHat 9
=================
# dd if=/dev/zero of=/dev/ram0 bs=1k count=4096
4096 0 records in
4096 0 records out
# mke2fs /dev/ram0 4096
mke2fs 1.32 (09-Nov-2002)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
1024 inodes, 4096 blocks
204 blocks (4.98%) reserved for the super user
First data block=1
1 block group
8192 blocks per group, 8192 fragments per group
1024 inodes per group
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
# mkdir /mnt/rootfs
# mount /dev/ram0 /mnt/rootfs/
# cd /mnt/rootfs/
# mkdir bin
#
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |