You need to use a USB disk with your Raspberry PI.
Solution:
Raspberry PI OS will recognize automatically your USB disk but you need to follow the next configuration steps to use it correctly.
1.- Check your current OS partitions.
sudo fdisk -l2.- Create a shared forlder.
sudo mkdir /media/MyUSB
sudo chmod 777 /media/MyUSB
2.- Setup fstab file, this file store your mount configuration
sudo nano /etc/fstabAdd one line to configure your USB disk, somethink like:
/dev/stda /media/MyUSB vfat rw 0 0/dev/stda path to the USB sick
/media/MyUSB mount path where files are stored
vfat FAT32 format
3.- Confirm an apply changes.
sudo mount -a
4.- Check current partition.
Additional info:sudo df
To Remove the disk in save mode:
- Remember to change shared folder authorizations to 777, if not you will not be able to share it trough NFS or similar.
umount /dev/stdaNotes:
- Remember to change shared folder authorizations to 777, if not you will not be able to share it trough NFS or similar.
Hardware:
In my test I use a 128 USB flash disk from Philips and it works really well to manage file between the raspberry system.
Remember that this will work not only with flash disk, also with external USB hard disks.