Hard disk vanished after software update
tbltbl 27 Sep 2012
Any suggestions would be appreciated,
Richard
WanWizard 27 Sep 2012
Can you telnet into your box and post the result of 'mount' here?
Martin_B 27 Sep 2012
If your (internal) disk has no label and you have no entry in fstab, then it is mounted as /media/sda1
If yor (external) disk has no label and you have no entry in fstab, then it is mounted as /media/usb
To mount your disk as /media/hdd you can either set an entry in fstab or (recommended) label your disk as hdd
Then it will be mounted as /media/hdd
To label your diks use
tune2fs -L hdd /dev/sda1
hdd is the Label
/dev/sda1 is the device name (blkid + mount show device names)
Contend of disk will not be changend or deleted.
Regards
Martin
Edited by Martin_B, 27 September 2012 - 08:56.
tbltbl 27 Sep 2012
Richard
tbltbl 27 Sep 2012
root@dm8000:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type jffs2 (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=158852k,nr_inodes=39713,mode=7
5)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/loop1 on /media/ba type ext4 (rw,noatime,nodiratime,barrier=1,data=writeba
k)
/dev/loop1 on /media/ba type ext4 (rw,noatime,nodiratime,barrier=1,data=writeba
k)
/dev/loop1 on / type ext4 (rw,noatime,nodiratime,barrier=1,data=writeback)
devtmpfs on /dev type devtmpfs (rw,relatime,size=158852k,nr_inodes=39713,mode=7
5)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime,size=64k)
tmpfs on /var/volatile type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
root@dm8000:~#
Entering tune2fs -L hdd /dev/sda1 caused a short pause and then the root cursor.
root@dm8000:~# tune2fs -L hdd /dev/sda1
root@dm8000:~#
It looks to me as if the system can only see the USB flash drive I am using to run Barry Allen. From the dreambox I can see both the HDD and the USB drives correctly identified by name and could initialise them . If I press RECORD I get "MISSING no hdd found or hdd not initialised.
Richard
tbltbl 27 Sep 2012
Is there nothing I can use from the Dreambox to mount a hard disk ?
Richard
MiLo 27 Sep 2012
Process of mounting devices has changed.
If your (internal) disk has no label and you have no entry in fstab, then it is mounted as /media/sda1
If yor (external) disk has no label and you have no entry in fstab, then it is mounted as /media/usb
The first internal disk is always mounted as /media/hdd regardless of fstab or label. Where "internal" means the internal SATA connector exclusively,
MiLo 27 Sep 2012
...running OpenPLi in Barry Allen...
I'm 99% sure that THAT is the cause of your problem.
Barry Allen is however the best way of keeping up to date with experimental images
No it isn't.
tbltbl 27 Sep 2012
Richard
nietgiftig 27 Sep 2012
The first internal disk is always mounted as /media/hdd regardless of fstab or label. Where "internal" means the internal SATA connector exclusively,
What is the difference between the internal sata en the e-sata besides the placement?
MiLo 2 Oct 2012
nietgiftig 2 Oct 2012
You're right, I never thought of the external plug, so remove "internal" from my comment to make it correct
Ok, thanks.
I was just planning to buy an SSD for the eSATA for recording.
Easy to transfer to PC
And use it also for timeshifting.
MiLo 2 Oct 2012
tbltbl 15 Oct 2012
To cure the error when telnetting blkid, I installed util-linux-blkid which after rebooting, gave some info about where the hdd was mounted.
To correct the mount point, I edited /etc/fstab (I removed the previous last line which was full of junk) and added this line at the bottom then rebooted
/dev/sda1 /media/hdd auto defaults 0 0
Hope this is of some use to someone,
Richard
Edited by tbltbl, 15 October 2012 - 19:04.
RamsesII 12 Nov 2012
I've sorted out this problem so I will detail the solution for other users with the same problem. There seem to be lots of them
To cure the error when telnetting blkid, I installed util-linux-blkid which after rebooting, gave some info about where the hdd was mounted.
To correct the mount point, I edited /etc/fstab (I removed the previous last line which was full of junk) and added this line at the bottom then rebooted
/dev/sda1 /media/hdd auto defaults 0 0
Hope this is of some use to someone,
Richard
For me it worked when I just removed the last hdd line from fstab completely. The system created a new and working line to mtab and the disk works fine now.