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-122031

seobility's questions

Martin Hope
seobility
Asked: 2016-10-12 05:39:32 +0800 CST

如何将虚拟驱动器(RAID 0、PERC)映射到 Linux

  • 1

我在服务器上有两个不同的 RAID 阵列。第一个虚拟驱动器是具有 4 个磁盘的 RAID 10,并且已映射到操作系统。现在我创建了另一个具有 RAID 0 和一个磁盘的阵列。因为第一个虚拟驱动器是在设置整个系统时通过安装例程创建和映射的,所以我不知道如何将新的虚拟驱动器映射到操作系统。

虚拟驱动器:

# megacli -LDInfo -Lall -Aall


Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name                :
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0
Size                : 5.457 TB
Sector Size         : 512
Mirror Data         : 5.457 TB
State               : Optimal
Strip Size          : 64 KB
Number Of Drives per span:2
Span Depth          : 2
Default Cache Policy: WriteBack, ReadAhead, Direct, Write Cache OK if  Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Direct, Write Cache OK if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disk's Default
Encryption Type     : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: Yes
LD has drives that support T10 power conditions: No
LD's IO profile supports MAX power savings with cached writes: No
Bad Blocks Exist: No
Is VD Cached: Yes
Cache Cade Type : Read Only


Virtual Drive: 1 (Target Id: 1)
Name                :
RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
Size                : 2.728 TB
Sector Size         : 512
Parity Size         : 0
State               : Optimal
Strip Size          : 64 KB
Number Of Drives    : 1
Span Depth          : 1
Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disk's Default
Encryption Type     : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: Yes
LD has drives that support T10 power conditions: No
LD's IO profile supports MAX power savings with cached writes: No
Bad Blocks Exist: No
Is VD Cached: Yes
Cache Cade Type : Read Only

现有文件系统:

# df -h
Filesystem                                              Size  Used Avail     Use% Mounted on
rootfs                                                  5.5T  4.7T  525G  91% /
udev                                                     10M   80K   10M   1% /dev
tmpfs                                                    38G  248K   38G   1% /run
/dev/disk/by-uuid/8fcd8997-12d3-4259-b7b9-4e5c27286b21  5.5T  4.7T  525G  91% /
tmpfs                                                   5.0M     0  5.0M   0% /run/lock
tmpfs                                                    77G     0   77G   0% /run/shm
/dev/sda2                                               504M   40M  440M   9% /boot

获取映射新虚拟驱动器、创建文件系统并安装到操作系统(例如 /var/backups/new )的正确步骤是什么?(我们在 Debian 7.11 上)非常感谢!

mount hardware-raid lsi megaraid dell-perc
  • 1 个回答
  • 2464 Views
Martin Hope
seobility
Asked: 2016-10-11 03:12:46 +0800 CST

除了配置的 RAID 10 阵列之外,LSI Megaraid 在 RAID 0 中添加一个磁盘

  • 1

我们有一个带有四个磁盘的活动 RAID 10。现在我们想将 RAID 0 中的一个磁盘添加到适配器。

这是当前配置:

# megacli -LDInfo -Lall -Aall


Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name                :
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0
Size                : 5.457 TB
Sector Size         : 512
Mirror Data         : 5.457 TB
State               : Optimal
Strip Size          : 64 KB
Number Of Drives per span:2
Span Depth          : 2
Default Cache Policy: WriteBack, ReadAhead, Direct, Write Cache OK if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Direct, Write Cache OK if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disk's Default
Encryption Type     : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: Yes
LD has drives that support T10 power conditions: No
LD's IO profile supports MAX power savings with cached writes: No
Bad Blocks Exist: No
Is VD Cached: Yes
Cache Cade Type : Read Only



Exit Code: 0x00

现在我们添加了另一个我们想要配置为 RAID 0 的驱动器。(扩大 RAID 10 是不可能的,所以我们决定只添加另一个磁盘,我们可以在其中保存备份和东西)。

新磁盘位于插槽 4:

Enclosure Device ID: 32
Slot Number: 4
Media Error Count: 0
Other Error Count: 0
Firmware state: Unconfigured(good), Spun Up
Inquiry Data:            24M9K179FTOSHIBA MG03ACA300                          FL1D

使用以下命令(机箱 32,插槽 4)创建新的 RAID 0 阵列是否可以保存其他 RAID 10 阵列:

megacli -CfgLdAdd -r0 [32:4] WB RA Direct CachedBadBBU -a0

我们绝对不想伤害现有的 RAID 10 阵列,也不想丢失其中的任何数据。

非常感谢!

raid lsi megaraid megacli
  • 1 个回答
  • 985 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