Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6977

Troubleshooting • Mounting Drives

$
0
0
Hi,

So, here I am, about to install Nextcloud on a new machine and I notice some things.

As I understand it, I could use mount to access a partition but that would be transient i.e. would not survive a reboot so I have to edit /etc./fstab using PARTUUID information gained from blkid:

Code:

/dev/nvme0n1p1: UUID="3116797f-a0c3-44e2-aafb-ac1d596d9f17" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="5c776f11-dcee-46d5-a528-ca3f9c3c0ac4"
If I have it right, permanently mounting the above 400Gb partition on my 2Tb NVME SSD (nvme0n1/nvme0n1p1) would need me to add the following line to /etc/fstab:

Code:

PARTUUID="5c776f11-dcee-46d5-a528-ca3f9c3c0ac4"  /mnt/nvme               ext4    defaults,noatime  0       1
This brings up another question... why is the PARTUUID identifier sometimes short ("547ce3c7-01", the SSD on my old installation) and sometimes long ("5c776f11-dcee-46d5-a528-ca3f9c3c0ac4" the NVME on my new one)? Even the PARTUUID for my 2TB SSD (USB attached) on my new machine is weirdly long.

Thanks :)

James

Statistics: Posted by JamesCRocks — Tue Aug 05, 2025 11:18 am — Replies 3 — Views 107



Viewing all articles
Browse latest Browse all 6977

Trending Articles