V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  enlightment  ›  全部回复第 1 页 / 共 1 页
回复总数  15
2021-01-14 10:56:24 +08:00
回复了 enlightment 创建的主题 NAS 主机换硬盘,有没有比较方便的系统迁移方法
root@sss:~# df -h
文件系统 容量 已用 可用 已用% 挂载点
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 166M 1.4G 11% /run
/dev/sda1 901G 734G 121G 86% /
tmpfs 7.8G 20K 7.8G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
tmpfs 1.6G 8.0K 1.6G 1% /run/user/129
tmpfs 1.6G 0 1.6G 0% /run/user/0
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/64c5fc94afec4db01b41c329ce0234dab99ab9fb6a42aea7ea6c8081e3bb3526/merged
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/2b42589e972f754ecbd6e408ab09eeec1e430f3c35858d16eb14d95509f5677d/merged
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/32ebebd05f50c3e4dfe03cdeb396155f8e373eb67915448d3b44bbde5f92731f/merged
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/d3d42ca59f3e5b7b0a7939098fbf796fdbf2987568e667c5beb6173ddbf8dbc0/merged
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/c5aa0176b1d1fa27114aacd1f9e90dd9d25b3610169657aec18d9d6ccf98d97f/merged
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/3238c0108a9971831bef02f0f4fdfb3fc20ec6a176428289e4a3368b5b2dc790/merged
shm 64M 0 64M 0% /var/lib/docker/containers/bd0cf3cc802e725df4ad84f301ce2f197ea3c43747ae338ed4aed1e68e7e449c/mounts/shm
shm 64M 0 64M 0% /var/lib/docker/containers/0888878e44f696ed5d8a3b63b10185bb8b3e85b96a8673250222121365e72e5e/mounts/shm
shm 64M 0 64M 0% /var/lib/docker/containers/df180ea5381706ba2a07f7ac29771ac513056a388320be666252eec5b463d65d/mounts/shm
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/e9df456c02fa4e47759cde7a6f3904943d6003d462e949381591195afaca564c/merged
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/569c6ad28d9a02406d213f7d6cfa37722801ee2e0a761ed6e79846a1c46b8ee4/merged
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/46abab8e499d8b630e17d6624dda496a985f716ce69c6eb383edd3600d69fbd7/merged
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/01fc91daf8cbf7b4a61502c507d36845bf425f4e5c186b2a957148473b50db28/merged
shm 64M 0 64M 0% /var/lib/docker/containers/a380a9d8ac0fb63d85caabcaebee3a6280a635e5dcd1bd407c1bb17b31b7b8d4/mounts/shm
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/4463be2a35d38d38afcaee73c6a3c946cc650be0c0713442a2ee2108b3047172/merged
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/6a1cfb9034ab1f3c4fe3c41f376c46293d0744fcf7292ae5bf6e82c62f3ae8ed/merged
shm 64M 0 64M 0% /var/lib/docker/containers/3808e385e3182e2696bfab903cbc4164a75ee2a3730b9758dc3fdd13f291304f/mounts/shm
shm 64M 0 64M 0% /var/lib/docker/containers/2b73f22e1d66b1cb71b4be985a2f9beec3b9b33020ce505a4b3bf292204a6d38/mounts/shm
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/44de829a88e2805c9420d9ff786a43dd3e36da35b019aa8b04480bc40b6bc639/merged
shm 64M 0 64M 0% /var/lib/docker/containers/477220890f33e14017e566c3415ccca0a1bce3d21372e1c955792614c128f867/mounts/shm
shm 64M 0 64M 0% /var/lib/docker/containers/c072e06bd2bc7e1e51d09e6b3aa6a2819fd4c43f5f7d9533a83482700bad429c/mounts/shm
shm 64M 0 64M 0% /var/lib/docker/containers/29c54a8c767ea4d9dd114cacc678f89f6efc71fac23c79e0f7ae7bc8ac97180d/mounts/shm
shm 64M 0 64M 0% /var/lib/docker/containers/207bf06cfc01fd690c73ac1ef7b78e0cffee62aa45defe0959f4ba24328b366c/mounts/shm
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/1cc4813cbbed91669f795250cd9f8f4c910b6324322453f917a3b95dbe8097fd/merged
overlay 901G 734G 121G 86% /var/lib/docker/overlay2/bfdf6bdd024e3a7ec7761d44084fa08d365d500e8000ce0da966c44dc99b6a4a/merged
shm 64M 0 64M 0% /var/lib/docker/containers/8acbf4a62bc1d3d61013e75bde97b99caf07fd92911348b457831725bb9ffe40/mounts/shm



root@sss:~# fdisk -l
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10EZEX-08W
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x78fe17d6

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1920235519 1920233472 915.7G 83 Linux
/dev/sda2 1920237566 1953523711 33286146 15.9G 5 Extended
/dev/sda5 1920237568 1953523711 33286144 15.9G 82 Linux swap / Solaris
2020-11-03 14:22:53 +08:00
回复了 enlightment 创建的主题 Linux 求解 Linux 对本地主机名的解析方式
@julyclyde
[root@cent7 ~]# strace -f -e open ping cent7.550gtmp
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libidn.so.11", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libcrypto.so.10", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/etc/pki/tls/legacy-settings", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 4
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 4
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 4
open("/etc/host.conf", O_RDONLY|O_CLOEXEC) = 4
open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
open("/lib64/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = 4
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
open("/lib64/libnss_myhostname.so.2", O_RDONLY|O_CLOEXEC) = 4
open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 4
open("/lib64/libdw.so.1", O_RDONLY|O_CLOEXEC) = 4
open("/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 4
open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 4
open("/usr/lib64/elfutils/tls/x86_64/libelf.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/elfutils/tls/libelf.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/elfutils/x86_64/libelf.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/elfutils/libelf.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/libelf.so.1", O_RDONLY|O_CLOEXEC) = 4
open("/usr/lib64/elfutils/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 4
open("/usr/lib64/elfutils/libbz2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/libbz2.so.1", O_RDONLY|O_CLOEXEC) = 4
open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4
open("/etc/gai.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
PING cent7.550gtmp (10.0.182.120) 56(84) bytes of data.
open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4
64 bytes from cent7.550gtmp (10.0.112.1): icmp_seq=1 ttl=64 time=0.050 ms
64 bytes from cent7.550gtmp (10.0.112.1): icmp_seq=2 ttl=64 time=0.104 ms
64 bytes from cent7.550gtmp (10.0.112.1): icmp_seq=3 ttl=64 time=0.049 ms
64 bytes from cent7.550gtmp (10.0.112.1): icmp_seq=4 ttl=64 time=0.047 ms
^C
strace: Process 56574 detached
2020-11-02 15:36:15 +08:00
回复了 enlightment 创建的主题 Linux 求解 Linux 对本地主机名的解析方式
@3dwelcome 这个是内核里写的逻辑吗?
2020-11-02 15:24:11 +08:00
回复了 enlightment 创建的主题 Linux 求解 Linux 对本地主机名的解析方式
/etc/hosts 并里没有单独对 xxxa 做任何解析
内网传输文件,测下无线速率的上限。
2018-11-22 11:12:43 +08:00
回复了 skyqqcc 创建的主题 问与答 我的情商很低怎么办?
和情商没什么关系,自我心理和自我表达不平衡。ego ego ego

@Mac 网络管家 APP 里面有 dmz 端口映射的设置,但我测试没起作用。
@395485382 上海电信?投诉结果如何
2018-11-08 21:20:09 +08:00
回复了 stdying 创建的主题 V2EX 如何添加图片
2018-11-08 20:49:14 +08:00
回复了 stdying 创建的主题 V2EX 如何添加图片
@justs0o 没找到关于 vlan46 的说明。能细说一下吗? 28 段的这个 ip 没法 ping 通 ,用 ip138 查到的出口 ip 是
180.175.52.x,180 段的可以 ping 通,但很明显只是出口 ip。
@smallfount 10000 打过去,给我转障碍报修了。
@lzyliangzheyu 我也是松江,新桥。上周刚装的。
维修师傅懂的,明确跟我说现在不给公网 ip 了。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4955 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 03:57 · PVG 11:57 · LAX 19:57 · JFK 22:57
Developed with CodeLauncher
♥ Do have faith in what you're doing.