Ergebnis 1 bis 10 von 12
-
25.12.2013, 15:37 #1EddyxGast
My HDD is after restart not present or must have a format
I have installed the OpenATV image on my P+ and there were no problems. So after that I formated my internal harddisk, it was recognised and I could use it. When I try to use the Hdd again after a restart a message appears on the screen that tells me there is no harddisk found or formated. Can someone please help me? I am sorry that ask my question in English because I can't write German very well, but I can understand it when you answer me. Thank you.
-
Advertising
-
25.12.2013, 19:03 #2Pike_BishopGast
Hi Eddyx,
in which format have you formated your harddisc - ext3, ext4 or what ?
and have you formated your harddisc directly on your box or with telnet or on your computer ?
what says the telnet commands;
Code:blkid
Code:mount
regards
Biki3
-
26.12.2013, 17:20 #3EddyxGast
Thank you very much for your answer. As you asked me I have used the Telnet commands after I formated my HDD (using the ATV-menu)with following result:
openatv 3.1 azboxhd
azboxhd login: root
Last login: Thu Dec 26 16:01:33 +0100 2013 on /dev/pts/0.
root@azboxhd:~# blkid
/dev/hda1: UUID="6b9595b3-a17a-42fd-871c-beeaa95473c6" TYPE="ext3"
/dev/hda2: UUID="c5af117b-8709-4579-873d-81ebe9b60095" TYPE="ext2"
/dev/hda3: UUID="e1307a65-6cc6-455d-9637-1f0445b48c6d" TYPE="swap"
/dev/hdb1: UUID="5ac471a3-6455-497f-9af6-8ef4f51b0a79" TYPE="ext3"
/dev/mtdblock3: LABEL="YAMON_XRPC" TYPE="romfs"
/dev/mtdblock4: LABEL="MIPS_LINUX_XRPC" TYPE="romfs"
root@azboxhd:~# mount
rootfs on / type rootfs (rw)
/dev/hda1 on / type ext3 (rw,relatime,errors=continue,barrier=1,data=ordere d)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime,size=64k)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /var/volatile type tmpfs (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
automount(pid619) on /autofs type autofs (rw,relatime,fd=4,pgrp=619,timeout=5,mi
nproto=2,maxproto=4,indirect)
/dev/hdb1 on /media/hdd type ext3 (rw,relatime,errors=continue,user_xattr,barrie
r=1,data=ordered)
root@azboxhd:~#
As you can see hdb1 is mounted but after a restart those commands give next results:
Welcome to openATV for azboxhd
openatv 3.1 azboxhd
azboxhd login: root
Last login: Thu Dec 26 16:40:37 +0100 2013 on /dev/pts/0.
root@azboxhd:~# blkid
/dev/hda1: UUID="6b9595b3-a17a-42fd-871c-beeaa95473c6" TYPE="ext3"
/dev/hda2: UUID="c5af117b-8709-4579-873d-81ebe9b60095" TYPE="ext2"
/dev/hda3: UUID="e1307a65-6cc6-455d-9637-1f0445b48c6d" TYPE="swap"
/dev/hdb1: UUID="5ac471a3-6455-497f-9af6-8ef4f51b0a79" SEC_TYPE="ext2" TYPE="ext
3"
/dev/mtdblock3: LABEL="YAMON_XRPC" TYPE="romfs"
/dev/mtdblock4: LABEL="MIPS_LINUX_XRPC" TYPE="romfs"
root@azboxhd:~# mount
rootfs on / type rootfs (rw)
/dev/hda1 on / type ext3 (rw,relatime,errors=continue,barrier=1,data=ordere d)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime,size=64k)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /var/volatile type tmpfs (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
Even if I add the line: UUID=5ac471a3-6455-497f-9af6-8ef4f51b0a79 /media/hdd auto defaults 0 0
to the fstab file in the directory ETC nothing changes. Maybe here I do something wrong, can you please help me?
rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
tmpfs /var/volatile tmpfs defaults 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
UUID=5ac471a3-6455-497f-9af6-8ef4f51b0a79 /media/hdd auto defaults 0 0
Thank you!
-
26.12.2013, 21:11 #4Pike_BishopGast
Hi Eddyx,
normally your fstab entry for your /dev/hdb1 looks correct
but you can try this in your /etc/fstab;
Code:UUID=5ac471a3-6455-497f-9af6-8ef4f51b0a79 /media/hdd auto rw,data=ordered 0 0
Code:UUID="5ac471a3-6455-497f-9af6-8ef4f51b0a79" /media/hdd auto rw,data=ordered 0 0
and after the last line in your fstab you must have an empty line too.
at last you must restart your box complete.
if you have problems to edit your /etc/fstab then you can make a .zip file and attach it here
then i will edit it for you.
did you mount your ext3 formated hdd with the ext4 driver or want you mount it with the ext3 driver ?
if you want to use the ext3 driver (as i do it too) you must also install the ext3 modul, you can have a look how the ext3 driver is named with the following telnet command;
Code:opkg list | grep ext3
Code:kernel-module-ext3 - 3.8.7-r0 - linux-etxx00 version 3.8.7-r0 ext3 kernel modul e; Second Extended
Code:opkg update opkg install kernel-module-ext3
if you want to use the ext3 driver and you have install it then you can try fstab entries as following;
Code:UUID=5ac471a3-6455-497f-9af6-8ef4f51b0a79 /media/hdd ext3 rw,data=ordered 0 0
Code:UUID="5ac471a3-6455-497f-9af6-8ef4f51b0a79" /media/hdd ext3 rw,data=ordered 0 0
Biki3Geändert von Pike_Bishop (26.12.2013 um 23:21 Uhr)
-
27.12.2013, 17:44 #5EddyxGast
Hi ,
Thank for all your information. I have followed your instructions and have use Notepad++ 6.5.2 to edit the fstab file and add the line (with and without exclamation marks) and leaved an empty line
I followed your instructions and used Notepad++ 6.5.2to edit the fstab file and to add the following line: UUID=5ac471a3-6455-497f-9af6-8ef4f51b0a79 /media/hdd auto rw,data=ordered 0 0 (without and with exclamation points). I left an additional line free. After a complete startup the hard disk was still not recognized.
I also have performed the telnet command: opkg list | grep ext3 and I got no output.
About the commands: opkg update and opkg install kernel-module-ext3, I got following output:
Welcome to openATV for azboxhd
openatv 3.1 azboxhd
azboxhd login: root
root@azboxhd:~# opkg update
Downloading http://feeds.mynonpublic.com/3.1/azb...ty/Packages.gz.
Inflating http://feeds.mynonpublic.com/3.1/azb...ty/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/openatv-3rdparty.
Downloading http://feeds.mynonpublic.com/3.1/azb...ll/Packages.gz.
Inflating http://feeds.mynonpublic.com/3.1/azb...ll/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/openatv-all.
Downloading http://feeds.mynonpublic.com/3.1/azb...hd/Packages.gz.
Inflating http://feeds.mynonpublic.com/3.1/azb...hd/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/openatv-azboxhd.
Downloading http://feeds.mynonpublic.com/3.1/azb...ty/Packages.gz.
Inflating http://feeds.mynonpublic.com/3.1/azb...ty/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/openatv-azboxhd_3rdparty.
Downloading http://feeds.mynonpublic.com/3.1/azb...el/Packages.gz.
Inflating http://feeds.mynonpublic.com/3.1/azb...el/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/openatv-mips32el.
Downloading http://enigma2.world-of-satellite.co...am/Packages.gz.
Inflating http://enigma2.world-of-satellite.co...am/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/ocram-picons.
root@azboxhd:~# opkg install kernel-module-ext3
Unknown package 'kernel-module-ext3'.
Collected errors:
* opkg_install_cmd: Cannot install package kernel-module-ext3.
My apologies that I have to disturb you again, but I really have tried everything. Maybe it helps if I can download somewhere the ext3 kernel module and install it by using telnet. Do you have any advice. In any case, thanks for that.
-
28.12.2013, 19:46 #6Pike_BishopGast
Hi Eddyx,
first a question as following;
what hdd is this which makes the problems - is it an internal hdd or an external hdd with usb ?
if it is an external usb hdd is they directly connected by an usb port on your box or do you use an usb-hub and the usb hdd is connected first on the usb-hub ?
this questions are therefore because i know users they have the same problems as you and fault was mostly the usb-hub.
I also have performed the telnet command: opkg list | grep ext3 and I got no output.
maybe a user with a azbox can say what to this, but it's not so important it must also works without ext3 modul (driver) and auto in fstab.
if your hdd isn't present can you mount it manually in telnet with following telnet command ?;
Code:mount UUID=5ac471a3-6455-497f-9af6-8ef4f51b0a79 /media/hdd
Code:mount
regards
Biki3Geändert von Pike_Bishop (28.12.2013 um 20:52 Uhr)
-
29.12.2013, 13:49 #7EddyxGast
Hi, again thanks for your explanation. Anqwers on your questions: the hard disk installed is an internal hard disk Samsung HD103SI 1 TB Serial ATA300 is.
After your last answer I have formated the hard disk again, using the blue button menu. After that, the HD mounted immediately (ext3). I could record, make backups and approach it via FTP. In the Media directory there was a DIR HDD created and there was also a DomExtender DIR present. When I restarted the box completely, the HD was no longer mounted. Also the DIR HD was cleared from the DIR Media.
The output for the command: root@azboxhd:~# mount UUID= b3db7b5b-692f-44a1-92df-5aabbca032ea /media/hdd
BusyBox v1.19.4 (2013-12-13 08:20:19 CET) multi-call binary.
Usage: mount [OPTIONS] [-o OPTS] DEVICE NODE
Mount a filesystem. Filesystem autodetection requires /proc.
-a Mount all filesystems in fstab
-i Don't run mount helper
-r Read-only mount
-w Read-write mount (default)
-t FSTYPE Filesystem type
-O OPT Mount only filesystems with option OPT (-a only)
-o OPT:
loop Ignored (loop devices are autodetected)
[a]sync Writes are [a]synchronous
[no]atime Disable/enable updates to inode access times
[no]diratime Disable/enable atime updates to directories
[no]relatime Disable/enable atime updates relative to modification ti
me
[no]dev (Dis)allow use of special device files
[no]exec (Dis)allow use of executable files
[no]suid (Dis)allow set-user-id-root programs
[r]shared Convert [recursively] to a shared subtree
[r]slave Convert [recursively] to a slave subtree
[r]private Convert [recursively] to a private subtree
[un]bindable Make mount point [un]able to be bind mounted
[r]bind Bind a file or directory [recursively] to another locati
on
move Relocate an existing mount point
remount Remount a mounted filesystem, changing flags
ro/rw Same as -r/-w
There are filesystem-specific -o flags.
root@azboxhd:~# mount UUID=b3db7b5b-692f-44a1-92df-5aabbca032ea /media/hdd
NTFS signature is missing.
Failed to mount '/dev/hdb1': Invalid argument
The device '/dev/hdb1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount: mounting /dev/hdb1 on /media/hdd failed: No such file or directory
root@azboxhd:~# mount hdb1 media/hd
ntfs-3g: Failed to access volume 'hdb1': No such file or directory
ntfs-3g 2011.4.12 integrated FUSE 27 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off
Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2011 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson
Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>
Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=.
Please see the details in the manual (type: man ntfs-3g).
Example: ntfs-3g /dev/sda1 /mnt/windows
root@azboxhd:~# mount dev/hdb1 media/hd ext3
BusyBox v1.19.4 (2013-12-13 08:20:19 CET) multi-call binary.
Usage: mount [OPTIONS] [-o OPTS] DEVICE NODE
Mount a filesystem. Filesystem autodetection requires /proc.
-a Mount all filesystems in fstab
-i Don't run mount helper
-r Read-only mount
-w Read-write mount (default)
-t FSTYPE Filesystem type
root@azboxhd:~# mount UUID=b3db7b5b-692f-44a1-92df-5aabbca032ea /media/hdd
NTFS signature is missing.
Failed to mount '/dev/hdb1': Invalid argument
The device '/dev/hdb1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount: mounting /dev/hdb1 on /media/hdd failed: No such file or directory
root@azboxhd:~#
With other images (OpenRSI and OpenSpa) I have not that problem. Maybe the problem is spccific for an AZbox Premium +? Thank you again for your patience and work
-
29.12.2013, 15:53 #8EddyxGast
I've found something. I used the telnet command mkfs.ext3 /dev/hdb1 to format my HD again. So when it was done I created a Dir hdd in the Dir media and a Dir movie in the Dir hdd (chmod 755 or 777). Than I give in telnet the command mount /dev/hdb1 /media/hdd. At that moment I can use the HD again. My question is now: when I restart the box both directories hdd and movie are autom. deleted. When I create them again and chmod 755 and repeat the mount command in telnet , I can use the HD again. How can I make both directories permanent en mount hdb1 auto?
Thanx
-
29.12.2013, 16:25 #9
- Registriert seit
- 20.04.2013
- Beiträge
- 24.824
- Thanks (gegeben)
- 4679
- Thanks (bekommen)
- 9077
- Total Downloaded
- 596,61 MB
- Total Downloaded
- 596,61 MB
Box 1:GB Q4K-SC / UE4K-SC / UE4K-CBox 2:GigaBlue Q-SSC / Q+-SSCBox 3:DM900uhd-SS / Vu+DuoBox 4:ZGemma H7/H9 SF8008Box 5:diverse andere . . .Everything in /media ist handled by autofs. So after Reboot manual Changes normally are gone. That's normal.
After formating the harddisk, it gets a new blkid, which should be placed in fstab and then it will be reproducible.Geändert von Papi2000 (30.12.2013 um 22:56 Uhr)
Grüßle
Ralf
---------------------------------------------
Gigablue Quad4K-mixed, UE4K, Trio4K, Quad_Plus-SSC, UE_Plus-SC, X2/X3-SC, UltraUE-SC, ...
Astra 19.2E UniCable & KabelBW, oATV/teamBlue
(u.a.: DM900uhd,Vu+Duo,ZGemma H9Twin & H7S), PC-DVB-S/C/T, Xtreamer, BDP5200, Philips 24PFS4022/12, 65OLED855/12,UE32C5700, RPi3+
---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----
-
30.12.2013, 17:14 #10Pike_BishopGast
Hi Eddyx,
Code:mount UUID= b3db7b5b-692f-44a1-92df-5aabbca032ea /media/hdd
and also it's the same probs as you have when you want mount it with mount /dev/hdb1 /media/hdd and the directory /media/hdd isn't present
but with;
Code:mkdir /media/hdd mount UUID=b3db7b5b-692f-44a1-92df-5aabbca032ea /media/hdd
and @Papi2000 is right - if you make partitions or format your hdd always the uuid is changing
maybe it is the problem that you have a wrong uuid in your fstab because you have formated the hdd again.
give me your fstab (attach it as .zip file) and again the output from the telnet command;
Code:blkid
and then i will make an fstab entry for you.
if this want works again i can make a workarround for you with a cronjob and scripts as last idea.
for that i lets make a cronjob with an init script and this job starts another script which looks as your hdd is mounted and if not it
makes the directory /media/hdd and mount your hdd and after correct mounting the same script deletes the cronjob.
regards
Biki3Geändert von Pike_Bishop (30.12.2013 um 21:00 Uhr)
-
Danke - 1 Thanks- bedankten sich
Lesezeichen