Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ubuntu Server 12.04 Guide (Updates with: transmission, plex, couch and sick)

Featured Replies

Sorry, I was trying to learn, not just blindly follow a guide that I don't fully understand, my mistake. 

 

I (wrongly) assumed that people who wrote guides wanted to help others, my bad.

 

I'll find another solution, and not spam your thread again.  :-X

 

Unsubscribed

  • Replies 86
  • Views 24.8k
  • Created
  • Last Reply

i Really never understood why we needed /media when we had /mnt. i almost always use /mnt.

 

But the metapoint is. there is NO good reason for creating anything file/folder/mountpont/symlink/hardlink or anything else in the "directory" ( / ).

 

Feeling kind of stupid, but i dont know what to enter at this step:

 

Past the following
Code: [select]
username=yoursmbusername
password=yoursmbpassword

 

I tried my unraid root account, created a new account in unraid, tried my VM user...but when i enter my mountpoint /media/TV and do "ls" i get no tvshows.

I set the tv share to public in unraid, but nothing...

 

Ideas?

I am on 14.04

  • Author

No problem cirkator.

 

[*]Make sure you have a second account in unraid, besides root

[*]Make sure this account has acces to your nfs samba share

 

Test if it works:

 

sudo mkdir /media/test

 

sudo mount yourunraidipadress://sharename /media/test

 

Uh typo.. your right cirkator

Thanks tomf

 

After posting my problem I made some discoveries. Apparently I have the same problem as user archedraft.

It seems as if /etc/rc.local is not executing.

When I issue "sudo mount -a" the connection to my shares is working. But when I put that, or just "mount /media/movies" into rc.local and reboot, my share is not available.

I'll have to play around with that some more before I reinstall the vm.

 

I have set up another user besides root to test it, but the same problem occurs.

 

I will test your command later today, today is a national holiday, so I first have to pack up my family and head out in the sun ;-)

 

Edit: you say that the user has to have access to the nfs share, I thought we are trying to get samba to work?!

 

Shares or drives mounted in /mnt will be hidden from view when using a desktop solution so not a big loss for a server environment. Shares or drives mounted in /media are viewable.

 

Advantage to this was I used to mount drives under /mnt and then when using a pooling solution like AUFS or MHDDFS I would create a mount called say /storage under media.

 

 

Kryspy

If you dont want ppls asking questions etc - dont make the guide and post it here - not everyone is a rocket scientist

 

Myk

 

 

so instead of //media/backup /backup cifs noauto...

 

I should do something like //media/backup /unRAID/backup cifs noauto...

 

just something (unRAID or something else) to move it out of root, correct?

 

anything else look wrong with what I've done?

 

I don't understand why your making things so difficult... The purpose of the media dir is to hold media mounts. Not only media as tv or movies but all kinds of data carriers. If you choose to go another way, fine! But dont spam this topic with slow chat that it doesnt work.

 

The reasson I'm getting a bit irritated is because your not taking any initiative to solve it yourself. So please follow the guide, we are not your personal assistents.

 

https://help.ubuntu.com/12.10/installation-guide/powerpc/directory-tree.html

https://wiki.ubuntu.com/MountWindowsSharesPermanently

Just an update for SABnzbd, if you want to have the latest version you need a different repository.

sudo add-apt-repository ppa:jcfp/ppa

Next update and upgrade apt-get

sudo apt-get update && sudo apt-get upgrade

If you are already running sab, it will update it along with all dependencies

sudo apt-get -o APT::Install-Recommends=1 install sabnzbdplus

no need to stop sabnzbd before running this.  After this, Sabnzbd will be running version 0.7.17.

No problem cirkator.

 

[*]Make sure you have a second account in unraid, besides root

[*]Make sure this account has acces to your nfs samba share

 

Test if it works:

 

sudo mkdir /media/test

 

sudo mount yourunraidipadress://sharename /media/test

 

 

Hi tomf

Are you sure the command is right?

 

This is what i get:

 

stefan@usenet:~$ sudo mount 192.168.1.40://tv /media/tv
mount: wrong fs type, bad option, bad superblock on 192.168.1.40://tv,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

 

stefan@usenet:~$ dmesg | tail
[    3.106151] init: plymouth-upstart-bridge main process ended, respawning
[    5.001474] init: udev-fallback-graphics main process (762) terminated with status 1
[    5.073622] init: plymouth-splash main process (780) terminated with status 1
[    8.456243] CIFS VFS: Error connecting to socket. Aborting operation.
[    8.456440] CIFS VFS: cifs_mount failed w/return code = -113
[91163.417717] RPC: Registered named UNIX socket transport module.
[91163.417722] RPC: Registered udp transport module.
[91163.417723] RPC: Registered tcp transport module.
[91163.417725] RPC: Registered tcp NFSv4.1 backchannel transport module.
[91163.459339] FS-Cache: Netfs 'nfs' registered for caching

 

Gonna play around with /etc/rc.local somemore, maybe i can crack it somehow :)

 

Another thought, would it be possible and wise to issue a "mount -a" or "mount /media/tv" with a crontab? @reboot?

 

When i do:

stefan@usenet:~$ sudo mount //192.168.1.40/tv /media/tv
Password for root@//192.168.1.40/tv:
mount error(13): Permission denied
Refer to the mount.cifs( manual page (e.g. man mount.cifs)

The problem here is that apparently my unRAID root password is not working...

 

stefan@usenet:~$ sudo mount -t cifs -o user=samba,passwd=xxxx //192.168.1.40/tv /media/tv

This IS working

After that i can view my tv shows in /media/tv

 

 

Gonna play around now and report my findings, I am also in the process of installing another 14.04 VM to see if that changes something....

  • Author

If you dont want ppls asking questions etc - dont make the guide and post it here - not everyone is a rocket scientist

 

Myk

 

I agree. I don't see why I have to defend myself for this, as you can see in my earlier posts I'm willing to help anyone who shows some initiative. In my opinion a forum is to share knowledge so we can help eachother out, not ask a questions about every minor bump on the road you can easily get by a simple search on google.

 

Anyway back on topic.

 

I will get back to you later cirkator, Im at work now and I dont have acces to my server here... Kudo's for trying things yourself!  :P Looks like your on right path for a solution here

I totally agree with you tomf

 

Anyways, i solved my problem. :)

 

First, i tried like user archedraft suggested a fresh install of 14.04 but that didnt help.

It seemed as if the network was not ready when the vm booted and wanted to mount the shares

 

The error i found was:

 CIFS VFS: cifs_mount failed w/return code = -101
and
CIFS VFS: cifs_mount failed w/return code = -113

But google didnt help me there

 

 

I tried this fix and this one but that didnt work, so finally i settled for autofs and followed this guide here

Now my share shows whenever i enter /media/tv or /media/whatever, i hope that they will also "show" when nzbdrone and CP will need them :)

Going to install them now....

 

Thanks for the help and the guide :)

Well Im gonna let you show some initiative and let you figure out what is gonna happen with your autofs mounts the next time you boot your vm......

 

Sent from my SM-T310 using Tapatalk

 

I dont really know what you mean, but i just shutdown and booted my VM and the shares are mounted and fine....

Anything i should know?

 

cirkator,

 

I think it was stated that there may be a time where it won't mount. So far you're lucking out it would seem. Every situation is different.

 

Kryspy

Do you remember where you read that information?

 

Of course, if someone can provide me with a fix for the fstab route, I am happy to try and use that :-)

Do you remember where you read that information?

 

Of course, if someone can provide me with a fix for the fstab route, I am happy to try and use that :-)

 

I remember reading something about that in the arch appliance thread. Dident catch when/where it applies thoug

 

Sent from my GT-I9505 using Tapatalk

 

 

Great guide, I used part of this guide last night to migrate over my ubuntu server install from a different computer. Now I've got mythtv, transmission, flexget, mpd, among other stuff up and running. Thanks!

Hi,

 

Can anyone please help?  I have followed the instructions at the beginning of this post and at the point I run 'xl create ubuntu.cfg -c' it fails with three error messages:

 

xc:error: panic: xc_dom_core.c:185: failed to open file: No such file or directory: internal error

 

libxl: error: libxl_dom.c:353:libxl__build_pv: xc_dom_kernel file failed: no such file or directory

 

libxl: error: libxl_create.c:900:domcreate_rebuild_done: cannot (re-)build domain -3

 

Any ideas??

 

Build - asrock h77m itx, intelG2020 chip, 4GB Kingston 1033 ram, 4 2tb Hitachi drives (no cache)

  • Author

xc:error: panic: xc_dom_core.c:185: failed to open file: No such file or directory: internal error

 

It can't find the files your referring to. Check if you have both initrd.gz and vmlinuz files in the correct folder and you don't have any typos in your cfg.

Hi,

 

Can anyone please help?  I have followed the instructions at the beginning of this post and at the point I run 'xl create ubuntu.cfg -c' it fails with three error messages:

 

xc:error: panic: xc_dom_core.c:185: failed to open file: No such file or directory: internal error

 

libxl: error: libxl_dom.c:353:libxl__build_pv: xc_dom_kernel file failed: no such file or directory

 

libxl: error: libxl_create.c:900:domcreate_rebuild_done: cannot (re-)build domain -3

 

Any ideas??

 

Build - asrock h77m itx, intelG2020 chip, 4GB Kingston 1033 ram, 4 2tb Hitachi drives (no cache)

 

Sounds like a bad config.

Thanks, Ill double check, I have had to change it as I dont have a cache drive and put it on disk1 will that make a difference do you think?

Thanks, Ill double check, I have had to change it as I dont have a cache drive and put it on disk1 will that make a difference do you think?

 

Possibly, paste your config please.

My bad, spelling mistake in my config file. Ive gone through setting up language and DHCP settings and now the screen is blank and I have a flashing cursor at the bottom left of the screen. Is this normal??

My bad, spelling mistake in my config file. Ive gone through setting up language and DHCP settings and now the screen is blank and I have a flashing cursor at the bottom left of the screen. Is this normal??

 

Short Answer, no

Thanks again, once again my error.  Ive now got it working, so thanks. I plan to use the vm to rum my tvheadend as I have given up getting it to work directly on unraid. However, at the moment I cant get it to recognize my usb tuner. Is there something I need to change in the xen config file? I have downloaded media tree etc.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.