Pi as NAS storage server. - Raspberry Pi Q&A, Help & Troubleshooting

I wanna build a small RAID-6 NAS server, Ive only used freeNAS software before, and my question is: is there similar (on easy to use side) software for Pi and can I connect Pi to RAID card?
Im new to Pi so please excuse my noobness.
I want to use Pi because its small and case I want to fit server in is not big enough for eaven the smallest integrated motherboards, let alone a bigger PSU Id need to use with it.
Sent from my LG-P990 using xda app-developers app

domiq123 said:
I wanna build a small RAID-6 NAS server, Ive only used freeNAS software before, and my question is: is there similar (on easy to use side) software for Pi and can I connect Pi to RAID card?
Im new to Pi so please excuse my noobness.
I want to use Pi because its small and case I want to fit server in is not big enough for eaven the smallest integrated motherboards, let alone a bigger PSU Id need to use with it.
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
For something similar to freeNAS for the RPi you can use Samba. Check out this guide to setting up a NAS storage solution using the RPi and Samba elinux.org/R-Pi_NAS. However, the performance won't be that good 2-5 MB/s transfer speed max, also the RPi only supports software RAID, so an external RAID card would very likely be incompatible.
Sent from my SCH-I535 using xda premium

shimp208 said:
However, the performance won't be that good 2-5 MB/s transfer speed max,
Click to expand...
Click to collapse
i have made an samba server of my pi and i can say that the Speed is From 2-3MB/s and it got some small kinks Still that i am Trying to figure out
one ting i found it that you can't put a file over 700Mbs on the Pi-NAS the Pi does Simply not Recognise the file some how (i think it it Because it is to Big) i havent Found any solution to this Yet whill post this here when i find something
another thing i found it ain't easy to mount an NTFS USBHDD you can check my tread for a Solution as soon as i find it my self it will be posted there "http://forum.xda-developers.com/showthread.php?t=2067256" i will make a Guide For This if i need to (even if i am only a Scrub on Linux)

sioxz said:
i have made an samba server of my pi and i can say that the Speed is From 2-3MB/s and it got some small kinks Still that i am Trying to figure out
one ting i found it that you can't put a file over 700Mbs on the Pi-NAS the Pi does Simply not Recognise the file some how (i think it it Because it is to Big) i havent Found any solution to this Yet whill post this here when i find something
another thing i found it ain't easy to mount an NTFS USBHDD you can check my tread for a Solution as soon as i find it my self it will be posted there "http://forum.xda-developers.com/showthread.php?t=2067256" i will make a Guide For This if i need to (even if i am only a Scrub on Linux)
Click to expand...
Click to collapse
I have a similar setup.
Pi runs Arch, with samba & lighttpd set up to serve my 1TB HDD locally & via my domain.
I don't have the issue you have with large files. If your having issues mounting an NTFS HDD you sure you have the correct packages installed? ntfs-3g is what you'd need. Install this via your usual package manager
I'm currently repurposing my old laptop to do this as I want to use my Pi for another project.

andyharney said:
I have a similar setup.
Pi runs Arch, with samba & lighttpd set up to serve my 1TB HDD locally & via my domain.
I don't have the issue you have with large files. If your having issues mounting an NTFS HDD you sure you have the correct packages installed? ntfs-3g is what you'd need. Install this via your usual package manager
I'm currently repurposing my old laptop to do this as I want to use my Pi for another project.
Click to expand...
Click to collapse
i will Try running Arch linux whit Samba as soon as i get my new SD card (don't wanna ruin my Rasbian Samba server)
and i got the ntfs-3g package by doing
Code:
sudo apt-get install ntfs-3g
BTW i hate GUI

sioxz said:
BTW i hate GUI
Click to expand...
Click to collapse
As do I, for serving content from a HDD there is no need for any GUI. Just use SSH and your away.
ArchLinuxArm runs very well on the Pi, I'd recommend you checking it out.

There is no point in using gui, but I wanted to achieve 50mbps read write speeds and thats not possible?
To be correct, I wanna get 50mbps up and down via ethernet cable and usual speeds with wifi.that I could get with a compatible usd wifi hub.
Sent from my LG-P990 using xda app-developers app

domiq123 said:
There is no point in using gui, but I wanted to achieve 50mbps read write speeds and thats not possible?
To be correct, I wanna get 50mbps up and down via ethernet cable and usual speeds with wifi.that I could get with a compatible usd wifi hub.
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
Megabits or Megabytes? AFAIK throughput on the PI is limited to 100 Megabits, I'll try to find the source for that.

domiq123 said:
There is no point in using gui, but I wanted to achieve 50mbps read write speeds and thats not possible?
To be correct, I wanna get 50mbps up and down via ethernet cable and usual speeds with wifi.that I could get with a compatible usd wifi hub.
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
andyharney said:
Megabits or Megabytes? AFAIK throughput on the PI is limited to 100 Megabits, I'll try to find the source for that.
Click to expand...
Click to collapse
Yes, the maximum theoretical throughput is around 100 Megabits, this is because the the RPi's network card is connected through the USB bus. So between USB to disk, plus LAN to USB, and upstream maximum throughput is around 11.5-12.5 MB/s (100 Megabits is 12.5 Megabytes). Now in real world usage I have seen that most people seem to be getting around 7-8 MB/s throughput through Ethernet and a little bit less then that on Wifi. The real major bottleneck however is the CPU because of the large amount of resources that are needed for file transfers, you can increase the transfer speed by overclocking the RPi in order to reduce the CPU usage load. I would also recommend taking a look at this NAS Speed Optimization Guide.

i have gotten an Speed which are Kind of Stable on 3MB/s whit some Options in the
Code:
sudo nano /etc/samba/smb.conf
and no overclock wanna keep my littel fellow alive as long as ican
and i have Changed the memory split to the lowest there is 16mbytes this is Easy done in
Code:
sudo raspi-config
running an USB HDD 2.0 and using Cat.6 TP kabels and on the same Switch
(Transferring Files from my Gaming Rig to my Pi)
Pi is running Samba and Rasbian Newest version

domiq123 said:
but I wanted to achieve 50mbps read write speeds and thats not possible?
To be correct, I wanna get 50mbps up and down via ethernet cable and usual speeds with wifi.that I could get with a compatible usd wifi hub.
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
you can get About 24mbit/s or 3mb/s If you are running Samba on Rasbian i haven't Tryied Arch whit Samba yet but people say that Arch is Faster so give it a Try

Before my SDCard died, I was pulling & sending around 80-90MBit/s, that was running Arch, with Samba & Lighttpd set up.

andyharney said:
Before my SDCard died, I was pulling & sending around 80-90MBit/s, that was running Arch, with Samba & Lighttpd set up.
Click to expand...
Click to collapse
That was to you SDcard? i am using USB2.0 HDD but will defenatly try Arch instead of Rasbian when i find the time and when i feel for it :laugh:

No-no, my card died after repeated attempts to overclock. I keep all my content & files on a 1TB USB HDD.

andyharney said:
No-no, my card died after repeated attempts to overclock. I keep all my content & files on a 1TB USB HDD.
Click to expand...
Click to collapse
that is Really good mate :good: i have to Try Arch Linux Soon then but i am Kind of a Noob on Linux so it will take me some time Raspberry pi is my first linux Computer

sioxz said:
that is Really good mate :good: i have to Try Arch Linux Soon then but i am Kind of a Noob on Linux so it will take me some time Raspberry pi is my first linux Computer
Click to expand...
Click to collapse
If you want some good tutorials for learning how to use the Pi I would recommend taking a look at the great tutorials Adafruit provides as well this guide to setting up Arch Linux on the RPi.

shimp208 said:
If you want some good tutorials for learning how to use the Pi I would recommend taking a look at the great tutorials Adafruit provides as well this guide to setting up Arch Linux on the RPi.
Click to expand...
Click to collapse
Thanks mate Really Appreciated Rasbian is kind of Easy to use because of Raspi-config but Arch Seems alot harder but you need To Learn Righ :laugh: i am only in High School now to second Year of an IT school

I set up my 256 RAM RasPi as a NAS/Torrent client. I first grabbed a disk with NTFS (brand new) and installed NTFS-3G onto the Pi.
The best I could get out of it was 3MB/s wite-speed over Samba.
I verified that, while copying the files, the CPU was at around 80% while in Turbo mode.
I then formatted the disk to ext4 and done the same test. It now reaches 11MB/s. It stops for a second when it reaches 11MB/s then continues at around 7,5MB/s. Now I'm going to try and apply QOS on the RasPi's ethernet port and shape it to 10MB/s upload, to see if I can keep a constant speed.

oribunokiyuusou said:
I set up my 256 RAM RasPi as a NAS/Torrent client. I first grabbed a disk with NTFS (brand new) and installed NTFS-3G onto the Pi.
The best I could get out of it was 3MB/s wite-speed over Samba.
I verified that, while copying the files, the CPU was at around 80% while in Turbo mode.
I then formatted the disk to ext4 and done the same test. It now reaches 11MB/s. It stops for a second when it reaches 11MB/s then continues at around 7,5MB/s. Now I'm going to try and apply QOS on the RasPi's ethernet port and shape it to 10MB/s upload, to see if I can keep a constant speed.
Click to expand...
Click to collapse
Can you be kind to me and Send me a Guide on how to format my harddrive to ext4 or any other File System you recomend for a 1Tb USB HDD. on Windows7 or On my Pi don't Really care which platform.

If the Pi is connected to the USB Drive, check your drives name within the OS. Open a terminal and punch in.
Code:
fdisk -l
It should be listed like,
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Click to expand...
Click to collapse
Make sure the drive is connected and unmounted.
Code:
umount /dev/sdb
Depending on how you want to use the drive, you need to choose between MBR or GPT, I'd opt for GPT.
If using gdisk. Punch in,
Code:
gdisk /dev/sdb
I can't remember the exact option you need to specify, but you'd want to delete all the partitions on the drive, then create new ones. Remember to commit the changes before you exit.
Then,
Code:
mkfs -t ext4 /dev/sdb
And your done. Remember to edit/change your fstab if you had set them to automount.
Remember in the example above, my external drive was /dev/sdb yours may be different.
Good Luck!

Related

SATA Hdd help!

Hi
Following on from my last thread.. I have a 320gb western digital sata harddrive that i want to install win 7 on. So i set the sata to second boot device and have the dvd drive set to first boot. It loads into the dvd but it takes a while. At 22:47 it is "Expanding Windows Files (0%)" So its taken 10-20 Minutes to get to this stage. So why is it slow on SATA, And fast on IDE? (my ide drive is a wd 80gb)
thanks
flyboy
So i got it installed and it goes to starting windows and then Setup is updating registry settings then...
Blue screen:
Something like ****STOP 0x0000008E (that code is right)
then underneath:
Win32k.sys
whats that mean?
thanks
flyboy
question: to what is your DVD drive connected - S-ATA or IDE?
question: if you set the machine so it boots your normal system - does it still work or does that come up with an error too?
It sounds like you have files on the Windows 7 install disk that are corrupted - a blue screen and stop error, indicating a *.sys file, usually means that either the system cannot find that file or it is corrupted (Win NT servers at one of my old workplaces used to throw that sort of fit fairly often).
The long time it took to work might be as a result of the system trying again and again to read the problem file and then giving up - with microsofts usual skill at installation s/w it would show the process as completed - but when you try to run the OS it falls over.
You could either try and re-install from another copy of the Window 7 installation disk - or if you have access to a system running Win7 you could try and find the file its unable to find and manually copy it to the correct location and see if that solves the issue.
It may take more than one transferred file to solve the problem and it may leave your Win7 installation a little flakey, but it would be quicker than restarting from scratch.
Hope that helped
Jemma
@flyboyovyick2k9:
Need a few details about your system to be able to provide some guidance. Also would help to get the values that appear after - ex: STOP 0x0000008E (xxxx, xxxx, xxxx, xxxx).
Here are some details that would be helpful - worded them in question form:
1) OEM or home grown system? If OEM, brand & model. If HG, Motherboard manufacturer & model.
2) Does the system/motherboard support SATA or eSATA?
3) Does the system/motherboard BIOS have an option for AHCI or ATA?
4) If the BIOS does support AHCI, was it necessary to provide a driver during the Windows installation (ex: Intel Storage Matrix - TXTSETUP.OEM) ?
5) If you were able to install Windows to completion, were you able to install the Chipset and any sub-system (ex: Intel Storage Matrix) driver before restarting the system.
6) Are the firmware levels at the most recent (non-BETA) versions - BIOS, HDD, etc.
7) Does the HDD report as ok when running the WD Diagnostic tools?
8) Are all of the hardware components installed in the system compatible with this version of Windows?
9) Does the RAM report as ok when running a memory diagnostics tool (ex: Mem86, etc.)
10) What is the wattage of the PSU (power supply) in the unit?
HTH,
Right here goes,
The spec of my pc is in the signature. the psu is a Coloursit 550w.
Yes my board does support sataII.
The installation i have got works because i have just install it on my compaq evo laptop, and it works fine.
My normal machine boots fine without the sata drive connected but is a tiny bit slower when it is connected.
It has the latest bios. And is a homebuild. Not sure about the ahci or ata thing.
I have had a look but cant find it.
And yes i did get 4 other codes in brackets after the main one. Not sure if i can generate them again but will try.
The windows installation was fine on the ide. I did clone that drive to the sata one and it was fine but SLOW!
I could try and load the drivers for the sata in the windows installation.
thanks
flyboy
Hadn't noticed your siggie the first time around and after clicking reply, the siggie isn't visible ... my bad.
Had a quick look at the N68-S manual - looks like the systemboard supports SATA/SATA II. I haven't looked at AMD in quite a while so I'm going to assume that ATA/AHCI are intel specific technologies ... not sure if these translate to SATA/SATA II. What is the WD model of your 320 GB?
At first guess, it would seem that the issue could be related to a BIOS mis-configuration or a missing driver package post-Windows install. After cloning the partition, were you able to startup the system with only the WD HDD connected? If not, that could be an indication that Chipset/RAID/SATA drivers may be missing. That said, if you have the patience, it would be worth trying a clean install of Windows directly to the WD HDD to eliminate the possibility that the cloning software is messing up the partition structure.
Cheers,
Reference url's
Systemboard
http://www.asrock.com/mb/overview.asp?Model=N68-S
Downloads (Win7)
http://www.asrock.com/MB/download.asp?Model=N68-S3&o=Win7
Could be bad MOBO, HD or Media. Go buy a chep sata hd. If you get the same problem, Get a new disk, same thing, then RMA your mobo.
My Win7 installation got corrupted just by trying to come back from hibernate. Suggestion was that I had to insert installation disk in DVD drive and go through the installation recovery process which would copy the missing files back to hard disk and recover the system. It did the trick for me. It might be worth a try.
Well its not a bad motherboard because i would have took it back (lasting 6 months that is) And it was new when i bought it from Aria.co.uk for £32.
The drive is:
WD Caviar Blue/SE/SE16 (SATA II)
WD3200AAKS
Im just cloning the hdd again now because i run some tests and it came back fine. So just waiting on that. Mean while im using my laptop.
thanks
flyboy
Few more questions:
What product are you using to clone the HDD?
Before cloning the HDD, did you boot Windows with the WD HDD connected to the system?
Pertaining to the second question; connecting the WD HDD in the pre-clone instance of Windows would allow for the plug-n-play manager to detect the HDD and install the native Windows drivers.
I'd even go as far as to install the latest set of drivers for the entire system if you haven't already.
Additionally, confirm that Device Manager doesn't display "Unknown Devices" or "Disabled" devices. Address any device related issues pre-cloning.
Cheers,
The sata and ide drives are both installed in device manager. And i can access them. And write to them. But the read/write on the sata is 0.1xxx mb/s and on the ide is 100 or 200 mb/s.
EASEUS Partition Master. Does the same job as paragon.
thanks
flyboy
Hmmmm ... very strange ...
I'm going to assume the following points for the pre-clone image;
The WD HDD is at the latest firmware.
Jumper settings on the WD HDD are correct (http://wdc.custhelp.com/cgi-bin/wdc....php?p_faqid=1400&p_created=1134597011#jumper).
A SATA II compatible cable is being used.
Drivers were installed in the pre-clone version of Windows.
The BIOS is configured as recommended (ex: not overclocked for the moment).
If the WD HDD is underperforming before cloning the partition, I suspect that there may be a hardware incompatibility or the WD HDD is failing. There's no point in cloning the partition until you are able to obtain satisfactory performance from the WD HDD.
If the performance degradation is post-cloning, I would try a fresh new install of Windows directly to the WD HDD.
Cheers,
Could it possibly be that all the blocks on the hard drive are bad?
Also on the hdd it says that sata doesnt require jumpers, it does it.
thanks
flyboy
Assuming the following ...
The WD HDD Diagnostic reported that there was no issue with the HDD.
The jumper setting(s) for the HDD transfer mode is correctly set - 1.5/Mbps VS 3.0/Mbps.
A net new (clean) install of Windows to the WD HDD.
... and it's still running slow, I'd be looking to try a different HDD. If you experience the same issue with a different HDD Manufacturer/Model, I would start looking at the remainder of the hardware on your system.
Cheers,
Tryed installing windows 7 again, still slow erm. Ye i was just considering buying a new hdd.
Well im taking my pc to my uncles in february so he might be able to help me. Because we are doing a pc build for my 2nd cousin.
thanks for your help.
flyboy

[Q] 1TB USB Hard Drive?

Anyone know if the USB OTG cable for the Galaxy Note will work with a 1TB USB hard drive? A portable one with is powered by the USB cable?
Thanks!
I don't have a galaxy device, will get the note, but from what i understand, you will need greater voltage for a hd to work than what you need for a generic usb stick.
There is this vid that demonstrates OTG for the GS2. And at the end of the video the guy says that it will not work with an external drive that requires power from the device.
( New user, cannot post links yet, the video title is ''Samsung Galaxy S2 USB OTG demo'')
I believe this will be the case with the Note too.
But a Solid State hd would probably work... Probably.
I doubt the Note can read the NTFS file system. I know the S2 can't.
Brgds... /Tubgirl
Sent from my Samsung Galaxy S2 using XDA Premium App
As stated above ~ the Galaxy Note does not provide enough energy to power a hard drive that requires power from it's source.
I have a Galaxy SII, a couple of OTG USB cables and a number of drives and USB peripherals. None of the Portable Hard Drives work.
Memory sticks yes, as do small USB toys.
Thanks everyone!
While not idea (or what I was hoping for), I actually have a Y cable setup to use USB host with the HD2 on WinMo. Essentially this allows you to plug in the hard drive to one end and power into another and then the drive doesn't need/get power from the device.
Will this overcome the power problem?
Then the issue on the HD2 is NTFS. There is no way to mount/read an NTFS volume.
Does Android have this same problem?
Thanks!
Yes, if you use an externally powered hub or other powered connection larger drives will work (I do this on my SGSII).
There may be a fix for NTFS, I recall there being one for the SGSII.
Thanks NZtechfreak! Any link on that fix?
silkshadow said:
Thanks NZtechfreak! Any link on that fix?
Click to expand...
Click to collapse
Not sure which topic NZtechfreak is helping you with but in the meantime have a look at this topic.
Notice Post 2 mentions a file you can download named ntfs.zip
Beards said:
Not sure which topic NZtechfreak is helping you with but in the meantime have a look at this topic.
Notice Post 2 mentions a file you can download named ntfs.zip
Click to expand...
Click to collapse
If everything else fails, you could use multiple partitions formatted to Fat32.
Not ideal, but operational.
If you don't mind the extra cost you can get a portable wifi hdd.
Sent from my Samsung Galaxy S2 using XDA Premium App
Thanks again everyone!
Just some background. I ask because I have a portable hard drive/media player enclosure that I put a 1TB HD into (Micca slim-HD). I am considering the Note because it would replace my 500gb PMP which is starting to go bad. However, 64gb or whatever the Note supports is not going to come even close to cutting it. I was hoping to just being able to plug the media player/portable hard drive into it when I was on the go. Guess, in the end, its not going work very well. However, I will borrow a SGS2 and see how cumbersome the whole rig would really be before I bail on the Note.
Too bad, besides this issue, the Note would be a wish fulfilling device for me. I could drop carrying a device (the PMP) when I am traveling. Maybe it still will, just with come inconvenience. This is one area where my Win7 tablet still wins.
Pretty ugly potential deal breaker, USB OTG will not work with external hard drive at all .
See: https://www.youtube.com/watch?v=uEb-DICYCgg&feature=player_embedded in the USB OTG tests around 9:50 mark. Seems its been disabled for whatever reason.
Guess I'm sticking with Asus, who seems to make sure this is fully supported. Padfone, hurry up!
silkshadow said:
Pretty ugly potential deal breaker, USB OTG will not work with external hard drive at all .
See: https://www.youtube.com/watch?v=uEb-DICYCgg&feature=player_embedded in the USB OTG tests around 9:50 mark. Seems its been disabled for whatever reason.
Guess I'm sticking with Asus, who seems to make sure this is fully supported. Padfone, hurry up!
Click to expand...
Click to collapse
Seems they have worked for some, I have a second Note now (an unbranded one), so will re-test and post here.
NZtechfreak said:
Seems they have worked for some, I have a second Note now (an unbranded one), so will re-test and post here.
Click to expand...
Click to collapse
Thanks man, looking forward to hearing your result!
Beards said:
Not sure which topic NZtechfreak is helping you with but in the meantime have a look at this topic.
Notice Post 2 mentions a file you can download named ntfs.zip
Click to expand...
Click to collapse
That's my post.
I don't have the Note yet (may buy one later when I return to HK or price get cheaper). But I bet it will work with powered external drive (check my posts for what I did with S2 using a 250Gb drive).
For NTFS, you probably have to wait for the dev to come out with a NTFS or Fuse (NTFS-3G) driver.
I tried playing around with a 500GB NTFS hard drive and this is what I got. I am running CF-Root 5.0.
Code:
[122731.435439] otg_dbg: in root_hub_feature()::00483
[122731.435483] => case SetPortFeature -USB_PORT_FEAT_RESET
[122731.495651] otg_dbg: in otg_handle_interrupt()::00087
[122731.495693] => Port Interrupt
[122731.495732] otg_dbg: in process_port_intr()::00271
[122731.495770] => port enable/disable changed
[122731.565399] usb 2-1: new high speed USB device using s3c_otghcd and address 2
[122731.601355] scsi7 : usb-storage 2-1:1.0
[122732.615894] scsi 7:0:0:0: Direct-Access ST950042 0AS PQ: 0 ANSI: 2
[122732.631270] sd 7:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[122732.631759] sd 7:0:0:0: Attached scsi generic sg0 type 0
[122732.635556] sd 7:0:0:0: [sda] Write Protect is off
[122732.635617] sd 7:0:0:0: [sda] Mode Sense: 38 00 00 00
[122732.635667] sd 7:0:0:0: [sda] Assuming drive cache: write through
[122732.641295] sd 7:0:0:0: [sda] Assuming drive cache: write through
[122734.769311] max17042 9-0036: max17042_get_soc : soc(5dbc)
[122734.769372] max17042 9-0036: max17042_get_soc : use raw (93), soc (94)
[122735.694545] sda1 sda2
[122735.770188] sd 7:0:0:0: [sda] Assuming drive cache: write through
[122735.770373] sd 7:0:0:0: [sda] Attached SCSI disk
[122736.098866] [email protected]
[122736.903885] [email protected]
As you can see it recognized the drive as sda. I tried to get it to mount the ntfs partition by:
1. Using the ntfs files for the SGS2. I did an insmod for the fuse.ko and didn't get an error.
2. I connected the drive and did a ntfs-3g /dev/block/sda1 /mnt/sdcard/usb
Doing that I got:
Code:
nfts-3g: Failed to access volume '/dev/block/sda1': No such file or directory
I suspect that if my drive had FAT32 partitions it would have been recognized but I'm not sure. I would really like to get NTFS working.
1. What's your output for "lsmod"? Make sure ntfs.ko is loaded first.
2. How many partitions do you have for your drive? What commands did you use to mount the drive?
You will need something like:
Code:
mount -t ntfs /dev/block/sda[COLOR=DarkOrange]1[/COLOR] /mnt/usb
#the number after sda is the partition id
jackleung said:
1. What's your output for "lsmod"? Make sure ntfs.ko is loaded first.
Click to expand...
Click to collapse
The only one in the zip for the SGS2 was fuse.ko and I loaded that. I'll get the lsmod output for you this weekend. Busy work week....
jackleung said:
2. How many partitions do you have for your drive? What commands did you use to mount the drive?
You will need something like:
Code:
mount -t ntfs /dev/block/sda[COLOR=DarkOrange]1[/COLOR] /mnt/usb
#the number after sda is the partition id
Click to expand...
Click to collapse
Ya, I didn't use the mount command. I thought the ntfs-3g did the mounting.
I have reformated one of my external HDD (WD my passport, 1st gen, 320GB) to FAT32. Can confirm that it work using an Belkin 7port powered USB hub and some no-name USB OTG cable.
The 1TB passport however doesnt work even though its FAT32 also. When I connect the 1TB (600GB used) the Note start checking the drive but break at 6-7%.
I suspect the problem is the quantity of data on the HDD (the one that worked has 2-3 files on it just for the test).
p.s. when i connect both of them to the hub they are mounted as sda and sdb but appear empty.
jackleung said:
1. What's your output for "lsmod"? Make sure ntfs.ko is loaded first.
Click to expand...
Click to collapse
lsmod said it was active and loaded. Although I was using fuse.ko as provided in the sgs2 zip.
jackleung said:
2. How many partitions do you have for your drive? What commands did you use to mount the drive?
You will need something like:
Code:
mount -t ntfs /dev/block/sda[COLOR=DarkOrange]1[/COLOR] /mnt/usb
#the number after sda is the partition id
Click to expand...
Click to collapse
The disk shows up as sda in the kernel message output and I tried to get it to mount sda1 with the command above and the other way I mentioned before but it didn't work for me.

Kali OS for our Raspberry

What you guys think about it?
I gonna try it - this night I want to download an .img file for raspberry and also .iso for normal computers
Website: http://kali.org/
Download: http://www.kali.org/downloads/ (you need to chose armel architecture and then Raspberry PI version)
About (docs): http://www.kali.org/official-documentation/
Yeah I saw this also, it will be fun to use but it will not be good for cracking passwords fast because of the raspberry pi's hardware. Might test it out on mine soon
Informations from me (will be keep updated):
Didn't try the special applications yet, but I feel it boots much slower than Raspbian. Reading package lists is slower too, but it's prolly because of more apps on list, so it's possible to fix.
Use Thunar file manager - it's much faster than the second one.
Midori is shutting down without any reason.
3.8GB of SD card used after writing it (checked in file manager).
Chromium doesn't work at all.
Already decided to stop using it, just need to test tools now...
I installed it , but how do I connect to the internet? I dont see any wifi scanner to find a network.
Also i went to the command prompt and is not readying my usb wifi adapter... doesnt find wlan0
Sent from my SPH-L900 using xda app-developers app
I connected it with ethernet cable so I didn't have such a problem.
It's strange that kali doesn't see a wificard - it has many built-in drivers. Maybe you are searching wlan0, when it's for example wlan1? Did u use ifconfig and iwconfig?
From my understanding the rPi does better with hf than it does el, so it seems that if Kali OS could be compiled for the rPi using armhf instead that the performance might be better overall than running an armel version. On that note, you won't see the same speeds as a Raspbian distro merely because it is using armel compared to Raspbian which uses armhf.

[Q] Using OTG Cable But 64 GB Flash Drive Not Recognised

In the user guide it states "You need a USB On-The-Go micro cable adapter to connect HTC phone and a USB storage device. HTC phone supports USB storage devices (except portable hard drives) up to 64 gb."
I have downloaded ASTRO File manager and on attaching the OTG cable to the ONE and than the 64 GB GB Flash Drive, I am unable to find the flash Drive. The drive illuminates but is not discoverable on the phone. I don't know if 64 gb is too large a flash drive, but it seems strange to state up to 64 GB if it can't take it.
Any help would be appreciated. The phone is locked to 3 and is running 4.1.2.
Thank you
Robert1960 said:
In the user guide it states "You need a USB On-The-Go micro cable adapter to connect HTC phone and a USB storage device. HTC phone supports USB storage devices (except portable hard drives) up to 64 gb."
I have downloaded ASTRO File manager and on attaching the OTG cable to the ONE and than the 64 GB GB Flash Drive, I am unable to find the flash Drive. The drive illuminates but is not discoverable on the phone. I don't know if 64 gb is too large a flash drive, but it seems strange to state up to 64 GB if it can't take it.
Any help would be appreciated. The phone is locked to 3 and is running 4.1.2.
Thank you
Click to expand...
Click to collapse
Are you going up to the root of the filesystem or looking in the built-in storage where DCIM, documents etc.. live? You won't find an attached drive inside your "SDCard".
shuflie said:
Are you going up to the root of the filesystem or looking in the built-in storage where DCIM, documents etc.. live? You won't find an attached drive inside your "SDCard".
Click to expand...
Click to collapse
Thank you shuflie;40231955]
You will have to give me step by step instructions please.
I have opened Astro File Manager and am presented with the options under locations of
1, My Files
2 Scan local Networks
3 google mail
4 box
5 Drop box
6 Facebook.
7 Sky Drive
No where in any of the folders, do I find anything that resembles what appears to be a flash drive. Please advise so that I can get this to work.
Thank you
I don't have astro, but best location to start would be my files, then look in the settings to see if you need to change something to allow access to the root filesystem. To be honest the easiset thing to do would be to install root explorer as it will default to top level of the filesystem. Should see a folder called something like "USB storage" there.
Use ES File Explorer much better.
All you do then is press the / button and it takes you to root of the phone and then from there you can choose sdcard.
I think the 64gb flash is formatted as exfat. try formatting it to fat32 instead.
Nekromantik said:
Use ES File Explorer much better.
All you do then is press the / button and it takes you to root of the phone and then from there you can choose sdcard.
Click to expand...
Click to collapse
Strange, on my ES File explorer I needed to enable "Up to root" in settings and press the folder with the up arrow on it. Can't see a / button anywhere, just in the location history.
Final request please.
Does anyone know how to get an OTG cable and a 64 GB flashdrive to be seen, recognised for videos to be accessed from that flashdrive using such a cable on an HTC One ? Thank you
Format the USB stick fat32. NTFS doesn't work without additional software on the phone.
ES File Explorer +1
Sent from the HOXL dimension of S-OFF
As mention above the manual says:
"You need a USB On-The-Go micro cable adapter to connect HTC One
and a USB storage device. HTC One supports USB storage devices
(except portable hard drives) up to 64 GB"
Is not possible to connect a hard drive? And only up to 64GB? Cant i connect more then that? I am sure other Android phones doesn't have this limitation.
Robert1960 said:
Final request please.
Does anyone know how to get an OTG cable and a 64 GB flashdrive to be seen, recognised for videos to be accessed from that flashdrive using such a cable on an HTC One ? Thank you
Click to expand...
Click to collapse
As has already been mentioned, it has nothing to do with size, only how you've formatted it. It can read any drive that goes up to the maximum of FAT32 (2TB IIRC).
Ok,
Any software to work with NTFS?
Thanks for this thread. I can cross out HTC One from my list of next phone candidates.
I will not be buying any phone unless it supports large files (+4GB).
Unfortunately, as it looks like now, that means choosing a plastic phone
seriously?
abubasim said:
Thanks for this thread. I can cross out HTC One from my list of next phone candidates.
I will not be buying any phone unless it supports large files (+4GB).
Unfortunately, as it looks like now, that means choosing a plastic phone
Click to expand...
Click to collapse
are you really basing your opinion on buying this phone from this users inability to connect a 64 gig flash drive via usb otg?
if so, go ahead and get plastic.....you don't deserve this phone.
theres an app that you get that will help mount ntfs over otg.
and yes you can mount portables.
enough said. go with samsung.
sKrAm_2013 said:
if so, go ahead and get plastic.....you don't deserve this phone.
Click to expand...
Click to collapse
Hello Junior Member. Big words coming from you!
I need a phone that can take files larger than 4GB. What's the point with a full HD display that can't take full HD movies without cropping and cutting?
Embarrasing for a senior member not to know this...
abubasim said:
Hello Junior Member. Big words coming from you!
I need a phone that can take files larger than 4GB. What's the point with a full HD display that can't take full HD movies without cropping and cutting?
Click to expand...
Click to collapse
Like skram said....there is an app in the appstore for that and it is free. you can watch full 1080p movies above 4gb with no cropping. you are looking for an excuse to go with plastic.
Assuming too much?
criticalera said:
Like skram said....there is an app in the appstore for that and it is free. you can watch full 1080p movies above 4gb with no cropping. you are looking for an excuse to go with plastic.
Click to expand...
Click to collapse
I have tried Paragon's NTFS driver. But two reasons I wouldn't choose it:
1. Requires rooting. I'm past the experimenting-with-my-phone stage since a long time back.
2. Doesn't work with the internal 32/64GB.
And no, I wouldn't choose Samsung. My current phone is the Sony XP, which with its aluminium body seems to be HTC's inspiration.
usb otg helper
abubasim said:
I have tried Paragon's NTFS driver. But two reasons I wouldn't choose it:
1. Requires rooting. I'm past the experimenting-with-my-phone stage since a long time back.
2. Doesn't work with the internal 32/64GB.
And no, I wouldn't choose Samsung. My current phone is the Sony XP, which with its aluminium body seems to be HTC's inspiration.
Click to expand...
Click to collapse
have you tried usb otg helper? it requires root also but looks more promising than paragon's ntfs driver.
if your no longer experimenting with mods, roms, tweaks, root, and such then why even bother checking out xda?
I mean no disrespect. I'm just curious.
criticalera said:
if your no longer experimenting with mods, roms, tweaks, root, and such then why even bother checking out xda?
I mean no disrespect. I'm just curious.
Click to expand...
Click to collapse
You mean experimentation is a must for XDA users? No other valid reasons to visit this site?
I do still experiment with ROMs. Right now I'm trying to get the newly announced JB for the SXP. But beyond loading different ROMs, I'm not interested tweaks etc.
Same issue with my SXP actually. The internal 16GB does not support >4GB files.
there has to be a way
abubasim said:
You mean experimentation is a must for XDA users? No other valid reasons to visit this site?
I do still experiment with ROMs. Right now I'm trying to get the newly announced JB for the SXP. But beyond loading different ROMs, I'm not interested tweaks etc.
Same issue with my SXP actually. The internal 16GB does not support >4GB files.
Click to expand...
Click to collapse
dude, there has to be a way to have your device recognize file sizes above 4GB internally.
I will see what i can find.
sony xperia z?

Asus RT N and AC Routers

Does anyone have this router? I understand it can act as a server with video or audio stored on it?
And Im assuming these can be played with allcast and bubbleupnp?
Yes, though I am not sure if this feature is available on the stock firmware.
Sent from my GT-N5110 using Tapatalk
I have the ac68u and yes it can act as a server on stock firmware
Sent from my SM-G900W8 using Tapatalk
Yeah I have the dark knight edition and it can be used as server. I however much prefer casting from my Plex server
Sent from my GT-N5110 using Tapatalk
I've got a router that has built-in DLNA server abilities in it. It seemed like a good idea until I got to the question of "How do you get the video files onto your server?". The answer for my Belkin router is that I have to disconnect the usb drive from the router and connect it to my computer, then drag files over, then when I'm done, connect the usb storage back to the router. If you're the type of person who is regularly downloading movies, then having to constantly move the usb drive around can be a PITA. In fact, it was actually more convenient to just plug the drive into my OUYA and watch movies than it was to use the DLNA capabilities in my router.
Now, if the router had some method to allow uploading files directly to its server, it would have been a different story. But then comes the next big issue - DLNA only supports a limited amount of file types. Again, this one isn't too much of an issue if you only have a small set number of movies or if you're encoding your own files.
In the end, I ended up forking out the $5 for the plex android app. Though, if you have an ouya, the plex app is free in that store.
Sounds like OP is asking in general if Asus N and AC routers support DLNA -- and Samba. If it say so on the box, then yes. Asus DLNA feature is actually pretty reliable. Album art always shows up.
I use my AC68 connected 24/7 with a WD 1tb USB hard drive and it acts as a server for d/l and stream. Any app that has DLNA support should see the server on the router (I use BubbleUpnp, Avia, Local Cast). Also Windows detect it as a network drive and ES file explorer sees it under LAN so I can easily transfer, edit files and folders. The hard drive will also auto spin down after 20 mins. I'm using stock firmware. If your media need transcoding, because CC wont support whatever format, that's a different story.
I have a rt-n56u with a Western Digital 1TB drive connected directly to it. Bubbleunpnp sees the drive as a DLNA source and works prefect streaming from the drive to the chromecast just as long as your videos are in the correct formats the dongle can handle.
Sent from my GT-I9505
I have a RT-AC66U running Merlin's latest enhanced stock firmware. There is a DLNA server option in the fw that gives the option to serve out USB connected media. There's also an iTunes server in it. More info on Merlin's builds here: http://forums.smallnetbuilder.com/forumdisplay.php?f=42 I don't have any experience with it - running WHS2011 serving media. But, the router has been a very good one.
So apparently the N66U has a microsd slot on the mainboard. Has anyone tinkered with that?
TeamHackura said:
Yeah I have the dark knight edition and it can be used as server. I however much prefer casting from my Plex server
Sent from my GT-N5110 using Tapatalk
Click to expand...
Click to collapse
Only downside with plex is your computer always has to be on. The Asus server is always available and you can even access it from outside your network
Sent from my SM-G900W8 using Tapatalk
True. I have bitten the bullet and decided to leave PC on. It idles down nicely anyhow. The good thing with plex is that it encodes on the fly to suite the device and bandwidth present. With DLNA server on router its hit or miss whether it even starts to play. Also interface of Plex is verty nice from Android app.
ermacwins said:
So apparently the N66U has a microsd slot on the mainboard. Has anyone tinkered with that?
Click to expand...
Click to collapse
Yeah, I have the N66U with a 16GB SD card in the slot. I use TomatoUSB on my router instead of the Stock OS, and I have it use the card for my network share storage.
ddggttff3 said:
Yeah, I have the N66U with a 16GB SD card in the slot. I use TomatoUSB on my router instead of the Stock OS, and I have it use the card for my network share storage.
Click to expand...
Click to collapse
What's the Max size it can take? And in tomato fw better than merlin?
ermacwins said:
What's the Max size it can take? And in tomato fw better than merlin?
Click to expand...
Click to collapse
I believe 64GB, but I am not 100% sure. And its all personal preference on what OS is better. Find one that does what you want, and you enjoy.
ddggttff3 said:
I believe 64GB, but I am not 100% sure. And its all personal preference on what OS is better. Find one that does what you want, and you enjoy.
Click to expand...
Click to collapse
Guess I can check. Im assuming that opening the router will void the warranty? And which format does it need to be in, FAT32?
ermacwins said:
Guess I can check. Im assuming that opening the router will void the warranty? And which format does it need to be in, FAT32?
Click to expand...
Click to collapse
I dont believe so as there is a warranty inside the case on one of the mainboard screws. And FAT32 should work, but I personally used EXT3.
RT-N66U with Asuswrt-Merlin firmware, best router Ive ever had.
Notes:
Putting a micro sdcard in the router will not add it to the webui, it will only be available via terminal/ftp/samba/etc.
SD Cards, flash memory, thumb drive,etc should be EXT2 and hard drives EXT3 with Asus routers when used in the SD slot or USB ports, it runs Linux and a Linux file system should be used.
I'm using the ac I think. Anyways I have a 2 TB Samsung portable, I can't give details later if needed. But yeah casts. I have y2cast, local cast and bubble all still on my phone, so must work well. great playback.
Router is on stock firmware, remember to go manually update, small security issue.
I'd like to try the ddwrt software on it bit I've yet to have a chance if anyone has had a chance.
Sent from my LT30a
r00t4rd3d said:
RT-N66U with Asuswrt-Merlin firmware, best router Ive ever had.
Notes:
Putting a micro sdcard in the router will not add it to the webui, it will only be available via terminal/ftp/samba/etc.
SD Cards, flash memory, thumb drive,etc should be EXT2 and hard drives EXT3 with Asus routers when used in the SD slot or USB ports, it runs Linux and a Linux file system should be used.
Click to expand...
Click to collapse
Ok I'll try an ftp client on the pc to transfer files to attached storage. Is there a similar method with Android for non techy family members?
ddggttff3 said:
Yeah, I have the N66U with a 16GB SD card in the slot. I use TomatoUSB on my router instead of the Stock OS, and I have it use the card for my network share storage.
Click to expand...
Click to collapse
Im on Tomato FW now and have a USB key plugged in. How can I Transfer files from Windows7/8?

Categories

Resources