I have a Pi4 with OMV6
Operating System: Raspbian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.103-v7l+
The OS is on the SD card, and ( I assume ) this includes all the docker containers, etc).
The data ( shared folders, SMB, etc are on a USB connected SSD ( in an external case ).
The SSD ( when plugging in to my win pc and viewed in Disk Manager ) shows only a single partition 447 Gb ( 480 Gb SSD )
Using Pi > OMV > Storage > File Systems, it shows /dev/sda1 as type : EXT4
using : sudo fdisk -l
Disk /dev/sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk model: nal USB 3.0
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: **************
Device Start End Sectors Size Type
/dev/sda1 2048 937703054 937701007 447.1G Linux filesystem
I want to keep all the existing data on the SSD and not have to go thru the process of setting everything up again. Is this possible ?
If I look in Cloud Commander, the shared folders are all listed on the SSD here :
/mnt/fs/svr/dev-disk-by-label-NAShd1/
Had a discussion on Discord in the general Pi group, and it seems that the best would be :
step 1 - clone the existing SD card to a new SSD.
step 2 - copy the data from the old SSD to the new SSD.
But I don't understand WHERE to copy the data to.
Ideally, I don't want to have to redo the OMV setup, and have the OMV OS still see the files just like they did when the OS as on an SD card, and the data files / folders was on the old SSD.
Is this possible ?
I have nginx, duplicati, and a few other docker containers that all work with those data files.