找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
楼主: enjoyit

hetzner服务器硬盘raid问题

[复制链接]

0

主题

2

回帖

8

积分

新手上路

积分
8
发表于 2018-3-14 18:41:35 | 显示全部楼层
进入救援模式
输入 installimage
然后自己研究自动安装的是RAID 1的,可以自己进救援模式换RAID 0的。

Removing a software RAID

[ol]
  • In order to remove a software RAID you can issue the following commands in the Rescue System:
  • mdadm --remove /dev/md0
  • mdadm --remove /dev/md1
  • mdadm --remove /dev/md2
  • mdadm --stop /dev/md0
  • mdadm --stop /dev/md1
  • mdadm --stop /dev/md2
  • After that, the drive can be formatted normally again (e.g. with ext3):
  • mkfs.ext3 /dev/sda
  • mkfs.ext3 /dev/sdb
  • The result can be checked with:
  • fdisk -l
  • The software RAID should be gone.
  • Then installimage can be used in order to install a new operating system.
  • If an OS is installed and software RAID is activated on the server, then purely running installimage and installing a new OS without software RAID won't work. The server won't boot in this case. [/ol]复制代码

    然后运行installimage安装新系统。

    https://wiki.hetzner.de/index.php/Installimage/en
  • 回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|Discuz! X

    GMT+8, 2025-5-10 05:14 , Processed in 0.013770 second(s), 3 queries , Gzip On, Redis On.

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

    快速回复 返回顶部 返回列表