对于挂载 Infiniband 卡的服务器,当我使用该ifconfig命令时,我收到以下警告:
Ifconfig uses the ioctl access method to get the full address
information, which limits hardware addresses to 8 bytes.
Because Infiniband address has 20 bytes, only the first 8 bytes
are displayed correctly.
Ifconfig is obsolete! For replacement check ip.
Run Code Online (Sandbox Code Playgroud)
我应该停止使用ifconfig吗?它是否已被弃用以支持该ip命令?还是会在近期更新?
注意:这个问题和答案是关于GNU/Linux 的“主要”发行版的。不应假定该信息适用于所有发行版,尤其不适用于其他操作系统。
我想将 Slurm 作业调度系统中的用户从当前组移动到其他组。但是当我尝试显而易见的事情时出现错误:
sacctmgr modify user where name=example set account=groupb
Run Code Online (Sandbox Code Playgroud)
我得到的唯一方法是删除它并使用新帐户重新创建:
sacctmgr delete user example account=groupa
sacctmgr add user example account=groupb
Run Code Online (Sandbox Code Playgroud)
谢谢
我刚刚使用 dd 将磁盘 (A) 克隆到相同类型的磁盘 (B) 中:
dd if=/dev/sda of=/dev/sdb
Run Code Online (Sandbox Code Playgroud)
现在,我想使用新磁盘 (B) 而不是旧磁盘 (A) 启动服务器。但我在启动过程中遇到错误:
............................Could not find /dev/disk/by-id/scsi-35000c5004c05c167-part3.
Want me to fall back to /dev/disk/by-id/scsi-35000c5004c05c167-part3? (Y/n)
y
Waiting for device /dev/disk/by-id/scsi-35000c5004c05c167-part3 to appear:
..............................not found -- exiting to /bin/sh
Run Code Online (Sandbox Code Playgroud)
我认为问题在于它使用旧磁盘 (A) ID (scsi-35000c5004c05c167) 查询磁盘。在哪里可以更改它以使用新的磁盘 (B) ID?
我正在使用 Suse Linux Enterprise 11
更多信息:
$ ls /dev/disk/by-id/scsi-*
/dev/disk/by-id/scsi-35000c5004bab5733
/dev/disk/by-id/scsi-35000c5004bab5733-part1
/dev/disk/by-id/scsi-35000c5004bab5733-part2
/dev/disk/by-id/scsi-35000c5004bab5733-part3
Run Code Online (Sandbox Code Playgroud) 我有很多来自未定位主机的 dhcp 请求,例如:
dhcpd: DHCPDISCOVER from 00:25:90:54:91:b7 via eth0: network eth0: no free leases
Run Code Online (Sandbox Code Playgroud)
找到查询 dhcp 的主机的最佳方法是什么?
我在一个可重复的数据中心工作,拥有超过 2000 台服务器
我放了一个 cron 脚本/etc/cron.d:
[root@node ~]# cat /etc/cron.d/reconfig
0 */6 * * * root /root/bin/reconfig.pl
Run Code Online (Sandbox Code Playgroud)
但是我没有得到 root 的 cron 任务列表:
[root@node ~]# crontab -l
no crontab for root
Run Code Online (Sandbox Code Playgroud)
我如何检查它是否运行正常?
它是一个 Scientific Linux 6.4 节点。
linux ×3
cron ×1
datacenter ×1
dhcp ×1
hard-drive ×1
ifconfig ×1
iproute2 ×1
networking ×1
sles ×1