Purpose:
The legacy platform prior to Generation 1 Intel Xeon Scalable Processors in 2017 were supported with the Intel Raid Storage Technology enterprise (Intel RSTe) to allow user build basic RAID function on platforms.
This support has been grandfathered into Intel VROC.
For legacy platform, refer to How to build PCH Firmware (RSTe) RAID on SKY-8101 or SKY-8201 series?
The Intel VROC family of products provide enterprise solutions for both NVMe SSD and SATA devices for
enterprise servers and workstations.
There are 3 types of VROC as below table.
Intel(R) VROC sSATA Controller | (Content created by Intel FW, and only shown when UEFI RAID enabled) | |
Intel(R) VROC SATA Controller | (Content created by Intel FW, and only shown when UEFI RAID enabled) | |
Intel(R) Virtual RAID on CPU | (Content created by Intel FW, and only shown when VMD enabled) |
This guide took SKY-7632D for example to show how to build UEFI RAID 1 without license under the first 2 types in Table.
About to Intel Virtual RAID on CPU license, refer to How to choose VROC license for RAID?
Audience
For the engineers who have experience on Advantech BMC's platforms with basic knowledge on remote access.
Prerequisite:
1. Hardware: Advantech SKY-7632D with BIOS support Intel RSTe and 2 storage for RAID 1
2. OS : mdadm (Linux md devices) is used for building, managin, and monitoring.
3. Supported Browsers:
• Chrome latest version.
• IE 11 and above.
• Firefox (with limited support).
Load BIOS default if necessary:
- Press the F2 or Del key as the system starts to power on to enter the BIOS
- Save & Exit -> Reload BIOS default -> Load Optimized Default? -> Yes
- Save & Exit -> Save Changes and Exit -> Save configuration and reset? -> Yes
- The server will reboot and please press "DEL" or "F2" to enter the BIOS setup menu
Change SATA and/or sSATA to RAID mode:
- Hardware -> Southbridge -> SATA Configuration -> SATA Mode -> RAID, Locate and change the SATA controller from AHCI to RAID
- Hardware -> Southbridge -> SATA Configuration -> sSATA Mode -> RAID
- Post & Boot -> CSM Parameters -> Confirm the Storage is in UEFI mode
- Save & Exit -> Save Changes and Exit -> Save configuration and reset? -> Yes
- The server will reboot then wait for the "RAID Option ROM" show up as next section.
Create RAID Volume on BIOS:
- Press Del or F2 re-enter BIOS menu
- Hardware -> Intel (R) VROC sSATA Controller (Or SATA Controller) , depends on Hard Drive location
- Hardware -> Intel (R) VROC sSATA Controller -> Create RAID Volume
- Hardware -> Intel (R) VROC sSATA Controller -> Create RAID Volume -> RAID Level = RAID 1
- Select 2 hard drives for RAID 1
- Hardware -> Intel (R) VROC sSATA Controller -> Create RAID Volume -> Create Volume
- RAID 1 Vlume build up
- Save & Exit -> Save Changes and Reset, Raid Status check
# mdadm -D /dev/md126
/dev/md126:
Container : /dev/md/imsm0, member 0
Raid Level : raid1
Array Size : 927916032 (884.93 GiB 950.19 GB)
Used Dev Size : 927916032 (884.93 GiB 950.19 GB)
Raid Devices : 2
Total Devices : 2
State : clean, resyncing
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Consistency Policy : resync
Resync Status : 5% complete
UUID : 958887bb:7bacf8e9:7c833044:1d1a111c
Number Major Minor RaidDevice State
1 8 0 0 active sync /dev/sda
0 8 16 1 active sync /dev/sdb
- Rebuild status check
# cat /proc/mdstat
Personalities : [raid1]
md126 : active raid1 sdb[2] sda[1]
927916032 blocks super external:/md127/0 [2/1] [U_]
[>....................] recovery = 1.0% (9511168/927916032) finish=110.3min speed=138743K/sec
Mount raid device as a filesystem
- Check the raid ddevice name
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
└─md126 9:126 0 885G 0 raid1
sdb 8:16 0 931.5G 0 disk
└─md126 9:126 0 885G 0 raid1
sdc 8:32 1 28.7G 0 disk
├─sdc1 8:33 1 255M 0 part /boot/efi
├─sdc2 8:34 1 1G 0 part /bspconf
└─sdc3 8:35 1 7.2G 0 part /
nvme0n1 259:0 0 477G 0 disk
└─nvme0n1p1 259:1 0 477G 0 part
# ls /dev/md126
md126
- Format to ext2 type
# mkfs -t ext2 /dev/md126
mke2fs 1.42.9 (28-Dec-2013)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
57999360 inodes, 231979008 blocks
11598950 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
7080 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information:done
- Mount partation and status checking
# mkdir /mnt/raid
[root@sky-7632-efi ~]# mount /dev/md126 /mnt/raid/
[ 3744.746827] EXT4-fs (md126): mounting ext2 file system using the ext4 subsystem
[ 3744.795845] EXT4-fs (md126): mounted filesystem without journal. Opts: (null)
[root@sky-7632-efi ~]# du -sm /mnt/raid/*
1 /mnt/raid/lost+found
[root@sky-7632-efi ~]# df -h /mnt/raid/
Filesystem Size Used Avail Use% Mounted on
/dev/md126 872G 72M 827G 1% /mnt/raid
# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 16G 21M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sdc3 7.0G 3.5G 3.5G 50% /
/dev/sdc1 252M 15M 237M 6% /boot/efi
/dev/sdc2 1017M 13M 1004M 2% /bspconf
tmpfs 3.2G 0 3.2G 0% /run/user/0
/dev/md126 872G 72M 827G 1% /mnt/raid
OS installation
OS image via dd
- Linux OS via dd command
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
└─md126 9:126 0 885G 0 raid1
sdb 8:16 0 931.5G 0 disk
└─md126 9:126 0 885G 0 raid1
sdc 8:32 1 14.5G 0 disk
├─sdc1 8:33 1 255M 0 part /boot/efi
├─sdc2 8:34 1 1G 0 part /bspconf
└─sdc3 8:35 1 7.2G 0 part /
# dd if=/dev/sdc of=/dev/md126 status=progress
15527477760 bytes (16 GB) copied, 263.982094 s, 58.8 MB/s
30375936+0 records in
30375936+0 records out
15552479232 bytes (16 GB) copied, 267.685 s, 58.1 MB/s
- Raid Status check
# mdadm -D /dev/md126
/dev/md126:
Container : /dev/md/imsm0, member 0
Raid Level : raid1
Array Size : 927916032 (884.93 GiB 950.19 GB)
Used Dev Size : 927916032 (884.93 GiB 950.19 GB)
Raid Devices : 2
Total Devices : 2
State : clean, resyncing
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Consistency Policy : resync
Resync Status : 3% complete
UUID : 25d8ce68:42529e5c:3b0705b9:88ea5bb0
Number Major Minor RaidDevice State
1 8 0 0 active sync /dev/sda
0 8 16 1 active sync /dev/sdb
# cat /proc/mdstat
Personalities : [raid1]
md126 : active raid1 sda[1] sdb[0]
927916032 blocks super external:/md127/0 [2/2] [UU]
[=>...................] resync = 3% (90809216/927916032) finish=104.8min speed=133000K/sec
md127 : inactive sda[1](S) sdb[0](S)
10402 blocks super external:imsm
unused devices: <none>
- Raid device check
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
└─md126 9:126 0 885G 0 raid1
├─md126p1 259:0 0 255M 0 md
├─md126p2 259:1 0 1G 0 md
└─md126p3 259:2 0 7.2G 0 md
sdb 8:16 0 931.5G 0 disk
└─md126 9:126 0 885G 0 raid1
├─md126p1 259:0 0 255M 0 md
├─md126p2 259:1 0 1G 0 md
└─md126p3 259:2 0 7.2G 0 md
sdc 8:32 1 14.5G 0 disk
├─sdc1 8:33 1 255M 0 part /boot/efi
├─sdc2 8:34 1 1G 0 part /bspconf
└─sdc3 8:35 1 7.2G 0 part /
- Use the raid mode for first boot option
OS image via virtual CDROM
- BMC Web Access
- OS image insert via Virtual Drive
- Reset Server
- Use "UEFI: Linux File-CD Gadget 0506" for first Boot Option for booting
- Select Install CentOS 7
- Select "INSTALLATION DESTINATION", get the BIOS RAID device name
- Completed OS installaton & Reboot
- Status checking via lsblk in CentOS
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
|-md125 9:125 0 885G 0 raid1
| |-md125p1 259:1 0 200M 0 md /boot/efi
| |-md125p2 259:2 0 1G 0 md /boot
| `-md125p3 259:3 0 883.8G 0 md
| |-centos-root 253:0 0 50G 0 lvm /
| |-centos-swap 253:1 0 31.3G 0 lvm [SWAP]
| `-centos-home 253:2 0 846.7G 0 lvm /home
`-md126 9:126 0 44.3G 0 raid1
`-md126p1 259:0 0 44.3G 0 md
`-centos-root 253:0 0 50G 0 lvm /
sdb 8:16 0 931.5G 0 disk
|-md125 9:125 0 885G 0 raid1
| |-md125p1 259:1 0 200M 0 md /boot/efi
| |-md125p2 259:2 0 1G 0 md /boot
| `-md125p3 259:3 0 883.8G 0 md
| |-centos-root 253:0 0 50G 0 lvm /
| |-centos-swap 253:1 0 31.3G 0 lvm [SWAP]
| `-centos-home 253:2 0 846.7G 0 lvm /home
`-md126 9:126 0 44.3G 0 raid1
`-md126p1 259:0 0 44.3G 0 md
`-centos-root 253:0 0 50G 0 lvm /
- Raid Status
# mdadm -D /dev/md125
/dev/md125:
Container : /dev/md/imsm0, member 0
Raid Level : raid1
Array Size : 927916032 (884.93 GiB 950.19 GB)
Used Dev Size : 927916032 (884.93 GiB 950.19 GB)
Raid Devices : 2
Total Devices : 2
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Consistency Policy : resync
UUID : e6b78459:0d09ce0d:969b71b3:2f2111bb
Number Major Minor RaidDevice State
1 8 16 0 active sync /dev/sdb
0 8 0 1 active sync /dev/sda
# mdadm -D /dev/md126
/dev/md126:
Container : /dev/md/imsm0, member 1
Raid Level : raid1
Array Size : 46399488 (44.25 GiB 47.51 GB)
Used Dev Size : 46399488 (44.25 GiB 47.51 GB)
Raid Devices : 2
Total Devices : 2
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Consistency Policy : resync
UUID : 127bc819:418b9f13:9a575c6c:83f70d42
Number Major Minor RaidDevice State
1 8 16 0 active sync /dev/sdb
0 8 0 1 active sync /dev/sda
Intel Volume Management Device(Intel VMD) mode: (EX: SKY-7232D)
- check the SlimSAS PCIe location on CPU
- BIOS-->Hardware-->Northbridge-->PCI Express Ports Configuration, Enable the VMD (IOU4) & save & reset BIOS.
- BIOS-->Hardware-->Intel (R) Virtual RAID on CPU--> All Intel VMD Controllers, Get the HD info with pass-thru mode.
Comments
0 comments
Please sign in to leave a comment.