问题标签 [xfs]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
2975 浏览

linux-kernel - Is there any solution to the XFS lockup in linux?

Apparently there is a known problem of XFS locking up the kernel/processes and corrupting volumes under heavy traffic. Some web pages talk about it, but I was not able to figure out which pages are new and may have a solution.

My company's deployments have Debian with kernel 3.4.107, xfsprogs 3.1.4, and large storage arrays. We have large data (PB) and high throughput (GB/sec) using async IO to several large volumes. We constantly experience these unpredictable lockups on several systems. Kernel logs/dmesg show something like the following:

Lockups leave the system in a bad state. The processes in D state that hang cannot even be killed with signal 9. The only way to resume operations is to reboot, repair XFS and then the system works for another while. But occasionally after the lockup we cannot even repair some volumes, as they get totally corrupted and we need to rebuild them with mkfs.

As a last resort, we now run xfs-repair periodically and this reduced the frequency of lockups and data loss to a certain extent. But the incidents still occur often enough, so we need some solution.

I was wondering if there is a solution for this with kernel 3.4.107, e.g. some patch that we may apply. Due to the large number of deployments and other software issues, we cannot upgrade the kernel in the near future.

However, we are working towards updating our applications so that we can run on kernel 3.16 in our next releases. Does anyone know if this XFS lockup problem was fixed in 3.16?

0 投票
3 回答
32974 浏览

linux - 如何在 xfs 文件系统上在线调整根分区的大小?

当我尝试扩展根分区时,使用以下方法

我无法对上面的最后一行错误做同样的事情。

0 投票
1 回答
1404 浏览

linux - 如何从 EC2 上的根卷创建 XFS 卷?

我创建了一个新的 EC2 实例并在上面设置了一堆软件。MongoDB 3.2 的生产清单建议将其安装在 XFS(或 ext4)卷上。如何从 /dev/xvda1 创建一个 15 GB 的卷,格式为使用 mkfs 的 XFS,然后挂载它?这是 df -h 现在的输出:

操作系统是 Ubuntu 12.04 LTS

0 投票
2 回答
2416 浏览

amazon-web-services - 如何更改 AWS EBS 卷文件系统类型

EBS 卷已附加为ext4on /opt/apps。目前没有关于它的数据。如何将文件系统类型更改为xfs并分配新的挂载点/data

0 投票
1 回答
808 浏览

amazon-ec2 - Glusterfs 砖尺寸

我正在为 glusterfs 存储物理驱动器-xvdf、分区-xvdf1 添加一个 8GB 的​​物理磁盘

安装xfs并格式化分区

现在,将目录 data/brick1 挂载到新创建的分区

还有另一个选项,例如 gluster volume status test-volume mem。我的问题是我的砖块尺寸是多少?

另外,我可以在一个分区中有多个砖块吗?

0 投票
1 回答
209 浏览

linux - XFS_Quota - 组问题

我将 xfs_quota 限制设置为组 ID。但硬/软限制不生效。只有当我为用户设置配额限制时它才有效。

群名:itshare

用户名:testuser

“testuser”映射到组“itshare”

如果您看到以下步骤,我已将 itshare 组的软限制设置为 3MB,将硬限制设置为 4MB。

但用户“testuser”可以上传超过指定限制的文件。

0 投票
0 回答
45 浏览

linux-kernel - gdb 6.8 和 7.0 的区别。xfs cu 缺少行号

我有带有调试信息的 elf 文件。使用 gdb 6.5 - 6.8 我得到以下输出:

(gdb) info line xfs_write "fs/xfs/linux-2.6/xfs_lrw.c" 的第 634 行从地址 0xc021cfe1 开始,到 0xc021cfed 结束。

使用 gdb 7.0+:

(gdb) info line xfs_write No line number information available for address 0xc021cfe1

readelf 显示行信息和使用的 DWARF2 版本。可能导致该行为的 gdb 发生了什么变化?

0 投票
1 回答
442 浏览

linux - 修改配额配置时,xfs fllesystem remount 不起作用

1.一开始

2.尝试修改

3.再次检查

它不起作用。

我可以修改 /etc/fstab 然后重新启动机器使其工作。但是,有什么方法可以在不重新启动的情况下更改配额配置?

0 投票
2 回答
7623 浏览

centos7 - 在 LVM 之上扩展 GlusterFS

我需要为我们的一个 gluster 卷添加更多空间。这些卷是副本 2,位于 LVM 之上。文件系统是 XFS。当前大小为 4TB,我想调整为 6TB。LVM 在两个副本服务器上都有足够的 Free PE。

-

我在某处读过,足以扩展 LVM 并调整两台主机上的 FS 大小。

我知道 XFS 在安装时必须重新占用。LVM 也可以在操作期间调整大小(尽管不推荐)。而且我在某处读到,只要两个/所有卷都具有新的大小,GlusterFS 就会自动适应新的卷大小。

由于存储是在生产环境中使用的,因此动态执行此操作非常重要。

有没有人对这种组合有任何经验或可以确认我的方法是正确的?

提前致谢。

0 投票
1 回答
1145 浏览

xfs - XFS 如何找到 WFPOpen?

我将为我自己的硬件(可能是虚拟的)实现一个 SPI。正如我发现(也许我弄错了)当应用程序调用 WFSOpen 时,XFS 在 SPI 中调用 WFPOpen。但是这个“in SPI”是指哪里呢?也许我应该给出在注册表某处找到 WFPOpen 的 dll 文件的地址。我还认为应该在 HKLM\XFS\Service_Provider\\DllName 中给出 dll 路径。是这样吗?够了吗?XFS 是否对此注册表路径和密钥敏感并使用它来查找 SPI 在哪里?我已经完成了上述操作,但我得到了 WFS_ERR_SERVICE_NOT_FOUND。XFS 似乎没有在 dll 中查找函数。有什么问题?

我认为最好发送 xfs 日志以便您能够更好地处理问题。 https://www.dropbox.com/s/6wwbjfpxxibjnl1/9603071652%20-%20XFSTrace.7z?dl=0