AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-64818

yakatz's questions

Martin Hope
yakatz
Asked: 2023-12-08 21:39:58 +0800 CST

3/12 内存插槽不起作用 - 处理器或主板坏了

  • 6

我有一台 Dell PowerEdge M630 刀片服务器,配备 2 个 Xeon E5-2630 v4 处理器,支持四通道内存。该刀片支持 24 条 RAM,每个处理器 12 条,每通道 3 个插槽。

我添加了 RAM 来填满它(24 个 16GB 内存条),但系统显示只有 336 GB,而不是 384GB,并且 iDRAC 清单显示插槽 B3、B7 和 B11 未填充。没有 BIOS 警告或 iDRAC 警告。

我调换了棍子,以确保问题不在于特定的死棍。我的下一个想法是尝试更换处理器,看看是否是处理器或插槽/主板的问题,但在我解决这个问题之前,还有什么我应该检查的吗?

,内存布局

memory
  • 1 个回答
  • 50 Views
Martin Hope
yakatz
Asked: 2019-09-12 14:17:00 +0800 CST

新创建的 XFS 文件系统显示已使用 78 GB

  • 22

我们有一个 12 TB 的 RAID 6 阵列,它应该设置为带有XFS文件系统的单个分区。在创建新文件系统时,它说它有 78 GB 正在使用,但驱动器上没有文件。

[root@i00a ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs         32G     0   32G   0% /dev
tmpfs            32G     0   32G   0% /dev/shm
tmpfs            32G   11M   32G   1% /run
tmpfs            32G     0   32G   0% /sys/fs/cgroup
/dev/sdb3       154G  3.9G  150G   3% /
/dev/sdb2      1014M  153M  862M  16% /boot
/dev/sdb1       599M  6.7M  593M   2% /boot/efi
/dev/sdc1       187G  1.6G  185G   1% /var
tmpfs           6.3G     0  6.3G   0% /run/user/0
/dev/sda1        11T   78G   11T   1% /export/libvirt

我做错什么了吗?这是设计使然吗?

看起来文件系统日志只占用了大约 2 GB,我不知道还有什么可以使用该空间。

[root@i00a ~]# xfs_info /export/libvirt/
meta-data=/dev/sda1              isize=512    agcount=11, agsize=268435455 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=1, rmapbt=0
         =                       reflink=1
data     =                       bsize=4096   blocks=2929458688, imaxpct=5
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
log      =internal log           bsize=4096   blocks=521728, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

分区信息:

[root@irb00a ~]# parted /dev/sda1
GNU Parted 3.2
Using /dev/sda1
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: Unknown (unknown)
Disk /dev/sda1: 12.0TB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system  Flags
 1      0.00B  12.0TB  12.0TB  xfs

这是一个戴尔 FX2,具有四个 FC430 计算节点和两个 FD332 存储节点,运行 Red Hat Enterprise Linux 8 ( Ootpa )。

storage
  • 2 个回答
  • 7540 Views
Martin Hope
yakatz
Asked: 2018-12-07 16:32:01 +0800 CST

设置“运行-保护-管理-组-任务”扩展权限

  • 1

我修改了域中AdminSDHolder 对象的安全设置,并且需要很长时间才能将设置传播给我的管理员用户。我尝试runProtectAdminGroupsTask手动运行,但LDP说我无权进行更改。我看到'Run-Protect-Admin-Groups-Task' (GUID 7726b9d5-a4b4-4288-a6b2-dce952e80a7f)执行这个修改命令需要一个权限(),但我不知道如何设置它。我是Enterprise Admins和Schema Admins的成员Domain Admins。

命令:
LDE 修改命令

错误:
带有错误消息的 LDE

看起来Run Protected Admin Groups Task已经在权限列表中Enterprise Admins:
<code>运行受保护的管理员组任务</code>

是否有另一种方法来设置此权限或手动设置Run Protected Admin Groups Task?

active-directory
  • 1 个回答
  • 409 Views
Martin Hope
yakatz
Asked: 2018-06-08 19:39:43 +0800 CST

amgtar 和 GNUTAR 之间的区别

  • 1

我们有数百个系统使用 AMANDA 备份到磁带库。每天我们都会收到一封电子邮件,其中包含一长串奇怪的备份结果。几乎所有这些都是因为正在写入日志文件或正在 Web 服务器上更新基于文件的缓存。例如(5 台机器显示各种 STRANGE 消息):

STRANGE DUMP DETAILS:
  /-- av1 / lev 2 STRANGE
  sendbackup: start [avion:/ level 2]
  sendbackup: info BACKUP=/bin/tar
  sendbackup: info RECOVER_CMD=/bin/tar -xpGf - ...
  sendbackup: info end
  ? /bin/tar: ./boot: directory is on a different filesystem; not dumped
  ? /bin/tar: ./dev: directory is on a different filesystem; not dumped
  ? /bin/tar: ./fs: directory is on a different filesystem; not dumped
  ? /bin/tar: ./proc: directory is on a different filesystem; not dumped
  ? /bin/tar: ./run: directory is on a different filesystem; not dumped
  ? /bin/tar: ./sys: directory is on a different filesystem; not dumped
  ? /bin/tar: ./wwwusers: directory is on a different filesystem; not dumped
  | /bin/tar: ./tmp/.X11-unix/X0: socket ignored
  | /bin/tar: ./tmp/gpg-v9zbWU/S.gpg-agent: socket ignored
  | Total bytes written: 795084800 (759MiB, 740KiB/s)
  sendbackup: size 776450
  sendbackup: end
  \--------
  /-- gitlab / lev 3 STRANGE
  sendbackup: start [gitlab:/ level 3]
  sendbackup: info BACKUP=/bin/tar
  sendbackup: info RECOVER_CMD=/bin/tar -xpGf - ...
  sendbackup: info end
  | /bin/tar: ./tmp/gitaly-ruby215330643/socket.0: socket ignored
  | /bin/tar: ./tmp/gitaly-ruby215330643/socket.1: socket ignored
  | /bin/tar: ./var/lib/gssproxy/default.sock: socket ignored
  ? /bin/tar: ./var/log/gitlab/gitlab-workhorse/current: file changed as we read it
  ? /bin/tar: ./var/log/gitlab/nginx/gitlab_access.log: file changed as we read it
  | /bin/tar: ./var/opt/gitlab/gitaly/gitaly.socket: socket ignored
  | /bin/tar: ./var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: socket ignored
  | /bin/tar: ./var/opt/gitlab/gitlab-workhorse/socket: socket ignored
  | /bin/tar: ./var/opt/gitlab/postgresql/.s.PGSQL.5432: socket ignored
  | /bin/tar: ./var/opt/gitlab/redis/redis.socket: socket ignored
  | /bin/tar: ./var/spool/postfix/private/anvil: socket ignored
  | /bin/tar: ./var/spool/postfix/private/bounce: socket ignored
  | /bin/tar: ./var/spool/postfix/private/defer: socket ignored
  | /bin/tar: ./var/spool/postfix/private/discard: socket ignored
  | /bin/tar: ./var/spool/postfix/private/error: socket ignored
  | /bin/tar: ./var/spool/postfix/private/lmtp: socket ignored
  Look in the '/var/log/amanda/log.error/gitlab._.3.20180606231049.errout' file for full error messages
  \--------
  /-- haproxy00-127 / lev 3 STRANGE
  sendbackup: start [haproxy00-127:/ level 3]
  sendbackup: info BACKUP=/bin/tar
  sendbackup: info RECOVER_CMD=/bin/tar -xpGf - ...
  sendbackup: info end
  ? /bin/tar: ./var/log/messages: file changed as we read it
  Look in the '/var/log/amanda/log.error/haproxy00-127._.3.20180607003248.errout' file for full error messages
  \--------
  /-- imap00 /srv/dovecot lev 0 STRANGE
  sendbackup: start [imap00:/srv/dovecot level 0]
  sendbackup: info BACKUP=/bin/tar
  sendbackup: info RECOVER_CMD=/bin/tar -xpGf - ...
  sendbackup: info end
  ? /bin/tar: ./a1/Maildir/new/1528332018.M.imap00.example.com,S=6309,W=6430: File removed before we read it
  ? /bin/tar: ./a1/Maildir/new/1528335571.M.imap00.example.com,S=8299,W=8451: File removed before we read it
  ? /bin/tar: ./a2/Maildir/cur/1528306776.M.imap00.example.com,S=13517,W=13770\:2,Scd: File removed before we read it
  ? /bin/tar: ./a2/Maildir/cur/1528332257.M.imap00.example.com,S=22257,W=22562\:2,STcd: File removed before we read it
  ? /bin/tar: ./a3/Maildir/cur/1528287062.M.imap00.example.com,S=10343,W=10558\:2,: File removed before we read it
  ? /bin/tar: ./a3/Maildir/cur/1528297383.M.imap00.example.com,S=4179,W=4265\:2,: File removed before we read it
  ? /bin/tar: ./a3/Maildir/cur/1528312816.M.imap00.example.com,S=29364,W=29796\:2,: File removed before we read it
  ? /bin/tar: ./a3/Maildir/new/1528327304.M.imap00.example.com,S=52059,W=53029: File removed before we read it
  ? /bin/tar: ./a4/Maildir/.folder/dovecot.index.log.2: File removed before we read it
  ? /bin/tar: ./a4/Maildir/.Personal/dovecot.index.log.2: File removed before we read it
  ? /bin/tar: ./a4/Maildir/.Trash/cur/1527783480.M.imap00.example.com,S=31976,W=32433\:2,Sab: File removed before we read it
  ? /bin/tar: ./a4/Maildir/cur/1528336066.M.imap00.example.com,S=122100,W=124740\:2,ab: File removed before we read it
  ? /bin/tar: ./a4/Maildir/cur/1528337059.M.imap00.example.com,S=28553,W=28964\:2,ab: File removed before we read it
  Look in the '/var/log/amanda/log.error/imap00._srv_dovecot.0.20180606220538.errout' file for full error messages
  \--------
  /-- webserver1 / lev 2 STRANGE
  sendbackup: start [webserver1:/ level 2]
  sendbackup: info BACKUP=/bin/tar
  sendbackup: info RECOVER_CMD=/bin/tar -xpGf - ...
  sendbackup: info end
  ? /bin/tar: ./var/log/httpd/kemp_access_log: file changed as we read it
  ? /bin/tar: ./var/log/httpd/wiki.example.com_access_ssl.log: file changed as we read it
  ? /bin/tar: ./var/log/httpd/www.example.com_access.log: file changed as we read it
  ? /bin/tar: ./var/log/httpd/www.example.com_ssl_access_ssl.log: file changed as we read it
  Look in the '/var/log/amanda/log.error/webserver1._.2.20180607004437.errout' file for full error messages
  \--------

(brought to you by Amanda version 3.3.3)

我们当前配置的相关部分:

define dumptype nocomp-root-tar {
    program "GNUTAR"
    comment "Root partitions with gtar"
    compress none
    estimate server
    priority low
    exclude list "/etc/amanda/amanda.exclude.list"
    auth "bsd"
}
define dumptype nocomp-user-tar {
    program "GNUTAR"
    comment "Non-root partitions with gtar"
    compress none
    estimate server
    priority medium
    exclude list "/etc/amanda/amanda.exclude.list"
    auth "bsd"
}

我们不想仅仅因为这些文件可能会更改或消失而从备份中排除这些文件。我们也不能在备份运行时禁用 IMAP 服务器。看起来我可以更改我们的系统以amgtar用作他们的备份方法,这将使我们消除所有这些消息。

define application-tool app_amgtar {
    plugin "amgtar"

    property        "NORMAL" ": socket ignored$"
    property append "NORMAL" "file changed as we read it$"
    property append "NORMAL" ": directory is on a different filesystem; not dumped$"
    property append "NORMAL" ": File removed before we read it$"

}
define dumptype nocomp-root-amgtar {
    program "APPLICATION"
    application "app_amgtar"
    comment "Root partitions with amgtar"
    compress none
    estimate server
    priority low
    exclude list "/etc/amanda/amanda.exclude.list"
    auth "bsd"
}
...

有什么缺点amgtar吗?

如果我们进行此更改,恢复旧备份会更困难吗?

文档似乎说只GNUTAR支持exclude list. 是否amgtar也支持它,因为它GNUTAR在下面使用?

amanda
  • 1 个回答
  • 289 Views
Martin Hope
yakatz
Asked: 2018-04-19 15:30:39 +0800 CST

停止前始终保存 HAProxy 服务器状态

  • 1

我们有时使用管理套接字禁用 HAProxy 中的特定服务器(在 RedHat 7 上运行,但在本地编译,因为 RedHat 不提供 1.8),我们希望在服务器重新启动时保持状态。我们将 HAProxy 设置为从带有 的文件中加载其状态server-state-file,但我们需要记住每次进行更改时都保存状态文件。有没有一种好方法可以确保每次服务器停止时都保存状态?
如果 systemd 有ExecPreStop=,我们可以在/etc/systemd/system不修改分布式单元文件的情况下将其从文件中包含在内,但 systemd 开发人员表示他们认为不需要该指令。

haproxy
  • 2 个回答
  • 755 Views
Martin Hope
yakatz
Asked: 2018-02-28 05:21:05 +0800 CST

同步网桥接口的状态

  • 1

我们有冗余的 10G 光纤链接到我们的上游互联网提供商,处于活动/故障转移配置中。在我们的路由器和上游路由器之间,我们有一对以透明模式运行 Vyos 的防火墙。我们使用 BGP 进行路由通告,我们无法更改大部分参数。

绘画:网络布局图

如果到其中一台路由器的链路出现故障(例如,x图中带有 的路由器 - 这恰好是我们最常见的故障类型),整个网络将无法访问,直到 BGP 超时(最长 150 秒)。我已经知道,如果我们强制桥另一侧的链路关闭,我们的路由器将立即开始通过另一条链路转发流量。

如果另一侧发生故障,是否有某种方法可以自动关闭防火墙上桥的一侧?

该解决方案是否有任何隐藏的陷阱?

bridge
  • 2 个回答
  • 127 Views
Martin Hope
yakatz
Asked: 2015-12-15 12:17:24 +0800 CST

在 FreeIPA/RedHat IdM 中限制 LDAP 属性读取到自身

  • 2

在我们的环境中,employeeNumber是一个敏感字段,我们不希望所有用户都可以读取它。默认情况下,IdM/IPA 具有System: Read User Addressbook Attributes包含employeeNumber 属性的默认权限,但我们将其删除(使用IPA Web 界面)。这产生了不再允许用户查看他们自己的employeeNumber.

我知道我可以手动创建一个ACI( (targetattr = "employeeNumber")(version 3.0;acl "User: Read own employeeNumber";allow (read) userdn = "ldap:///self";)) 来让用户重新获得对他们自己的访问权限employeeNumber,但我更愿意在 IPA 界面中执行此操作。我似乎找不到任何包含的选项来授予用户对某些内容的只读访问权限 - 甚至是自助服务设置,但这仅提供写访问权限,但不提供读访问权限。

freeipa
  • 1 个回答
  • 890 Views
Martin Hope
yakatz
Asked: 2014-11-07 20:10:21 +0800 CST

Exchange 中的新邮件将转到其他文件夹,而不是收件箱

  • 3

我们有一个用户突然将她的新邮件转到文件夹“已​​删除邮件-> 不想要的”。她声称她没有改变任何东西,另一位 Exchange 管理员说他没有改变任何东西。我在她的电脑上检查了 OWA 和 Outlook 中的规则。我已经没有地方可以看了。我也不知道还有哪些其他信息可能是相关的。

服务器是 Exchange 2007 2013(我们在过去几周升级了),客户端是 Windows 7 Pro 上的 Outlook 2013。

更新:用户对问题的描述是“所有新邮件”,但我注意到实际上只有来自邮件列表和 Gmail 帐户的邮件被移动。来自内部地址和非 Gmail 帐户的邮件保留在收件箱中。

我还注意到,大多数邮件实际上在收件箱中出现了几秒钟,然后才被移动。这使我相信可能涉及移动设备。

exchange-2013
  • 2 个回答
  • 7869 Views
Martin Hope
yakatz
Asked: 2012-06-13 14:00:27 +0800 CST

将 DRAC 重置为出厂默认设置

  • 5

我把一个很久不用的DRAC放到了一台运行CentOS 5.8的PowerEdge 1750上。
因为我们在单独的网络上运行我们的 DRAC,所以我们没有更改默认密码 (root/calvin),但显然有人更改了这个密码。
我尝试了常规命令行重置 ( racadm racresetcfg),但出现以下错误:

错误:无法执行请求的操作。
如果尝试的操作是配置 DRAC,可能的原因可能
是禁用了使用 RACADM 的本地配置。

这对我来说意味着racadm能够通信,但 DRAC 上的设置阻止它工作。

我无法在任何戴尔文档中找到对此错误的任何引用。

有没有人看到这个问题和/或知道我能做些什么?
(DRAC 没用,我无法登录。)

drac dell-poweredge
  • 3 个回答
  • 46564 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve