AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-329090

adamsfamily's questions

Martin Hope
adamsfamily
Asked: 2021-06-28 05:27:44 +0800 CST

一个故障驱动器 + 一个坏扇区是否会破坏整个 RAID 5?

  • 8

在规划 Synology Disk Station 上的 RAID 设置期间,我阅读了大量有关各种 RAID 类型的资料,这是一本很好的阅读资料:RAID 级别和URE(不可恢复的读取错误)的重要性。

但是,我还不清楚一件事:

让我们有两个场景:

  1. 阵列是2 个驱动器的RAID 1
  2. 阵列是3 个驱动器的RAID 5

两种情况的假设相同:

  • 让我们在 RAID 阵列上有 100.000 个文件
  • 一个驱动器发生故障(需要更换)
  • 在重建阵列期间恰好有一个坏扇区 (URE)

怎么了?RAID 重建是否有 99.999 个文件正常且 1 个文件丢失?还是我会丢失所有 100.000 个文件?

如果答案需要了解文件系统类型,假设文件系统是 BTRFS 或 ZFS。

raid disaster-recovery data-recovery
  • 1 个回答
  • 1601 Views
Martin Hope
adamsfamily
Asked: 2016-05-27 12:34:36 +0800 CST

使用两个 MikroTik 路由器的站点到站点隧道,其中一个端点位于 NAT(LTE 调制解调器)后面

  • 0

我想互连两个办公室,其中一个具有公共静态IP 地址(主办公室),第二个位于 NAT 后面(没有公共 IP),因为只有一个 LTE 调制解调器。

我能够创建从 LTE 调制解调器到主办公室的单向 VPN 连接,但是否可以在两个办公室之间进行双向 TCP 通信?以便总部的人可以例如 RDP 到分支机构?

(我正在使用两个 MikroTik 路由器板和一个 PPTP 连接。如果需要,我应该能够更改为 L2TP。)。

更新:

我正在应要求提供详细信息:

总局:局域网:192.168.16.0/24
公网IP:MAIN_OFFICE_IP

分公司 LAN:192.168.1.0/24
公共 IP:[DHCP from ISP]

分公司配置:

两个网络接口
一个 PPTP 客户端
绝对基本 防火墙和 NAT

/interface ethernet
set [ find default-name=ether1 ] name=ether1-gateway
set [ find default-name=ether2 ] arp=proxy-arp name=ether2-master-local

/interface pptp-client
add add-default-route=yes allow=pap,chap,mschap1,mschap2 connect-to=MAIN_OFFICE_IP default-route-distance=1 dial-on-demand=no disabled=no keepalive-timeout=60 max-mru=1450 max-mtu=1450 mrru=1600 name=\
MAIN_OFFICE_VPN password=******** profile=default-encryption user=MAIN_OFFICE_USER

/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=established
add chain=input comment="default configuration" connection-state=related
add action=drop chain=input comment="default configuration" in-interface=ether1-gateway
add chain=forward comment="default configuration" connection-state=established
add chain=forward comment="default configuration" connection-state=related
add action=drop chain=forward comment="default configuration" connection-state=invalid

/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" out-interface=ether1-gateway to-addresses=0.0.0.0
add action=masquerade chain=srcnat out-interface=MAIN_OFFICE_VPN
add action=dst-nat chain=dstnat dst-address=BRANCH_IP dst-port=100 protocol=tcp

/ip route
add distance=1 dst-address=192.168.16.0/24 gateway=OFFICE_VPN routing-mark=“MAIN_OFFICE_VPN”
openvpn site-to-site-vpn pptp mikrotik
  • 1 个回答
  • 5979 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve