I have these on my new computer. I can partition the nvme scsi drive with parted but parted can't handle the other drive on the machine. Has archlinux got a separate tool to take control of nvme drives the way parted does? Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) .
Hi. What are the other drives in question? //Torxed On 10/3/22 09:02, Jude DaShiell wrote:
I can partition the nvme scsi drive with parted but parted can't handle the other drive on the machine. Has archlinux got a separate tool to take control of nvme drives the way parted does?
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 232.9G 0 disk sr0 11:0 1 1024M 0 rom zram0 252:0 0 0B 0 disk zram1 252:1 0 27.8G 0 disk [SWAP] nvme0n1 259:0 0 232.9G 0 disk ??????nvme0n1p1 259:1 0 3M 0 part ??????nvme0n1p2 259:2 0 96M 0 part /boot/efi ??????nvme0n1p3 259:3 0 232.8G 0 part / Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) . On Mon, 3 Oct 2022, Anton Hvornum wrote:
Hi.
What are the other drives in question?
//Torxed
On 10/3/22 09:02, Jude DaShiell wrote:
I can partition the nvme scsi drive with parted but parted can't handle the other drive on the machine. Has archlinux got a separate tool to take control of nvme drives the way parted does?
Hello, And what? what you have pasted is just showing one nvme device with two partitions and there is nothing unusual there in my opinion. W dniu 3.10.2022 o 17:17, Jude DaShiell pisze:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 232.9G 0 disk sr0 11:0 1 1024M 0 rom zram0 252:0 0 0B 0 disk zram1 252:1 0 27.8G 0 disk [SWAP] nvme0n1 259:0 0 232.9G 0 disk ??????nvme0n1p1 259:1 0 3M 0 part ??????nvme0n1p2 259:2 0 96M 0 part /boot/efi ??????nvme0n1p3 259:3 0 232.8G 0 part /
Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940)
.
On Mon, 3 Oct 2022, Anton Hvornum wrote:
Hi.
What are the other drives in question?
//Torxed
On 10/3/22 09:02, Jude DaShiell wrote:
I can partition the nvme scsi drive with parted but parted can't handle the other drive on the machine. Has archlinux got a separate tool to take control of nvme drives the way parted does?
Hi. Correct, both /dev/sda and /dev/nvme0n1 are normal devices and parted can handle both. The others are not really block devices expected to be dealt with using parted (or equivalent programs). //Torxed On 10/3/22 17:19, Michał Zegan wrote:
Hello,
And what? what you have pasted is just showing one nvme device with two partitions and there is nothing unusual there in my opinion.
W dniu 3.10.2022 o 17:17, Jude DaShiell pisze:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 232.9G 0 disk sr0 11:0 1 1024M 0 rom zram0 252:0 0 0B 0 disk zram1 252:1 0 27.8G 0 disk [SWAP] nvme0n1 259:0 0 232.9G 0 disk ??????nvme0n1p1 259:1 0 3M 0 part ??????nvme0n1p2 259:2 0 96M 0 part /boot/efi ??????nvme0n1p3 259:3 0 232.8G 0 part /
Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940)
.
On Mon, 3 Oct 2022, Anton Hvornum wrote:
Hi.
What are the other drives in question?
//Torxed
On 10/3/22 09:02, Jude DaShiell wrote:
I can partition the nvme scsi drive with parted but parted can't handle the other drive on the machine. Has archlinux got a separate tool to take control of nvme drives the way parted does?
Op ma 3 okt. 2022 17:22 schreef Anton Hvornum <anton@hvornum.se>: [>> nvme0n1 259:0 0 232.9G 0 disk
??????nvme0n1p1 259:1 0 3M 0 part ??????nvme0n1p2 259:2 0 96M 0 part /boot/efi ??????nvme0n1p3 259:3 0 232.8G 0 part /]
Correct, both /dev/sda and /dev/nvme0n1 are normal devices and parted can handle both.
The others are not really block devices expected to be dealt with using parted (or equivalent programs).
You made me curious: is there any documentation on this? I was under the impression that nvme was just another (storage) interface and that EFI partitions were just fat32 partitions. Now it sounds like there is something special going on with nvme and efi? Mvg, Guus Snijders
By any chance is the disk controller in the EUFI/BIOS set to RAID or Intel rapid storage technology? Try changing it to ACHI and see if that resolves your issue. On Mon, Oct 3, 2022, 12:02 AM Jude DaShiell <jdashiel@panix.com> wrote:
I have these on my new computer. I can partition the nvme scsi drive with parted but parted can't handle the other drive on the machine. Has archlinux got a separate tool to take control of nvme drives the way parted does?
Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940)
.
rather not ahci. nvme and ahci are two different things. here on my computer i can enable or disable something like this and it will probably either present two nvmes as one or two nvmes as two W dniu 3.10.2022 o 17:59, nhasian@gmail.com pisze:
By any chance is the disk controller in the EUFI/BIOS set to RAID or Intel rapid storage technology? Try changing it to ACHI and see if that resolves your issue.
On Mon, Oct 3, 2022, 12:02 AM Jude DaShiell <jdashiel@panix.com> wrote:
I have these on my new computer. I can partition the nvme scsi drive with parted but parted can't handle the other drive on the machine. Has archlinux got a separate tool to take control of nvme drives the way parted does?
Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940)
.
That needs sighted people to even look at those settings let alone adjust them. Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) . On Mon, 3 Oct 2022, nhasian@gmail.com wrote:
By any chance is the disk controller in the EUFI/BIOS set to RAID or Intel rapid storage technology? Try changing it to ACHI and see if that resolves your issue.
On Mon, Oct 3, 2022, 12:02 AM Jude DaShiell <jdashiel@panix.com> wrote:
I have these on my new computer. I can partition the nvme scsi drive with parted but parted can't handle the other drive on the machine. Has archlinux got a separate tool to take control of nvme drives the way parted does?
Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940)
.
Hello, The kernel should be able to detect those remapped nvme drives and report them in the ahci sysfs tree. cat /sys/bus/pci/drivers/ahci/*:*/remapped_nvme This command should report a number greater than 0 if there is such a remapped nvme. Since the nvme is listed in the lsblk output, there should be no remapping occuring, though. What drives do you expect the machine to have? Your output lists one unpartitioned scsi/sata drive as /dev/sda, one nvme drive as /dev/nvme0n1 including three partitions, one optical drive as /dev/sro, and some zram (compressed ram). parted should be able to work with both sda and nvme0n1. I think the -l option for parted should list all drives and partitions it can access. parted -l -- ProgAndy Am 03.10.22 um 18:52 schrieb Jude DaShiell:
That needs sighted people to even look at those settings let alone adjust them. . On Mon, 3 Oct 2022, nhasian@gmail.com wrote:
By any chance is the disk controller in the EUFI/BIOS set to RAID or Intel rapid storage technology? Try changing it to ACHI and see if that resolves your issue.
I got 0 back when doing that command. Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) . On Mon, 3 Oct 2022, progandy wrote:
Hello,
The kernel should be able to detect those remapped nvme drives and report them in the ahci sysfs tree.
cat /sys/bus/pci/drivers/ahci/*:*/remapped_nvme
This command should report a number greater than 0 if there is such a remapped nvme. Since the nvme is listed in the lsblk output, there should be no remapping occuring, though.
What drives do you expect the machine to have?
Your output lists one unpartitioned scsi/sata drive as /dev/sda, one nvme drive as /dev/nvme0n1 including three partitions, one optical drive as /dev/sro, and some zram (compressed ram).
parted should be able to work with both sda and nvme0n1.
I think the -l option for parted should list all drives and partitions it can access.
parted -l
-- ProgAndy
Am 03.10.22 um 18:52 schrieb Jude DaShiell:
That needs sighted people to even look at those settings let alone adjust them. . On Mon, 3 Oct 2022, nhasian@gmail.com wrote:
By any chance is the disk controller in the EUFI/BIOS set to RAID or Intel rapid storage technology? Try changing it to ACHI and see if that resolves your issue.
If any disk partitions were changed then the kernel needs to be informed to update its internal map - this is usually done by calling partprobe. I dont use parted so it may already be doing that, but mentioning in case its helpful. I am unclear what the problem is exactly. regards, gene
participants (7)
-
Anton Hvornum
-
Genes Lists
-
Guus Snijders
-
Jude DaShiell
-
Michał Zegan
-
nhasian@gmail.com
-
progandy