User Tools

Site Tools


how_to_use_a_usb_drive_for_storage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
how_to_use_a_usb_drive_for_storage [2016/06/10 01:06]
ron
how_to_use_a_usb_drive_for_storage [2016/06/10 04:17]
ron
Line 1: Line 1:
 =====How To Use a USB Drive For The VortexBox Media Library===== =====How To Use a USB Drive For The VortexBox Media Library=====
  
-Here are instructions for using a USB drive for your VortexBox media library:+Here are instructions for using a USB drive for your VortexBox media library. These instructions should work on both VortexBox 2.3 (Fedora 20) and VortexBox 2.4 (Fedora 23).
  
 1. Prepare your USB drive. VortexBox media are in /storage: 1. Prepare your USB drive. VortexBox media are in /storage:
 +<​code>​
 Audio: /​storage/​music Audio: /​storage/​music
 LMS music library: /​storage/​music/​flac LMS music library: /​storage/​music/​flac
Line 11: Line 11:
 Images: /​storage/​pictures Images: /​storage/​pictures
 Video: /​storage/​movies Video: /​storage/​movies
 +</​code>​
  
-To use an external USB drive for your VortexBox media, you'll have to create top-level folders music, pictures, and movies on the USB drive. You should also create a music/flac folder on your USB drive, and place your music files there (even if they are not FLAC files). Also create a music/​playlist folder for LMS playlists. Create a music/mp3 folder for VortexBox to use for mirroring FLAC files to mp3. Do not place any music files in music/mp3; place them in music/flac. Move your media files on the USB drive to the appropriate folders. This will allow you to mount the USB drive at /storage and have all your media show up in the proper place.+To use an external USB drive for your VortexBox media, you'll have to create top-level folders ​**music****pictures**, and **movies** on the USB drive. You should also create a **music/flac** folder on your USB drive, and place your music files there (even if they are not FLAC files). Also create a **music/​playlist** folder for LMS playlists. Create a **music/mp3** folder for VortexBox to use for mirroring FLAC files to mp3. Do not place any music files in music/mp3; place them in music/flac. Move your media files on the USB drive to the appropriate folders. This will allow you to mount the USB drive at /storage and have all your media show up in the proper place.
  
 2. Remove all other USB drives (e.g. a backup drive) from your VB. Plug the desired USB drive into your VB. 2. Remove all other USB drives (e.g. a backup drive) from your VB. Plug the desired USB drive into your VB.
  
-3. Login to your VB; see Login.+3. Login to your VB; see [[VortexBox Command Line]]
  
 4. Find the device name of the USB drive. Enter 4. Find the device name of the USB drive. Enter
Line 29: Line 30:
 </​code>​ </​code>​
  
-Use the device name from step with a "​1"​ appended in the above command if it's not /dev/sdb.+**Use the device name from step with a "​1"​ appended in the above command if it's not /dev/sdb.**
  
 6. If this works, then automount the drive at boot time. Edit /etc/fstab. Enter 6. If this works, then automount the drive at boot time. Edit /etc/fstab. Enter
Line 42: Line 43:
 <​code>/​dev/​sdb1 ​ /​storage ​ ntfs  defaults 0 0</​code>​ <​code>/​dev/​sdb1 ​ /​storage ​ ntfs  defaults 0 0</​code>​
  
-Use the correct device name if it's not /dev/sdb1. This presumes the drive has a NTFS filesystem on it. If not, use the correct filesystem type in the above line.+**Use the correct device name if it's not /dev/sdb1.** This presumes the drive has a NTFS filesystem on it. If not, use the correct filesystem type in the above line.
  
 9. Write the file (control-o) and quit (control-x). 9. Write the file (control-o) and quit (control-x).
Line 54: Line 55:
 This should mount the USB drive at /storage. This should mount the USB drive at /storage.
  
-11. If step is successful, the USB drive will be automounted at /storage when the VB reboots.+11. If step 10 is successful, the USB drive will be automounted at /storage when the VB reboots.
  
 12. If you want the proper drive to be automounted regardless of the device name, enter the command 12. If you want the proper drive to be automounted regardless of the device name, enter the command
 <​code>​blkid /​dev/​sdb1</​code>​ <​code>​blkid /​dev/​sdb1</​code>​
  
-Use the correct device name in the above command if it's not /dev/sdb1.+**Use the correct device name in the above command if it's not /dev/sdb1.**
  
 On my VortexBox, this returns On my VortexBox, this returns
 <​code>/​dev/​sdb1:​ UUID="​725A66165AF23401" ​ TYPE="​ntfs"</​code>​ <​code>/​dev/​sdb1:​ UUID="​725A66165AF23401" ​ TYPE="​ntfs"</​code>​
  
-13. You can then change the step line in /etc/fstab to+13. You can then change the step line in /etc/fstab to
 <​code>​UUID="​725A66165AF23401"​ /storage ntfs defaults 0 0</​code>​ <​code>​UUID="​725A66165AF23401"​ /storage ntfs defaults 0 0</​code>​
  
-Use the UUID returned by the blkid command on your system.+Use the UUID returned by the **blkid** command on your system.
  
 14. After you have mounted the USB drive at /storage, change ownership of /​storage/​music/​playlist so it can be written by Logitech Media Server: 14. After you have mounted the USB drive at /storage, change ownership of /​storage/​music/​playlist so it can be written by Logitech Media Server:
 <​code>​chown squeezeboxserver:​squeezeboxserver /​storage/​music/​playlist</​code>​ <​code>​chown squeezeboxserver:​squeezeboxserver /​storage/​music/​playlist</​code>​
  
how_to_use_a_usb_drive_for_storage.txt ยท Last modified: 2016/06/10 04:17 by ron