gpt4 book ai didi

linux - mkdir错误: Invalid argument

转载 作者:IT王子 更新时间:2023-10-29 00:44:08 26 4
gpt4 key购买 nike

问题代码:

[cuixiaohuan lamp]$ mkdir test
mkdir: cannot create directory `test': Invalid argument

linux os正常,没有其他问题;问题突然发生了,怎么解决?

关于环境:
# linux
[cuixiaohuan ~]$ uname -a
Linux cuixiaohuan 2.6.32_1-10-0-0 #1 SMP Fri Feb 1 17:20:11 CST 2013 x86_64 x86_64 x86_64 GNU/Linux

# file permission
[cuixiaohuan lamp]$ ll
total 5744
drwxrwxrwx 16 work work 4096 Jan 21 14:33 apache2
drwxrwxrwx 5 work work 4096 Jul 19 2013 memcached
drwxrwxrwx 13 work work 4096 Jan 8 10:50 mysql5
drwxrwxrwx 8 work work 4096 Dec 7 17:25 php5

# about disk and inonde
[cuixiaohuan lamp]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 8.2G 7.0G 1.2G 86% /
/dev/sda3 1.4T 939G 402G 71% /home
[cuixiaohuan lamp]$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda2 1098880 573014 525866 53% /
/dev/sda3 181288960 6331853 174957107 4% /home

# mount info
[cuixiaohuan lamp]$ mount
/dev/sda2 on / type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda3 on /home type ext2 (rw)

日志信息如下

strace信息是正常的,有人告诉我为什么以及如何解决?

最佳答案

有时,文件系统损坏可能会发生这种情况。

您可以在文件系统上尝试fsck

关于linux - mkdir错误: Invalid argument,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35789341/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com