Unsolved
1 Rookie
•
5 Posts
0
93
October 7th, 2024 07:54
The virtual disk created by Dell PERC H755N show as sda in ubuntu 20.04, can it show as nvme?
I create raid0 virtual disk by Dell PERC H755N including two nvme ssd.
The virtual disk show as sda in ubuntu 20.04.
Can the virtual disk show as nvme in the OS?
No Events found!
DELL-Chris H
Moderator
•
9.4K Posts
0
October 7th, 2024 12:13
Ssammmm,
The virtual disk created by the PERC H755N will appear as a traditional hard drive (e.g., /dev/sda) to the operating system, even if the underlying storage is composed of NVMe SSDs. This is because the PERC H755N is a hardware RAID controller, and it abstracts the underlying storage devices from the operating system. The controller presents a single, virtual disk to the OS, which can be configured to appear as a traditional hard drive or a SCSI disk.
Now I am not the most proficient with Ubuntu, but I think this should help.
To access the NVMe SSDs directly in the OS, you'll need to use the NVMe protocol. However, this requires some additional configuration.
Here are a few options to access the NVMe SSDs:
Use the nvme-cli tool : You can install the nvme-cli package on your Ubuntu system and use it to access the NVMe SSDs. This will allow you to list, create, and manage NVMe devices.
bash
sudo apt-get install nvme-cli
nvme list
Use the udev rules : You can create udev rules to configure the NVMe devices to be exposed to the OS as NVMe devices. This requires creating a custom udev rule file and reloading the udev rules.
bash
sudo nano /etc/udev/rules.d/99-nvme.rules
Add the following lines to the file:
markdown
ACTION=="add", RUN+="/bin/bash -c 'echo 1 > /sys/block/nvme0/nvme-ctrl/queue/depth'"
ACTION=="add", RUN+="/bin/bash -c 'echo nvme0 > /sys/block/nvme0/device/uevent'"
Save the file and reload the udev rules:
bash
sudo udevadm trigger
Use the NVMe device as a block device : You can also use the nvme device as a block device, which allows you to access the NVMe SSDs as a traditional block device.
To do this, you'll need to create a new device file for the NVMe SSD:
bash
sudo mknod /dev/nvme0
You can then use this device file to access the NVMe SSD.
Please note that these options may require additional configuration and may not work out of the box.
Let me know if this helps.
ssammmm
1 Rookie
•
5 Posts
0
October 8th, 2024 07:37
How can I show the underlying NVMe SSD as nvme device in OS (Ubuntu-20.04-server)?
I set the NVMe SSD to Non-RAID and it still appears as sdX.
Dell-Martin S
Moderator
•
3.5K Posts
0
October 8th, 2024 13:09
Hi,
Which Server do you use?
Is Ubuntu 20.04 for this Server supported?
you could check https://dell.to/47Wx2sw & https://dell.to/3TZtFeH for this question, too.
ssammmm
1 Rookie
•
5 Posts
0
October 9th, 2024 13:45
Thank you for your reply.
The server is R7525.
I also have some PCIe SSDs inside the server.
Can these SSDs be used to create a RAID?
Thank you!