PDA

View Full Version : Problem with internal harddrive



psham
21-03-2013, 09:32 AM
I have a problem with my Internal hard drive on xtrend et-9200.
All working last night but now HDD is not showing up in file list when I try to play back a recording.
Looked in information in openpli 3.0 image and harddrive is detected but says -1mb available.
I have tested 3 different drives and tried to initialize through the set up menu and get the following error:

initializing storage device... Error: Timeout elapsed, sorry

I have also tried to mount manually via telnet but no joy either.

Another problem is that I can't mount a USB drive either to try a different image.

Any ideas on what is the problem as I can't mount any sort of drive now, USB or internal??

hda5
21-03-2013, 12:01 PM
Open Telnet and type the following...



df -h


You should see something like this:



Filesystem Size Used Available Use% Mounted on
/dev/root 248.0M 70.1M 177.9M 28% /
udev 2.0M 324.0K 1.7M 16% /dev
/dev/mtdblock2 7.0M 2.7M 4.3M 39% /boot
tmpfs 74.2M 284.0K 73.9M 0% /var
tmpfs 74.2M 8.0K 74.2M 0% /tmp
/dev/sda1 931.3G 846.2G 85.2G 91% /media/hdd


Paste the output after entering df -h in your reply.

psham
21-03-2013, 12:29 PM
Will do but it'll be later on when I get home from work.

psham
21-03-2013, 08:20 PM
root@et9x00:~# df -h
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 218.3M 71.1M 147.2M 33% /
devtmpfs 142.0M 4.0K 142.0M 0% /dev
tmpfs 64.0K 0 64.0K 0% /media
tmpfs 142.1M 900.0K 141.2M 1% /var/volatile
root@et9x00:~#

hda5
21-03-2013, 09:01 PM
Have a look in the fstab file in /etc folder and add the following line to the bottom if it isn't already there.

/dev/sda1 /media/hdd auto defaults 0 0

Now save fstab file and reboot the receiver.

psham
21-03-2013, 09:46 PM
Thats the job , Harddrive installed and back working.. Thanks a million..
I had to add /dev/sda1 /media/hdd auto defaults 0 0 to the fstab file.

Why was nothing else I did to try to mount not work?

Also I still cannot mount a usb pen drive when I plug it in, do you know why this is happening?

hda5
21-03-2013, 11:20 PM
Re: USB mount try adding the line below to fstab then reboot the receiver.

/dev/sdb1 /mnt/usb auto defaults 0 0

psham
21-03-2013, 11:44 PM
Tried that both no joy..
Can see its detected in information/about with same -1mb available as I had when HDD would not mount.

hda5
22-03-2013, 12:03 AM
Make sure USB is inserted then reboot box.

After reboot...

In Telnet type fdisk -l and paste the output. Note the ext after fdisk is a lowercase "L"

psham
22-03-2013, 12:30 AM
root@et9x00:~# fdisk -l
-sh: fdisk: not found
root@et9x00:~#

hda5
22-03-2013, 11:09 AM
Try adding the line below to fstab save it then reboot the receiver.

/dev/sdb1 /media/usb auto defaults 0 0

psham
23-03-2013, 11:14 AM
Thanks! This mounted the usb drive, I can see and play files from my usb pen again. And in Menu/information/about I see 23gb free on my usb, however when I remove the usb drive and insert it again without a full restart the usb is recognised in menu/information/about with -1mb available. but I cannot see the files on the usb in file list.
If I do a full restart with usb left plugged in usb becomes mounted again.

Is there any way I can mount usb like I used to without full restarting the reciever??

hda5
23-03-2013, 04:02 PM
Open Telnet and enter...

umount /dev/sdb1
mount /dev/sdb1 /media/usb

psham
24-03-2013, 01:44 PM
umount /dev/sdb1. Invalid argument


mount /dev/sdb1 /media/usb

This part mounts the usb every time.

Thanks a million...

Is there any way to automount any USB drive without having to telnet and mount /dev/sdb1 /media/usb.

Before all these problems started I used to be able to plug in a usb drive and it was automatically detected and mounted.

psham
24-03-2013, 04:56 PM
Sorted.. Had to reflash with same image.
Something must have screwed up my settings last week.
Anyway , happy now and receiver is working now as it should.

Thanks for all your help.