I had an nvme drive formatted as NTFS on a dual boot 24.04 system which I thought was causing file system errors although even using a live USB showed it clean.
I decided to change the format to ext4 as ubuntu was the most used system. I copied al of the data on the drive to another nvme drive also formatted NTFS. Using Gparted I deleted the problem drive, remade and reformatted it to ext4.
Now in Gparted that drive shows:
Partition /dev/nvme2n1p1
Filesystem ext4
Size 1.82 TiB
Used 1.94 GiB
Unused 1.82 TiB
Examining the system:
Code:
makem@makem-22:~$ lsblk -e 7 -o name,fstype,size,fsused,label,UUID,mountpoint
NAME FSTYPE SIZE FSUSED LABEL UUID MOUNTPOINT
nvme1n1 476.9G
├─nvme1n1p1
│ vfat 260M 33.4M SYSTEM 40DB-4F92 /boot/efi
├─nvme1n1p2
│ 128M
├─nvme1n1p3
│ ntfs 500M Recovery F026DBCE26DB9446
├─nvme1n1p4
│ ntfs 181.9G 116.5G Windows CE6CDDE46CDDC77D /media/mak
├─nvme1n1p5
│ ext4 40.2G 23.8G 3388ecd3-9ab1-44d8-90cf-88b70af20f14 /
├─nvme1n1p6
│ ext4 83.8G 63.6G 6e3e25f1-7705-4a68-934a-e5b1676c58b2 /home
├─nvme1n1p7
│ ext4 166.5G 41.1G games-steam 8d58ff3d-fa93-4b35-a343-34883602c151 /media/mak
└─nvme1n1p8
swap 3.7G 4ede3f10-e290-4fe4-970a-27537f3a0499 [SWAP]
nvme0n1 1.8T
├─nvme0n1p1
│ 16M
└─nvme0n1p2
ntfs 1.8T 1.2T games E07CD0EB7CD0BD8A /media/gam
nvme2n1 1.8T
└─nvme2n1p1
ext4 1.8T e01623f7-1a20-487d-b800-ddbf49597bf1
makem@makem-22:~$
Code:
makem@makem-22:~$ sudo fdisk -l | sed -e '/Disk \/dev\/loop/,+5d'
Disk /dev/nvme1n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: INTEL SSDPEKNW512G8
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: 176110A6-54C5-4712-B23C-642A1CA0CB04
Device Start End Sectors Size Type
/dev/nvme1n1p1 2048 534527 532480 260M EFI System
/dev/nvme1n1p2 534528 796671 262144 128M Microsoft reserved
/dev/nvme1n1p3 796672 1820671 1024000 500M Windows recovery environment
/dev/nvme1n1p4 1820672 383305727 381485056 181.9G Microsoft basic data
/dev/nvme1n1p5 391118848 475361279 84242432 40.2G Linux filesystem
/dev/nvme1n1p6 475361280 651143167 175781888 83.8G Linux filesystem
/dev/nvme1n1p7 651143168 1000214527 349071360 166.5G Linux filesystem
/dev/nvme1n1p8 383305728 391118847 7813120 3.7G Linux swap
Partition table entries are not in disk order.
Disk /dev/nvme0n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WD_BLACK SN770 2TB
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: 177AF546-2E8D-4D33-AFC3-36FD08C7F64B
Device Start End Sectors Size Type
/dev/nvme0n1p1 34 32767 32734 16M Microsoft reserved
/dev/nvme0n1p2 32768 3907026943 3906994176 1.8T Microsoft basic data
Disk /dev/nvme2n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: CT2000P3PSSD8
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: dos
Disk identifier: 0x8472d22b
Device Boot Start End Sectors Size Id Type
/dev/nvme2n1p1 2048 3907028991 3907026944 1.8T 83 Linux
makem@makem-22:~$
The 1.94 GiB used is obviously wrong and I would like to correct it but don't know how. I do not want to replace the data if the drive is not correct.
Then I decided to mount on /media where all my other stuff is mounted. But I must have got the mount command wrong because all my 'stuff' show above has gone and I know not where!
I thought I was mounting it to /media where the other 'stuff' is.
Can anyone se where my stuff might be?
Bookmarks