LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Problem with access to partitions while upgrading to 24.04 (Dell XPS-9320) (https://www.linuxquestions.org/questions/ubuntu-63/problem-with-access-to-partitions-while-upgrading-to-24-04-dell-xps-9320-a-4175736753/)

Sefid par 05-06-2024 05:11 AM

Problem with access to partitions while upgrading to 24.04 (Dell XPS-9320)
 
2 Attachment(s)
Around one and half years ago I installed Ubuntu 22.04 on my laptop. That day I choose to partition the nvme drive in gpt. I think everything was correct. But whenever I tried to install the 24.04, the installer did not show the partitions on this nvme drive. It just show the partitions on flash drive.

I could open the drives of nvme on live Ubuntu and the problem was only about installation.

Then I tried to open drives in GParted. GParted also could not see the partitions (Not on Ubuntu 22.04 and nor 24.04 live).
https://www.linuxquestions.org/quest...1&d=1714989289

But the disks program can see all partition table on nvme.
https://www.linuxquestions.org/quest...1&d=1714989289

So I tried to check the device health using smartctl. And it did not log any errors. Here is the results of device info by smartctl:

Code:

smartctl 7.2 2020-12-30 r5155 [x86_64-linux-6.2.0-39-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                      PC SN810 NVMe WDC 1024GB
Serial Number:                      222320800967
Firmware Version:                  61912524
PCI Vendor/Subsystem ID:            0x15b7
IEEE OUI Identifier:                0x001b44
Total NVM Capacity:                1,024,209,543,168 [1.02 TB]
Unallocated NVM Capacity:          0
Controller ID:                      8224
NVMe Version:                      1.4
Number of Namespaces:              1
Namespace 1 Size/Capacity:          1,024,209,543,168 [1.02 TB]
Namespace 1 Formatted LBA Size:    512
Namespace 1 IEEE EUI-64:            001b44 8b4bed623f
Local Time is:                      Mon May  6 13:16:22 2024 +0330
Firmware Updates (0x14):            2 Slots, no Reset required
Optional Admin Commands (0x0017):  Security Format Frmw_DL Self_Test
Optional NVM Commands (0x00df):    Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp Verify
Log Page Attributes (0x1e):        Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg Pers_Ev_Lg
Maximum Data Transfer Size:        128 Pages
Warning  Comp. Temp. Threshold:    83 Celsius
Critical Comp. Temp. Threshold:    88 Celsius
Namespace 1 Features (0x02):        NA_Fields

Supported Power States
St Op    Max  Active    Idle  RL RT WL WT  Ent_Lat  Ex_Lat
 0 +    8.25W    8.25W      -    0  0  0  0        0      0
 1 +    3.50W    3.50W      -    0  0  0  0        0      0
 2 +    2.60W    2.60W      -    0  0  0  0        0      0
 3 -  0.0250W      -        -    3  3  3  3    5000  10000
 4 -  0.0035W      -        -    4  4  4  4    3900  45700

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +    512      0        2
 1 -    4096      0        1

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                  0x00
Temperature:                        41 Celsius
Available Spare:                    100%
Available Spare Threshold:          50%
Percentage Used:                    2%
Data Units Read:                    5,756,954 [2.94 TB]
Data Units Written:                17,966,363 [9.19 TB]
Host Read Commands:                47,273,450
Host Write Commands:                310,134,275
Controller Busy Time:              1,216
Power Cycles:                      124
Power On Hours:                    271
Unsafe Shutdowns:                  58
Media and Data Integrity Errors:    0
Error Information Log Entries:      0
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Thermal Temp. 1 Transition Count:  32
Thermal Temp. 1 Total Time:        143

Error Information (NVMe Log 0x01, 16 of 256 entries)
No Errors Logged

The output of fdisk -l is as follows:

Code:

Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: PC SN810 NVMe WDC 1024GB               
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 4FB75835-E796-43CD-AE5A-C8145C8384A4

Device              Start        End  Sectors  Size Type
/dev/nvme0n1p1      2048    1171455  1169408  571M EFI System
/dev/nvme0n1p2    1171456  63672319  62500864  29.8G Linux swap
/dev/nvme0n1p3  63672320  258983935 195311616  93.1G Linux filesystem
/dev/nvme0n1p4  258983936 1235546111 976562176 465.7G Linux filesystem
/dev/nvme0n1p5 1235546112 1293379583  57833472  27.6G Linux filesystem

Here is the output of verify disk by gdisk:

Code:

No problems found. 707031661 free sectors (337.1 GiB) available in 2
segments, the largest of which is 707029647 (337.1 GiB) in size.

The output of partition table by gdisk:

Code:

Disk /dev/nvme0n1: 2000409264 sectors, 953.9 GiB
Model: PC SN810 NVMe WDC 1024GB               
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 4FB75835-E796-43CD-AE5A-C8145C8384A4
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 2000409230
Partitions will be aligned on 2048-sector boundaries
Total free space is 707031661 sectors (337.1 GiB)

Number  Start (sector)    End (sector)  Size      Code  Name
  1            2048        1171455  571.0 MiB  EF00 
  2        1171456        63672319  29.8 GiB    8200 
  3        63672320      258983935  93.1 GiB    8300 
  4      258983936      1235546111  465.7 GiB  8300 
  5      1235546112      1293379583  27.6 GiB    8300

The output of blkid:

Code:

XPS-9320:~$ blkid /dev/nvme0n1
/dev/nvme0n1: LABEL="rpool" UUID="13581967743283848150" UUID_SUB="3255991762967544192" BLOCK_SIZE="4096" TYPE="zfs_member" PTUUID="4fb75835-e796-43cd-ae5a-c8145c8384a4" PTTYPE="gpt"

I'm not sure if this is related to this bug report of gParted or not.


I would like to understand the source of this problem and find the correct way to fix it so that I can upgrade the Ubuntu.

syg00 05-06-2024 11:48 PM

I would guess there is a random match for the zfs metadata. wipefs will show you, and also erase it for you if you wish - see the manpage.


All times are GMT -5. The time now is 02:54 AM.