linux – 文件对于/ dev / null来说太大了
发布时间:2020-05-23 22:51:59 所属栏目:Linux 来源:互联网
导读:在测试LUN读取错误时,我遇到了以下问题: find /mnt/problem_lun/ -type f -print -exec dd if={} of=/dev/null bs=8k ;.../mnt/problem_lun/a_filedd: writing `/dev/null: File too large33619977+0 records in33619976+0 re
|
在测试LUN读取错误时,我遇到了以下问题: find /mnt/problem_lun/ -type f -print -exec dd if={} of=/dev/null bs=8k ;
...
/mnt/problem_lun/a_file
dd: writing `/dev/null': File too large
33619977+0 records in
33619976+0 records out
275414843392 bytes (275 GB) copied,804.171 s,342 MB/s
IBM硬件,RHEL 6.6 谁是罪魁祸首,只要这个特定的文件可以被读取而没有任何错误? 解决方法看起来你的/ dev / null可能已经被删除了,所以当你开始写它时你正在写一个普通文件而不是字符特殊的空设备.你通过查看ls的输出来确认这一点 $ls -l /dev/null crw-rw-rw-. 1 root root 1,3 Sep 28 08:11 /dev/null 如果我是对的,那么你就不会看到角色特殊装置. MAKEDEV std 哪个应该适用于EL6或 mknod -m 666 /dev/null c 1 3 (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- linux – 在LAN中对AD进行DMZ身份验证的最佳实践
- linux – 需要修复用户主目录中的文件权限
- linux – 如何在指定目录中使用locate命令?
- Basic Data Structures and Algorithms in the Linux Kerne
- linux – 在QT应用程序中嵌入应用程序(在本例中为终端)
- linux – / tmp使用100%在哪里是文件?
- 有没有GUI的Linux发行版?托管公司安装什么?
- linux – 带负面模式的grep
- linux – 对yum更新?或不?
- 使用Linux上的C访问Sony Playstation SixAxis Controller
