Bug 390 - [Anolis OS 8.4 龙芯版][4.19.190-4.an8.loongarch64]不支持文件系统格式btrfs
Summary: [Anolis OS 8.4 龙芯版][4.19.190-4.an8.loongarch64]不支持文件系统格式btrfs
Status: CONFIRMED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: unspecified
Hardware: loongarch Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: geliwei-ali
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-25 16:04 UTC by liqianwen
Modified: 2022-03-24 04:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liqianwen loongson_group 2022-01-25 16:04:59 UTC
【问题描述】
内核不支持btrfs格式文件系统

【测试环境】
# cat /etc/os-release
NAME="Anolis OS"
VERSION="8.4"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.4"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.4"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

# lscpu
架构:           loongarch64
字节序:         Little Endian
CPU:             32
在线 CPU 列表:  0-31
每个核的线程数: 1
每个座的核数:   4
座:             8
NUMA 节点:      8
CPU 系列:       Loongson-64bit
型号名称:       Loongson-3C5000L
BogoMIPS:       4400.00
L1d 缓存:       64K
L1i 缓存:       64K
L2 缓存:        256K
L3 缓存:        16384K
NUMA 节点0 CPU: 0-3
NUMA 节点1 CPU: 4-7
NUMA 节点2 CPU: 8-11
NUMA 节点3 CPU: 12-15
NUMA 节点4 CPU: 16-19
NUMA 节点5 CPU: 20-23
NUMA 节点6 CPU: 24-27
NUMA 节点7 CPU: 28-31
标记:           cpucfg lam ual fpu lsx lasx complex crypto lvz lbt_x86 lbt_arm lbt_mips

# free -h
              total        used        free      shared  buff/cache   available
Mem:          127Gi       3.7Gi       121Gi       473Mi       2.0Gi       117Gi
Swap:         4.0Gi          0B       4.0Gi

# uname -a
Linux bogon 4.19.190-4.an8.loongarch64 #1 SMP Thu Jan 13 23:07:03 CST 2022 loongarch64 loongarch64 loongarch64 GNU/Linux


【复现概率】
100%

【复现步骤】
1.插入u盘
2.查看U盘名称,lsblk
3.查看是否挂载:mount /dev/sdb 若挂载则卸载umount /dev/sdb
4.格式化: mkfs.btrfs /dev/sdb


【实际结果】
bash: mkfs.btrfs: 未找到命令...
文件搜索失败: basearch not set

【期望结果】
支持btrfs格式文件系统,可以正常挂载读取