当前位置: 首页 > 工具软件 > LizardFS > 使用案例 >

lizardfs 新增命令行的使用

朱高超
2023-12-01

lizardfs是moosefs的分支。新增了一些命令,用于监控或挂载lizardfs。

[root@localhost ~]# lizardfs-polonaise-server  -M /mnt/ifs -L 9090
mfsmaster accepted connection with parameters: read-write,restricted_ip ; root mapped to root:root



[root@localhost mnt]# polonaise-fuse-client  /mnt/ifs
Opening a new connection to localhost:9090
Opening a new connection to localhost:9090



[root@localhost ~]# lizardfs-probe  ready-chunkservers-count  127.0.0.1 9421
1
[root@localhost ~]# lizardfs-probe  metadataserver-status  127.0.0.1 9421
     personality: master
   server status: running
metadata version: 20
[root@localhost ~]# lizardfs-probe  info  127.0.0.1 9421
LizardFS v2.5.0
Memory usage:    0B
Total space:    131GiB
Available space:    113GiB
Trash space:    0B
Trash files:    0
Reserved space:    0B
Reserved files:    0
FS objects:    1
Directories:    1
Files:    0
Chunks:    0
Chunk copies:    0
Regular copies:    0
[root@localhost ~]# lizardfs-probe  list-disks  127.0.0.1 9421
10.221.10.107:9422:/mnt/sda6/ifschunk2/
    to delete: no
    damaged: no
    scanning: no
    last error: no errors
    total space: 93GiB
    used space: 4.9GiB
    chunks: 0
10.221.10.107:9422:/mnt/ifschunk1/
    to delete: no
    damaged: no
    scanning: no
    last error: no errors
    total space: 37GiB
    used space: 12GiB
    chunks: 0
[root@localhost ~]# lizardfs-probe   list-mounts 127.0.0.1 9421
session 4: 
    ip: 10.221.10.107
    mount point: /mnt/ifs
    version: 2.5.0
    root dir: /
    root uid: 0
    root gid: 0
    users uid: 999
    users gid: 999
    read only: no
    restricted ip: yes
    ignore gid: no
    all can change quota: no
    map all users: no


 类似资料: