3. Procedure for Changing the System Environment Setting
Express5800/R320e-E4, R320e-M4 Installation Guide (Linux)
52
Chapter 1 Installing Operating System
12. Execute "1 List RAID Arrays" of the ftdiskadm command to check that the RAID1device has been
created.
[List RAID Arrays]
Name Partition Status Member
===============================================================================
< Mirroring Array (RAID1) >
md122 DUPLEX (1)104001-part6 (9)114001-part6
md123 /var/crash DUPLEX (1)104001-part2 (9)114001-part2
md124 /boot/efi DUPLEX (1)104001-part5 (9)114001-part5
md125 swap DUPLEX (1)104001-part3 (9)114001-part3
md126 /boot DUPLEX (1)104001-part4 (9)114001-part4
md127 / DUPLEX (1)104001-part1 (9)114001-part1
Tips
For the ftdiskadm command, see Chapter 2 (1.2 How to Duplicate the Hard Disk Drive) in
"Maintenance Guide".
13. Execute the following command to create the ext4 file system.
# mkfs.ext4 /dev/md/data
14. Execute the following command to update "/etc/mdadm.conf".
# cp –a /etc/mdadm.conf /etc/mdadm.conf.bak
# sed -i -e '/^ARRAY/d' /etc/mdadm.conf
# mdadm --detail --scan -v | grep '^ARRAY' >> /etc/mdadm.conf
15. Execute the following command to update the initial RAM disk image to be used at the system
startup.
# mv /boot/initramfs-`uname -r`.img /boot/initramfs-`uname -r`.img.bak
# dracut /boot/initramfs-`uname -r`.img `uname -r`
16. Execute the following command to newly create the "/mnt/data" directory.
# mkdir -p /mnt/data
17. Set so that the partition can be mounted automatically at startup.
Execute the following command to check the UUID value.
# blkid /dev/md/data
/dev/md/data: UUID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" ・・・
Open "/etc/fstab" through the editor, and add the following line.
UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx /mnt/data ext4 defaults 1 2
18. Check that the partition is mounted automatically after restarting.
# systemctl reboot