andrzejDAC wrote:
> Hi
> I am not experience user with linux command line.
> I would like to try a squeeze server on wanboard but have a problem with
> mounting drive with music library.
> I have a NAS and USB external drive.
> Is any possibility to do it with CSOS webinterface?
>
> thanks for any suggestions
Hi,
I'm a total noob to linux (this is the first time I use it), and all the
knowledge I have comes from a few quick and dirty google searches done
in 30 minutes but probably I can help you.
What I did to mount my NAS is to add a line to /etc/fstab with the NFS
share that contains my music (I tried with the web gui, but it says that
save functionality is not enabled, or something like that). Basically
SSH to your wandboard and:
Code:
--------------------
[fedora@wandboard ~]$ sudo vi /etc/fstab
--------------------
This is how my file looks like:
Code:
--------------------
# /etc/fstab
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mmcblk0p3 / ext4 defaults,noatime,errors=remount-ro 0 0
/dev/mmcblk0p1 /boot ext2 defaults,noatime 0 0
#/dev/mmcblk0p2 swap swap defaults,noatime 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
##
## Bind the nfs local share
##
# /storage /srv/nfs4/storage none bind 0 0
##
## NFS example
##
# vortexbox:/storage /storage nfs nofail,defaults 0 0
##
## CIFS example
##
# //vortexbox/files /storage cifs
nofail,sec=ntlmv2,user=WORKGROUP\guest,pass=,iocharset=utf8,file_mode=0777,dir_mode=0777
0 0
##
## USB Drive with NTFS FS on First Partition
##
# /dev/sda1 /storage ntfs-3g nofail,defaults 0 0
--------------------
As you can see, there are examples for the diferent types of mounts.
What I did was to add an NFS share with something like this:
NASIPaddress:/volume/folder /storage nfs defaults 0 0. You can set the
cursor where you want to insert the line, press I, type the line, press
ESC and enter :wq to exit saving changes.
Then I just did:
Code:
--------------------
[fedora@wandboard ~]$ sudo mount NASIPaddress:/volume/folder
--------------------
This worked for me (the music folder in my NAS was listed in the
/storage folder), but as I said I have no clue of linux so all this
might be totally wrong, but it could be of help until someone else with
more knowledge than I gives you a better reply.
Good luck! ;)
------------------------------------------------------------------------
Alcaudon's Profile: http://forums.slimdevices.com/member.php?userid=59446
View this thread: http://forums.slimdevices.com/showthread.php?t=99395
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix