root@host [/]# parted
-bash: parted: command not found
Run Code Online (Sandbox Code Playgroud)
我正在使用 CentOS。看起来我只需要先吃它什么的。我该怎么做?
这是我的 fstab:
#
# /etc/fstab
# Created by anaconda on Sat Jan 12 02:12:44 2013
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=fb2b6c2e-a8d7-4855-b109-c9717264da8a / ext4 auto,noatime,noload,data=ordered,commit=10,defaults 1 1
UUID=71362665-f627-41e1-a093-de42a0a356e2 /boot ext3 defaults 1 2
UUID=8024a5cd-af4b-4776-af0d-65ad80af8649 swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0 …Run Code Online (Sandbox Code Playgroud) 我放入UUID=fb2b6c2e-a8d7-4855-b109-c9717264da8a / ext4 auto,noatime,noload,data=ordered,commit=10,defaults 1 1了 fstab
现在服务器无法重新启动。它可以重新启动但拒绝所有类型的连接。
这是我的提供者所说的:
Yeah, the noload option might be problematic... I can't edit /etc/fstab from
single user mode, but I might be able to edit it using one of my pxe boot tools
to enter the filesystem manually. With regards to your request about
/var/log/messages and /var/log/secure, I'm afraid I can't do that for you
(technically, I'm already bordering on managed services by editing your fstab
for you, but I am justifying …Run Code Online (Sandbox Code Playgroud) 我只是好奇。那里有保镖吗?. 和 .. 是我们要删除的目录的“子目录”吗?
我知道它不是子目录,但 linux 将其视为具有目录属性的文件。
root@host [/home4/nudenude/public_html/hello/cache]# top -r
top: unknown argument 'r'
usage: top -hv | -abcHimMsS -d delay -n iterations [-u user | -U user] -p pid [,pid ...]
root@host [/home4/nudenude/public_html/hello/cache]# top
top - 09:15:22 up 32 days, 7:12, 2 users, load average: 274.18, 268.12, 262.50
Tasks: 863 total, 215 running, 630 sleeping, 3 stopped, 15 zombie
Cpu(s): 13.8%us, 85.7%sy, 0.4%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 16313868k total, 7121660k used, 9192208k free, 679320k buffers
Swap: 4194296k total, 311896k used, 3882400k free, 478132k …Run Code Online (Sandbox Code Playgroud) 如果我想安装新的硬盘驱动器,我应该将文件系统设为 Linux 还是 Linux LVM?
在那之后,我必须再次使用mkfs.ext4. 其实我们在做什么?
第一个是格式化,第二个是再次格式化?为什么 Windows 没有这个问题?
我在dmesg. 这是什么意思?
EXT4-fs 错误(设备 sdb1):htree_dirblock_to_tree:目录中的错误条目 #763 3575:rec_len 小于最小值 - block=30429885offset=0(671744), inode=0,
rec_len=0, name_len=0
这到底是怎么发生的?这是因为SDB不好吗?
这就是 /var/messages 所说的
Sep 26 17:15:40 host pure-ftpd: (?@175.44.11.232) [INFO] New connection from 175.44.11.232
Sep 26 17:15:40 host pure-ftpd: (?@27.150.198.182) [INFO] Logout.
Sep 26 17:15:41 host pure-ftpd: (?@216.244.84.165) [WARNING] Authentication failed for user [solarromancecom]
Sep 26 17:15:41 host pure-ftpd: (?@216.244.84.165) [INFO] Logout.
Sep 26 17:15:41 host pure-ftpd: (?@27.150.198.182) [INFO] New connection from 27.150.198.182
Sep 26 17:15:41 host pure-ftpd: (?@216.244.84.165) [INFO] New connection from 216.244.84.165 …Run Code Online (Sandbox Code Playgroud) 我已经要求更换这么多 SSD,我不想再问了。但如果 SSD 确实坏了,仅仅一次服务器宕机就会让我损失 500 美元左右。
那么,如何确定SSD确实坏了呢?
我可以像在Windows中那样重新格式化硬盘吗?磁盘已挂载。
之前松动的引脚使服务器重新启动次数过多。看来它损坏了那里的所有SSD。
/bin/ls: cannot access cache-zch-5666-cache.txt: Input/output error
/bin/ls: cannot access cache-zch-4970-cache.txt: Input/output error
/bin/ls: cannot access cache-zch-4782-cache.txt: Input/output error
./ cache-zch-4782-cache.txt cache-zch-5666-cache.txt
../ cache-zch-4970-cache.txt
root@host [/home2/investgr1/public_html/hello/cache/zch]# rm *
rm: cannot remove `cache-zch-4782-cache.txt': Input/output error
rm: cannot remove `cache-zch-4970-cache.txt': Input/output error
rm: cannot remove `cache-zch-5666-cache.txt': Input/output error
root@host [/home2/investgr1/public_html/hello/cache/zch]#
Run Code Online (Sandbox Code Playgroud) 我想知道我的服务器使用了多少带宽。进多少,出多少。我怎么知道?
我认为有一种软件、netstat 或其他可以处理此类事情的软件。
mkdir /home
Run Code Online (Sandbox Code Playgroud)
然后我们安装一些东西/home。
说/home已经包含文件。
将新驱动器安装到该目录后,旧文件会怎样?
http://linux.about.com/od/commands/l/blcmdl1_top.htm
top - 17:05:46 up 7 min, 1 user, load average: 227.48, 89.29, 36.78
Tasks: 1758 total, 25 running, 1555 sleeping, 1 stopped, 177 zombie
Cpu(s): 1.5%us, 32.1%sy, 58.0%ni, 4.7%id, 2.7%wa, 0.1%hi, 0.8%si, 0.0%st
Mem: 65951776k total, 20235624k used, 45716152k free, 10882480k buffers
Swap: 4194300k total, 0k used, 4194300k free, 3291164k cached
Run Code Online (Sandbox Code Playgroud)
那是什么意思?
http://linux.about.com/od/commands/l/blcmdl1_top.htm对此什么也没说?
我们的意思是用法。sy好像是系统。你?什么是尼?什么是身份证?什么是wa?什么是si?为什么这么多cpu时间花在ni和sy上?