Page 7 of 7 FirstFirst ... 567
Results 61 to 70 of 70

Thread: Pointing Vortexbox and Squeezebox Server to Network Stora Device

  1. #61
    Senior Member
    Join Date
    Jul 2010
    Posts
    523

    Question Mount all storage on remote NAS

    Quote Originally Posted by hifihere View Post
    The Drobo comes with a "Public" folder so my path was:

    //10.x.x.x/public /storage/music/flac cifs guest,_netdev 0 0

    The Drobo has a very slow I/O but it is streaming audio OK so far.*

    I am about to test 1080P video now.
    Can anyone suggest a path that would mount all the storage on the remote NAS? I would like to move the entire storage directory tree from the SSD boot drive to the Drobo NAS.

  2. #62
    Administrator Ron Olsen's Avatar
    Join Date
    Dec 2009
    Location
    Boulder CO USA
    Posts
    4,956
    Edit /etc/fstab to

    1. Change the Drobo line to mount the Drobo public folder at /storage:
    Code:
    //10.x.x.x/public /storage cifs guest,_netdev 0 0
    2. Delete the line that mounts /storage from the internal hard drive:
    Code:
    /dev/mapper/VolGroup-lv_storage /storage ext4 defaults 1 2
    (or comment it out by prefixing the line with a #).

    3. Check with "mount -a" when done editing /etc/fstab.

  3. #63
    Senior Member
    Join Date
    Jul 2010
    Posts
    523

    Terrific Ron! I will give it a shot soon.

    Quote Originally Posted by Ron Olsen View Post
    Edit /etc/fstab to

    1. Change the Drobo line to mount the Drobo public folder at /storage:
    Code:
    //10.x.x.x/public /storage cifs guest,_netdev 0 0
    2. Delete the line that mounts /storage from the internal hard drive:
    Code:
    /dev/mapper/VolGroup-lv_storage /storage ext4 defaults 1 2
    (or comment it out by prefixing the line with a #).

    3. Check with "mount -a" when done editing /etc/fstab.

  4. #64
    Senior Member
    Join Date
    Jul 2010
    Posts
    523
    Ron, do I need to manually create the read/write and read only file directory on the NAS?

  5. #65
    Administrator Ron Olsen's Avatar
    Join Date
    Dec 2009
    Location
    Boulder CO USA
    Posts
    4,956
    No, but you should create music, pictures, and movies directories under public on your NAS.

    You want the directories set up under /storage to look the same whether you're mounting /storage from the internal hard drive or from the NAS.

  6. #66
    Senior Member
    Join Date
    Jul 2010
    Posts
    523
    Quote Originally Posted by Ron Olsen View Post
    Edit /etc/fstab to

    1. Change the Drobo line to mount the Drobo public folder at /storage:
    Code:
    //10.x.x.x/public /storage cifs guest,_netdev 0 0
    2. Delete the line that mounts /storage from the internal hard drive:
    Code:
    /dev/mapper/VolGroup-lv_storage /storage ext4 defaults 1 2
    (or comment it out by prefixing the line with a #).

    3. Check with "mount -a" when done editing /etc/fstab.
    Should this line remain?
    /dev/mapper/VolGroup-lv_swap swap swap defaults 0 0

  7. #67
    Administrator Ron Olsen's Avatar
    Join Date
    Dec 2009
    Location
    Boulder CO USA
    Posts
    4,956
    Quote Originally Posted by hifihere View Post
    Should this line remain?
    /dev/mapper/VolGroup-lv_swap swap swap defaults 0 0
    Yes it should remain.

  8. #68
    Senior Member
    Join Date
    Jul 2010
    Posts
    523
    Hi Ron,

    I was able to put this to the test today. Here are a few observations.

    The internal drive is still being mounted for storage and the Drobo is also. When the first CD was ripped the folders were dynamically created and mirrored on both drives.

    The first Blu-ray rip placed the mkv in the tmp folder and it remained there after completion.

    I rem'd out the internal mount but it still mounts. Here is my fstab:

    /dev/mapper/VolGroup-lv_root / ext4 defaults 1 1
    UUID=866d8d86-b531-436a-ad33-4fa8c8817d10 /boot ext4 defaults 1 2
    # /dev/mapper/VolGroup-lv_storage /storage ext4 defaults 1 2
    /dev/mapper/VolGroup-lv_swap swap swap defaults 0 0
    //10.0.0.3/public /storage cifs guest,_netdev 0 0
    Last edited by hifihere; 07-06-2012 at 02:41 AM.

  9. #69

    It almost works...

    Hi all, and thanks for the useful explanations present on this thread.
    Following those advice I managed to point the flac and mp3 directories of my vortexbox to my drobbo-fs with the following entries in my fstabs file :
    Code:
    192.168.0.113:/musique/Flac /storage/music/flac cifs guest,_netdev 0 0
    192.198.0.113:/musique /storage/music/mp3 cifs guest,_netdev 0 0
    I can rip to the flac directory and LMS can stream the music from it, implying that both read and write access are operational.

    However, the Flac Mirror constantly returns the following message :
    Code:
    Using flac from: /usr/bin/flac
    Using lame from: /usr/bin/lame
    Processing directory: /storage/music/flac
    Found 0 flac file
    I have tried adding appropriate username and password fields in the fstab without success.
    Any idea about where this comes from and how to correct it would be very welcome !

  10. #70
    Junior Member
    Join Date
    Jun 2011
    Posts
    25
    Quote Originally Posted by Pegase View Post
    However, the Flac Mirror constantly returns the following message :
    Code:
    Using flac from: /usr/bin/flac
    Using lame from: /usr/bin/lame
    Processing directory: /storage/music/flac
    Found 0 flac file
    I had a similar problem with mirroring when I pointed the vortexbox to a NAS. IIRC, there is something in the mirror script that doesn't follow symbolic links (at least onto remote filesystems). As /storage/music/flac is a link to the NAS (I assume) then it doesn't look any further. This may have changed since I last tried to fix it. I am not familar with Perl, so it was simpler for me to write a python script to do what I wanted (mirroring flac to mp3).

    Steve.

Similar Threads

  1. Replies: 26
    Last Post: 10-01-2011, 05:54 AM
  2. Replies: 4
    Last Post: 11-08-2010, 06:53 AM
  3. Replies: 23
    Last Post: 03-01-2010, 08:03 AM
  4. SqueezeBox Server on VortexBox - FAILS
    By HalfBit in forum Help
    Replies: 6
    Last Post: 10-05-2009, 06:13 PM
  5. Double Rips and no network device
    By PaulinhoC in forum Help
    Replies: 2
    Last Post: 07-17-2009, 01:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •