PP-E02: How do I attach/mount NTFS HDD?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

PP-E02: How do I attach/mount NTFS HDD?

Postby rino » Tue Jan 29, 2013 7:17 pm

Hello all:
I installed alARM on my PP-E02 device last night. Followed the instructions, and everything worked well.

Then I installed Samba on it. After I completed the configurations, samba won't boot up. I believe the path wasn't set properly in the config file. I am a Noobie on linux, so I don't understand how paths work on linux. I had only attached the flash drive, which I install alARM on. Then I attached my 1TB WD HDD via USB on my PP device, but I wasn't able to mount it ... how do I mount it? My HDD already contains a lot of movies, etc on it, and is formatted with NTFS. Can I mount NTFS on linux or do I have to format it as ext2?

Can you please guide me with the commands that I have to follow ... or direct me to a thread where I can find this info? I'd really appreciate it.

I tried to install miniDLNA, and I ran into the same issue. I wasn't able to boot up miniDLNA.

My end goal is to put alARM with Samba + miniDLNA, and then install PP original software on the same device, so that I can use the network shares on my PC, iOS devices, Blackberry Playbook, Android + Sony Bluray player with DLNA support.

Any advise would be greatly appreciated. Thanks.

Regards,
-Riaz
rino
 
Posts: 66
Joined: Mon Jan 07, 2013 3:21 pm

Re: PP-E02: How do I attach/mount NTFS HDD?

Postby moonman » Wed Jan 30, 2013 3:46 am

$this->bbcode_second_pass_code('', 'pacman -Sy ntfs-3g udevil
systemctl enable devmon@root.service
systemctl start devmon@root.service')

Then reattach your drive and it should show up under /media.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: PP-E02: How do I attach/mount NTFS HDD?

Postby rino » Wed Jan 30, 2013 2:36 pm

Thanks moonman. WarheadsSE helped me with udevil, but it wasn't working yesterday for some reason ... I guess the commands were a bit different. Then he helped me set it up manually and set an entry in fstab. It is working for now, but I guess, I'll attempt udevil using the commands you mentioned above to have it automounted :) It will help in future if I plug other HDDs into my PP-EO2.

Special thanks to WarheadsSE for helping me out yesterday on IRC, and being very patient as he walked me through the process of mounting the HDD. I really appreciate your help :)

I am now stuck with miniDLNA where I am unable to see my drive when I browse through XBMC. I can see my DLNA in XBMC, but when I browse the folder, there is nothing there ... may be my configuration is incorrect.

media_dir=V,/media/1tb/Movies

But still I can't see my movies :(

There are sub-folders under Movies folder, which contains actual .mp4, .avi files. I have tried specifying the subfolders as my media_dir as well, but still no luck.

I can see my miniDLNA is up, but no content in there :( When I go to my presentation URL it shows Videos = 0, Pictures = 0, etc.

Any suggestion on how to properly configure it? I went through the Wiki, and the guide for miniDLNA, but can't figure it out.
rino
 
Posts: 66
Joined: Mon Jan 07, 2013 3:21 pm

Re: PP-E02: How do I attach/mount NTFS HDD?

Postby pepedog » Wed Jan 30, 2013 5:08 pm

minidlna is probably permissions problems
edit following files
/etc/minidlna.conf
/usr/lib/tmpfiles.d/minidlna.conf
/usr/lib/systemd/system/minidlna.service
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: PP-E02: How do I attach/mount NTFS HDD?

Postby rino » Thu Jan 31, 2013 1:42 am

I checked all the configuration files, and found nothing wrong so far.

Here is the extract of my minidlna.conf, can anyone see any issues with it?

$this->bbcode_second_pass_code('', '# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interfaces to serve, comma delimited
#network_interface=eth0

# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
# * if you want to restrict a media_dir to a specific content type, you
# can prepend the type, followed by a comma, to the directory:
# + "A" for audio (eg. media_dir=A,/home/jmaggard/Music)
# + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
# + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
media_dir=V,/media/1tb/Movies/Aladin

# set this if you want to customize the name that shows up on your clients
friendly_name=RK DLNA

# set this if you would like to specify the directory where you want MiniDLNA t$
db_dir=/var/cache/minidlna

# set this if you would like to specify the directory where you want MiniDLNA t$
log_dir=/var/log

# set this to change the verbosity of the information that is logged
# each section can use a different level: off, fatal, error, warn, info, or deb$
#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn

# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumAr$

# set this to no to disable inotify monitoring to automatically discover new fi$
# note: the default is yes
inotify=yes

# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo$
enable_tivo=no

# * This will allow server-side downscaling of very large JPEG images,
# which may hurt JPEG serving performance on (at least) Sony DLNA products.
strict_dlna=no

# default presentation url is http address on port 80
presentation_url=http://192.168.1.105:8200/

# notify interval in seconds. default is 895 seconds.
notify_interval=60

# serial and model number the daemon will report to clients
# in its XML description
serial=12345678
model_number=1

# specify the path to the MiniSSDPd socket
#minissdpdsocket=/var/run/minissdpd.sock

# use different container as root of the tree
# possible values:
# + "." - use standard container (this is the default)
# + "B" - "Browse Directory"
# + "M" - "Music"
# + "V" - "Video"
# + "P" - "Pictures"
# if you specify "B" and client device is audio-only then "Music/Folders" will b$
#root_container=.')

Any help would be greatly appreciated.
rino
 
Posts: 66
Joined: Mon Jan 07, 2013 3:21 pm

Re: PP-E02: How do I attach/mount NTFS HDD?

Postby rino » Thu Jan 31, 2013 8:32 am

Thanks for the pointer pepedog. It was a permission issue ... but in the following config file:
/etc/conf.d/minidlna

I had to change the user as "root", so that miniDLNA runs as root rather than nobody. Once I did that, I removed the files.db in the /var/cache/minidlna folder, then restarted miniDLNA, it built the media db back again. It is working perfectly fine now.

Thanks to everyone who helped :)
rino
 
Posts: 66
Joined: Mon Jan 07, 2013 3:21 pm

Re: PP-E02: How do I attach/mount NTFS HDD?

Postby lordesp27 » Sun Feb 24, 2013 12:13 am

hi guys, i have a little problem, i hope this is the right thread. i am able to successfully attach my ntfs hdd. but the thing is, so that i can share my hdd, everytime i poweroff i have to manualy chmod -R 777 /run/media/root in order for it to be shared.
is there an easier way so that i dont have to do this everytime i plug it in. i tried mounting it to a folder i made for sharing but it will give me an error which says something about already mounted. thanks in advance. :)

update:

i just found my proble, i did not enable smdb through systemctl. now i know what systemctl is :lol:
lordesp27
 
Posts: 28
Joined: Thu Feb 07, 2013 3:49 pm

Re: PP-E02: How do I attach/mount NTFS HDD?

Postby lordesp27 » Mon Feb 25, 2013 12:05 am

im wondering why i cant transfer large files, like movies, to my pogoplug after i converted it to ntfs HDD. there is no problem if i transfer pictures and documents.
lordesp27
 
Posts: 28
Joined: Thu Feb 07, 2013 3:49 pm

Re: PP-E02: How do I attach/mount NTFS HDD?

Postby nooblLinux » Mon Feb 25, 2013 8:11 pm

$this->bbcode_second_pass_quote('lordesp27', 'h')i guys, i have a little problem, i hope this is the right thread. i am able to successfully attach my ntfs hdd. but the thing is, so that i can share my hdd, everytime i poweroff i have to manualy chmod -R 777 /run/media/root in order for it to be shared.
is there an easier way so that i dont have to do this everytime i plug it in. i tried mounting it to a folder i made for sharing but it will give me an error which says something about already mounted. thanks in advance. :)

update:

i just found my proble, i did not enable smdb through systemctl. now i know what systemctl is :lol:


I have this problem too, How can you enable smdb through systemctl, please let me know
nooblLinux
 
Posts: 16
Joined: Mon Feb 25, 2013 2:11 am

Re: PP-E02: How do I attach/mount NTFS HDD?

Postby winestock » Mon Feb 25, 2013 10:26 pm

$this->bbcode_second_pass_quote('nooblLinux', '')$this->bbcode_second_pass_quote('lordesp27', 'h')i guys, i have a little problem, i hope this is the right thread. i am able to successfully attach my ntfs hdd. but the thing is, so that i can share my hdd, everytime i poweroff i have to manualy chmod -R 777 /run/media/root in order for it to be shared.
is there an easier way so that i dont have to do this everytime i plug it in. i tried mounting it to a folder i made for sharing but it will give me an error which says something about already mounted. thanks in advance. :)

update:

i just found my proble, i did not enable smdb through systemctl. now i know what systemctl is :lol:


I have this problem too, How can you enable smdb through systemctl, please let me know


$this->bbcode_second_pass_code('', '
sudo systemctl enable smbd
')
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am
Top

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 13 guests