FenixVu 最近的时间轴更新
FenixVu

FenixVu

V2EX 第 368758 号会员,加入于 2018-12-07 13:36:12 +08:00
内网外能共用一个前端么?
问与答  •  FenixVu  •  16 天前  •  最后回复来自 1a7489
17
inode 没满,但是会随机报磁盘空间不足是啥问题?
Linux  •  FenixVu  •  105 天前  •  最后回复来自 FenixVu
18
有迁移过 MiniO 的老哥么
Linux  •  FenixVu  •  108 天前  •  最后回复来自 wellsc
11
求一个存储迁移方案
问与答  •  FenixVu  •  166 天前  •  最后回复来自 novaeye
5
DockerApi 开不启,没思路求指点
Docker  •  FenixVu  •  267 天前  •  最后回复来自 FenixVu
1
Grafana 展示 Loki 的一些个问题
Linux  •  FenixVu  •  287 天前  •  最后回复来自 FenixVu
3
有没有 m1 能用的顶栏显示股价的工具
macOS  •  FenixVu  •  292 天前  •  最后回复来自 FenixVu
8
有用 Royal TSX 的么请教个问题
macOS  •  FenixVu  •  321 天前  •  最后回复来自 jobs0
9
git 怎么回滚到远程仓库某个分支的某次提交
git  •  FenixVu  •  358 天前  •  最后回复来自 ubbcou
6
FenixVu 最近回复了
16 天前
回复了 FenixVu 创建的主题 问与答 内网外能共用一个前端么?
@lower 我刚才也这么想的写了个批处理丢给客户,客户说公司上百台电脑,不可能一个个都去执行一遍
我最后绕了一圈还是单独部署了一个内网前端...
16 天前
回复了 FenixVu 创建的主题 问与答 内网外能共用一个前端么?
@xiangyuecn 有啥实践的文档么
16 天前
回复了 FenixVu 创建的主题 问与答 内网外能共用一个前端么?
@lower
```
listen 80;
listen 443 ssl;
server_name www.xxxcom;
ssl_certificate /var/log/nginx/xxxcom_bundle.pem;
ssl_certificate_key /var/log/nginx/xxx.com.key;

ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
ssl_prefer_server_ciphers on;

root /usr/share/nginx/html;
index index.html;

location / {
proxy_pass http://10.0.0.1:12345/;
}
```
这是外网访问 xxx 的请求转发到服务器 10.0.0.1 的 12345 上
但是我内网没法访问 xxx 啊
16 天前
回复了 FenixVu 创建的主题 问与答 内网外能共用一个前端么?
@lower 请问这个需求 咋写啊是直接在 location 里 rewrite 么
@feedcode 我开始也考虑过是哈希问题,但是我想的方向是底层硬盘某一块满了,去查看后发现并没有,没往文件系统这块想,感谢你分享的文章看完后发现只能更换文件系统类型了
@duke807
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 16G 0 16G 0% /dev
tmpfs tmpfs 3.2G 338M 2.9G 11% /run
/dev/mapper/ubuntu--vg-root ext4 1.5T 700G 745G 49% /
tmpfs tmpfs 16G 4.0K 16G 1% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda1 ext2 720M 58M 626M 9% /boot
/home/hisee/.Private ecryptfs 1.5T 700G 745G 49% /home/hisee
overlay overlay 1.5T 700G 745G 49%



Filesystem Inodes IUsed IFree IUse% Mounted on
udev 4110911 430 4110481 1% /dev
tmpfs 4116178 865 4115313 1% /run
/dev/mapper/ubuntu--vg-root 100425728 35748318 64677410 36% /
tmpfs 4116178 2 4116176 1% /dev/shm
tmpfs 4116178 3 4116175 1% /run/lock
tmpfs 4116178 16 4116162 1% /sys/fs/cgroup
/dev/sda1 46848 299 46549 1% /boot
/home/hisee/.Private 100425728 35748318 64677410 36% /home/hisee
overlay 100425728 35748318 64677410 36% /var/lib/docker/overlay2/8bdfd3b8eb24e7422778b6e6ecc13a900bfa12bbad903fc283694d0148b511ca/merged
@huangmingyou 看不太懂

```
execve("/bin/mkdir", ["mkdir", ".minio.sys/buckets/nethospitalse"...], [/* 20 vars */]) = 0
brk(NULL) = 0x12bf000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=35801, ...}) = 0
mmap(NULL, 35801, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fbe711e3000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260Z\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=130224, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbe711e2000
mmap(NULL, 2234080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbe70da5000
mprotect(0x7fbe70dc4000, 2093056, PROT_NONE) = 0
mmap(0x7fbe70fc3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e000) = 0x7fbe70fc3000
mmap(0x7fbe70fc5000, 5856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbe70fc5000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1868984, ...}) = 0
mmap(NULL, 3971488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbe709db000
mprotect(0x7fbe70b9b000, 2097152, PROT_NONE) = 0
mmap(0x7fbe70d9b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7fbe70d9b000
mmap(0x7fbe70da1000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbe70da1000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\25\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=456632, ...}) = 0
mmap(NULL, 2552072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbe7076b000
mprotect(0x7fbe707d9000, 2097152, PROT_NONE) = 0
mmap(0x7fbe709d9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6e000) = 0x7fbe709d9000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14608, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbe711e1000
mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbe70567000
mprotect(0x7fbe7056a000, 2093056, PROT_NONE) = 0
mmap(0x7fbe70769000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fbe70769000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260`\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=138696, ...}) = 0
mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbe7034a000
mprotect(0x7fbe70362000, 2093056, PROT_NONE) = 0
mmap(0x7fbe70561000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fbe70561000
mmap(0x7fbe70563000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbe70563000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbe711e0000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbe711de000
arch_prctl(ARCH_SET_FS, 0x7fbe711de800) = 0
mprotect(0x7fbe70d9b000, 16384, PROT_READ) = 0
mprotect(0x7fbe70561000, 4096, PROT_READ) = 0
mprotect(0x7fbe70769000, 4096, PROT_READ) = 0
mprotect(0x7fbe709d9000, 4096, PROT_READ) = 0
mprotect(0x7fbe70fc3000, 4096, PROT_READ) = 0
mprotect(0x611000, 4096, PROT_READ) = 0
mprotect(0x7fbe711ec000, 4096, PROT_READ) = 0
munmap(0x7fbe711e3000, 35801) = 0
set_tid_address(0x7fbe711dead0) = 62296
set_robust_list(0x7fbe711deae0, 24) = 0
rt_sigaction(SIGRTMIN, {0x7fbe7034fb50, [], SA_RESTORER|SA_SIGINFO, 0x7fbe7035b390}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7fbe7034fbe0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fbe7035b390}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
statfs("/sys/fs/selinux", 0x7ffe96852140) = -1 ENOENT (No such file or directory)
statfs("/selinux", 0x7ffe96852140) = -1 ENOENT (No such file or directory)
brk(NULL) = 0x12bf000
brk(0x12e0000) = 0x12e0000
open("/proc/filesystems", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tr"..., 1024) = 392
read(3, "", 1024) = 0
close(3) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1668976, ...}) = 0
mmap(NULL, 1668976, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fbe71046000
close(3) = 0
mkdir(".minio.sys/buckets/nethospitalserver/HISREPORT2022011300000686_7a1db02f905b445aa52e6e43134adfc6.xml", 0777) = -1 ENOSPC (No space left on device)
open("/usr/lib/x86_64-linux-gnu/charset.alias", O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
write(2, "mkdir: ", 7mkdir: ) = 7
write(2, "cannot create directory \342\200\230.mini"..., 129cannot create directory ‘.minio.sys/buckets/nethospitalserver/HISREPORT2022011300000686_7a1db02f905b445aa52e6e43134adfc6.xml’) = 129
write(2, ": No space left on device", 25: No space left on device) = 25
write(2, "\n", 1
) = 1
close(1) = 0
close(2) = 0
exit_group(1) = ?
+++ exited with 1 +++
```
@duke807 我这边确实都是小文件差不多 1000w,问题是我现在磁盘空间也有 inode 也有,我这边是一个 minio 的存储应该只有他在写文件
108 天前
回复了 FenixVu 创建的主题 Linux 有迁移过 MiniO 的老哥么
@tommydong 恩我网上也开到了这个我试试
108 天前
回复了 FenixVu 创建的主题 Linux 有迁移过 MiniO 的老哥么
@wellsc 光 rsync 数据文件没用 有.minio.sys 的索引也要同步过来 这个我在同步测试
关于   ·   帮助文档   ·   API   ·   FAQ   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   1215 人在线   最高记录 5497   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms · UTC 23:41 · PVG 07:41 · LAX 16:41 · JFK 19:41
Developed with CodeLauncher
♥ Do have faith in what you're doing.