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

Advanced users • A bit of advice and some questions about disk and drives

$
0
0
Hey,

I'm running OS Raspberry Pi OS Lite 64bit Debian version: 12 (bookworm) on a Raspberry Pi 5 combined with a Pimoroni NVMe Base (bottom PCIe Hat) for my 250gb M.2 SSD For a while ago I was running OMV on top but I have decided to keep it like this now.. I have installed Docker and I'll down the road install some containers.

I have some general questions and hope to get som basic knowledge. Therefore I have provided some outputs on what I think is useful further down in this post.

So I know that the System/OS/Boot drive in my case are on this disk nvme0n1 but nevertheless..

..my question are
- what is this first partition (nvme0n1p1) used for? I'm guessing this is the boot partition on the drive and was configured in this manner using the Pi Imager
- would it be safe to change the file format on it to EXT4?
- whats on the second one? (nvme0n1p2) I know I did not create it (knowingly) and since the disks partitioned as it is, then it seems this one is not used for anything, or is it?

..furthermore
- Is it safe to set the second disk (aka "sda") without partitioning it? I'll use this disk as my storage for anything and everything from family photos, movies, tv shows, bocks, music and so on.. therefore I don't see the point of slicing it up (if possible).

..and lastly
- What do I need to think about when it comes to backup's?
- my thoughts and plans on this are/is to find a application that will allow me run backups based on on a schedule one will be of the OS/System drive and the other one will be of some of the stuff that is priceless, like family photos and so on. These backup disk drives will be attached to the Pi by using the USB ports. I could use the built in Micro-SD slot for the OS/System backup, right?

Any and all advice and input on this would be greatly appreciated by me!
lsblk -l

Code:

NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTSsda         8:0    0   1.8T  0 disknvme0n1   259:0    0 238.5G  0 disknvme0n1p1 259:1    0   512M  0 part /boot/firmwarenvme0n1p2 259:2    0 118.6G  0 part /
sudo fdisk -l

Code:

Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectorsDisk model: THNSN5256GPU7 TOSHIBAUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0x3986f1d4Device         Boot   Start       End   Sectors   Size Id Type/dev/nvme0n1p1         8192   1056767   1048576   512M  c W95 FAT32 (LBA)/dev/nvme0n1p2      1056768 249737215 248680448 118.6G 83 LinuxDisk /dev/sda: 1.82 TiB, 2000398934016 bytes, 3907029168 sectorsDisk model: SN580 2TBUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 33553920 bytes
sudo fdisk -l

Code:

sudo cat /etc/fstabproc            /proc           proc    defaults          0       0PARTUUID=3986f1d4-01  /boot/firmware  vfat    defaults          0       2PARTUUID=3986f1d4-02  /               ext4    defaults,noatime  0       1# a swapfile is not a swap partition, no line here#   use  dphys-swapfile swap[on|off]  for that

Statistics: Posted by Arelius — Thu May 02, 2024 12:28 pm — Replies 3 — Views 37



Viewing all articles
Browse latest Browse all 4397

Trending Articles