2.2 KiB
External USB Drive Configuration
WROLPi expects a single USB drive to be mounted at /media/wrolpi. However, multiple drives are supported. WROLPi
uses special directories to know where to place downloaded files. The config special directories cannot be changed
and WROLPi will always look for it at /media/wrolpi/config
The default special directories are the following (the inputs are disabled because the "Edit Directories" toggle is not checked):
2+ drives
As of the writing of this article, WROLPi partially supports multiple drives. The primary drive must be mounted to
/media/wrolpi, the configs will be written to this drive. The other drive must be mounted within /media/wrolpi.
If you wanted your secondary drive named "secondary", you could mount it at /media/wrolpi/secondary. Linux will
ensure the files are placed in the correct drives.
Migrating from one to two drives
Assuming that you have a WROLPi with a single external hard drive, and would like to add a second drive, follow these steps.
-
Mount the secondary drive to some path in
/media/wrolpi. We will assume you use/media/wrolpi/secondaryfor this example. Follow this pattern for all new drives.mkdir /media/wrolpi/secondarymount /dev/sdb1 /media/wrolpi/secondary
-
Decide where WROLPi will download files.
- WROLPi will download videos to
/media/wrolpi/videosby default. If you want WROLPi to save new videos to the secondary drive, edit the "Videos Directory" inAdmin > Settings > Special Directoriesto something likesecondary/videos. - Do this for all special directories.
- You can keep all special directories in the primary drive, WROLPi will still search the secondary drive for any new files.
- WROLPi will download videos to
-
Make the drive mounts permanent by modifying
/etc/fstab:/dev/sda1 /media/wrolpi auto defaults,nofail 0 0 # primary /dev/sdb /media/wrolpi/secondary auto defaults,nofail 0 0 # secondary -
Verify that the mounts are correct by rebooting.
sudo reboot
