NVME - really funky situation
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2012
    Location
    santa barbara, CA
    Posts
    954

    NVME - really funky situation

    OK, so in my new server (dual Epyc Supermicro), I have 2x NVMEs and 2x SSDs plus some good ol' SATA seagates.

    Now, of course I am trying to have the NVMEs serve as database repository, so I can get the max speed out of the thing. HOWEVER !!!!!

    I am facing a very funky situation, that of self-swapping labels, or partition names,,,,

    here the gparted, I go ahead and configure them like this, nvme0 and nvme1 respectively (note the labels):
    Click image for larger version. 

Name:	nvme0_gparted.png 
Views:	15 
Size:	87.9 KB 
ID:	29462
    and
    Click image for larger version. 

Name:	nvme1_gparted.png 
Views:	14 
Size:	91.0 KB 
ID:	29463

    after this, the fdisk looks like this:
    Code:
    [root@boa ~]# fdisk -l | grep nvme
    Disk /dev/nvme0n1: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    /dev/nvme0n1p1  2048 976773119 976771072 465.8G Linux filesystem
    Disk /dev/nvme1n1: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    /dev/nvme1n1p1  2048 976773119 976771072 465.8G Linux filesystem
    blkid | grep nvme looks like this:
    Code:
    [root@boa ~]# blkid | grep nvme
    /dev/nvme0n1p1: LABEL="nvme0" UUID="54983185-08e8-4ae5-b35e-7999216f0232" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="6c9eab69-69f0-4794-8d67-e6e8d58833a4"
    /dev/nvme1n1p1: LABEL="nvme1" UUID="ec2a83bc-b569-4ce9-bbaa-d104376f275f" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="d5d9b6de-ef1c-4727-bd36-97760c5c863e"
    /dev/nvme0n1: PTUUID="bfd00c07-8290-46cc-8912-9a1b33732605" PTTYPE="gpt"
    /dev/nvme1n1: PTUUID="023fb823-5d14-41a9-bfad-3e237ad2f5b4" PTTYPE="gpt"

    then I reboot (without power cycle).
    "monsters John ... monsters from the ID..."
    "ma vule teva maar gul nol naya"

  2. #2
    Join Date
    Dec 2012
    Location
    santa barbara, CA
    Posts
    954

    Re: NVME - really funky situation

    After the reboot:
    Code:
    [root@boa ~]# blkid | grep nvme
    /dev/nvme0n1: PTUUID="023fb823-5d14-41a9-bfad-3e237ad2f5b4" PTTYPE="gpt"
    /dev/nvme0n1p1: LABEL="nvme1" UUID="ec2a83bc-b569-4ce9-bbaa-d104376f275f" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="d5d9b6de-ef1c-4727-bd36-97760c5c863e"
    /dev/nvme1n1: PTUUID="bfd00c07-8290-46cc-8912-9a1b33732605" PTTYPE="gpt"
    /dev/nvme1n1p1: LABEL="nvme0" UUID="54983185-08e8-4ae5-b35e-7999216f0232" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="6c9eab69-69f0-4794-8d67-e6e8d58833a4"
    Note that before the reboot, /dev/nvme0n1p1 was LABEL="nvme0" , but now it is: LABEL="nvme1"
    Now, so far the labels and uuid's stay true. I will try and add them to /etc/fstab by UUID, then copy one file to one of them, and see if I can get consistent bootups with the same partition mounted always on the same mountpoint.
    "monsters John ... monsters from the ID..."
    "ma vule teva maar gul nol naya"

  3. #3
    Join Date
    Dec 2012
    Location
    santa barbara, CA
    Posts
    954

    Re: NVME - really funky situation

    /dev/nvme1n1p1 479672016 652776 454599964 1% /NVME1
    /dev/nvme0n1p1 479672016 2276056 452976684 1% /NVME2

    /dev/nvme1n1p1 479672016 652776 454599964 1% /NVME1
    /dev/nvme0n1p1 479672016 2276056 452976684 1% /NVME2


    /dev/nvme1n1p1 479672016 652776 454599964 1% /NVME1
    /dev/nvme0n1p1 479672016 2276056 452976684 1% /NVME2

    so far seems consistent. Will load up a bit more on NVME2
    /dev/nvme1n1p1 479672016 652776 454599964 1% /NVME1
    /dev/nvme0n1p1 479672016 8886364 446366376 2% /NVME2

    /dev/nvme1n1p1 479672016 652776 454599964 1% /NVME1
    /dev/nvme0n1p1 479672016 8886364 446366376 2% /NVME2

    Looks consistent, I will go with it for now, and post here if I see some problems.
    "monsters John ... monsters from the ID..."
    "ma vule teva maar gul nol naya"

  4. #4
    Join Date
    Dec 2012
    Location
    santa barbara, CA
    Posts
    954

    Re: NVME - really funky situation

    One note I have to add is that gparted gets fully foncused after this "label-device swap" the thing does, and it may actually tell you that your partition is not even configured !!!! I have seen this several times, and will take a screeny if I see it again.
    "monsters John ... monsters from the ID..."
    "ma vule teva maar gul nol naya"

Similar Threads

  1. NVMe vs. SSD -> first thoughts
    By bobx001 in forum Hardware & Laptops
    Replies: 9
    Last Post: 6th February 2018, 10:41 AM
  2. [SOLVED]
    Samsung NVMe
    By theking2 in forum Hardware & Laptops
    Replies: 7
    Last Post: 16th October 2017, 10:50 PM
  3. PCI and nvme errors
    By RobertAdesam in forum Hardware & Laptops
    Replies: 2
    Last Post: 25th January 2017, 10:39 AM
  4. Replies: 6
    Last Post: 13th December 2007, 03:23 AM
  5. Funky problems.
    By davenator in forum Using Fedora
    Replies: 4
    Last Post: 4th February 2007, 08:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •