View Issue Details

IDProjectCategoryView StatusLast Update
0006423Hardware for PC and servers[All Projects] Generalpublic2024-11-03 15:56
ReporterDigitalMy 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0006423: Supermicro server SYS-5019S-L
DescriptionInstalled Debian 12 on 2023-08-21
SSD nVme 512 SP512GBP34A80M28 in GUID GPT mode
Added software RAID10 array: 4pcs 2TB HDD
Motherboard model Supermicro X11SSL-F
RAM 4pcs *4GB DDR4 ECC Kingston 9965684-014.A00G KVR24E17S8/4 2400MHz
CPU Intel Xeon E3-1220 v6 3.0GHz 4 core (Socket 1151)
Power 200W
1U platform SYS-5019S-L
Enclosure Supermicro 510-2
TagsNo tags attached.

Activities

DigitalMy

2023-09-05 19:26

administrator   ~0011229

Last edited: 2023-09-09 14:51

View 4 revisions

System Debian installed to nvme SSD device 512GB
M.2 Silicon Power P34A80 [SP512GBP34A80M28]
into PCI-E slot x8 with adapter M.2 NVMe
identified as nvme0n1 mounted
sudo apt install nvme-cli
nvme list


2TB Seagate 2.5" disk array for data:
lsblk
apt install mdadm
sudo mdadm --examine /dev/sda /dev/sdb /dev/sdc /dev/sdd
sudo mdadm --create --verbose /dev/md0 --level=10 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
sudo mkfs.ext4 -F /dev/md0
sudo mkdir -p /share
sudo mount /dev/md0 /share
sudo update-initramfs -u
echo '/dev/md0 /share ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab
sudo mdadm --detail /dev/md0
cat /proc/mdstat

DigitalMy

2023-11-21 04:14

administrator   ~0012244

Last edited: 2024-10-30 19:59

View 2 revisions

Add second array for virtual systems
sudo mdadm --examine /dev/nvme1n1 /dev/nvme2n1
sudo mdadm --create --verbose /dev/md1 --level=1 --raid-devices=2 /dev/nvme1n1 /dev/nvme2n1
sudo mkfs.ext4 -F /dev/md1
sudo mount /dev/md1 /vm
lsblk -f
sudo update-initramfs -u
echo '/dev/md1 /vm ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab
sudo mdadm --detail /dev/md1
cat /proc/mdstat
mcedit /etc/fstab
fix replace with UUID= in line /dev/md1
systemctl daemon-reload
Fix after reboot disapperaed array (remove GPT):
sgdisk --zap /dev/nvme2n1
sgdisk --zap /dev/nvme1n1
mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/nvme1n1 /dev/nvme2n1

decided replace this array with single nvme storage /dat

DigitalMy

2024-10-30 21:02

administrator   ~0014403

Changed from MBR to UEFI boot mode:
gdisk /dev/nvme0n1
n
34
2047
ef02
w
partprobe /dev/nvme0n1
grub-install /dev/nvme0n1
> deleta swap and create new
mkfs -t vfat -v /dev/disk/by-partlabel/EFI-system
mkdir /boot/efi
add to /etc/fstab
    /dev/disk/by-partlabel/EFI-system /boot/efi vfat defaults 0 2
mount /boot/efi
apt install grub-efi-amd64
grub-install --target=x86_64-efi /dev/nvme0n1

DigitalMy

2024-11-03 14:16

administrator   ~0014405

Last edited: 2024-11-03 15:56

View 3 revisions

> replace array disk in config after missing device disconnected
> stop array
mdadm --stop /dev/md127
> connect new device, got name "sdc"
mdadm --zero-superblock /dev/sdc
mdadm --add /dev/md127 /dev/sdc
> delete file /etc/mdadm/mdadm.conf
mdadm --detail --scan
update-initramfs -u
cat /proc/mdstat
mdadm --detail /dev/md127
mdadm -E /dev/sdc

Rename:
mdadm --stop /dev/md127
mdadm --assemble /dev/md/md0 --name=md0 --update=name /dev/sd[abcd]
mdadm -Db /dev/md/md0
update-initramfs -u