Sponsored links


Go Back   Sat Industry Forums > Dreambox > DB Images > PLI Images
Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-05-2007
Willowman's Avatar
Registered User
 
Join Date: Oct 2004
Posts: 96
Thanks: 0
Thanked 1 Time in 1 Post
Willowman is on a distinguished road
How do you re-mount a hard disk

I have had a hard disk in my DM7000 since I bought it new 3 years ago. It has worked without problems. After playing around with a compact flash memory card I can no longer access the hard disk. I am using the latest PLI Helenite image. If I access the system and hardware settings I can't find the menu option to check the mounts. On the same screen as the red format button there is a yellow button to give disk status. It reports unknown file system. The disk is 78% full and I think the file structure is still in place. How do I remount it. The usb stick is still working ok.

In the web interface there is a mount manager which lists the following see below. Should all of these be mounted? There is a red cross to left of each row. Some of them appear to be duplicates. Before I make the situation worse some advice would be welcome please. Thanks

Stat Action Type Mount Server Device Auto
offline SMBFS /hdd 0.0.0.0 /DEV/IDE/HOST0/BUS0/TARGET0/LUN0/PART1 0
offline SMBFS /var/mnt/usb 0.0.0.0 /dev/scsi/host0/bus0/target0/lun0/disc 0
offline SMBFS /mnt/usb 0.0.0.0 /DEV/SCSI/HOST0/BUS0/TARGET0/LUN0/DISC 0
offline SMBFS /var 0.0.0.0 /DEV/SCSI/HOST0/BUS0/TARGET0/LUN0/DISC 0
offline SMBFS /mnt/cf 0.0.0.0 /dev/ide/host0/bus0/target0/lun0/part1 0
offline SMBFS /mnt/usb /DEV/SCSI/HOST0/BUS0/TARGET0/LUN0/DISC 0
offline SMBFS /hdd /DEV/IDE/HOST0/BUS0/TARGET0/LUN0/PART1 0
offline SMBFS /mnt/cf /dev/ide/host0/bus0/target0/lun0/part1 0
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 08-05-2007
Willowman's Avatar
Registered User
 
Join Date: Oct 2004
Posts: 96
Thanks: 0
Thanked 1 Time in 1 Post
Willowman is on a distinguished road
Re: How do you re-mount a hard disk

Having searched through other sections of this board I now think this problem is down to a bug in Enigma which does not allow the simultaneous use of compact flash and a hard disk. Inserting the compact flash has disabled access to the existing file structure.

The question is has it permanently destroyed the file structure on the disk?

I can reformat the disk but I would prefer to recover my movies.

Note to moderator - As this is now a general Dreambox question I will copy the original post to a more widely read forum
Reply With Quote
  #3 (permalink)  
Old 08-05-2007
Roodkapke's Avatar
Registered User
 
Join Date: Jan 2005
Posts: 278
Thanks: 0
Thanked 2 Times in 2 Posts
Roodkapke is on a distinguished road
Re: How do you re-mount a hard disk

Power down your dreambox.
Remove the CF, let the HDD be.
Start your box, and see what happens.
If you're lucky, all is still there.
You could try and see if you're hdd is set as slave before re-inserting your CF.
It must be slave, otherwise it will never work.
There seems to be a hardware mod by removing some pins in the CF slot, but i don't know if that can solve these things.
Reply With Quote
  #4 (permalink)  
Old 08-05-2007
Willowman's Avatar
Registered User
 
Join Date: Oct 2004
Posts: 96
Thanks: 0
Thanked 1 Time in 1 Post
Willowman is on a distinguished road
Re: How do you re-mount a hard disk

I've tried that and it didn't work. I am not familiar with Linux to know how to it at the system level. On a PC there are many ways you can recover the directory and file structure on a disk.
Reply With Quote
  #5 (permalink)  
Old 08-06-2007
Registered User
 
Join Date: Oct 2003
Posts: 488
Thanks: 0
Thanked 0 Times in 0 Posts
robb is on a distinguished road
Re: How do you re-mount a hard disk

telnet to the box, login and type this:

mount /dev/ide/host0/bus0/target0/lun0/part1 /hdd

see what error message it returns.
Reply With Quote
  #6 (permalink)  
Old 08-06-2007
Registered User
 
Join Date: Feb 2005
Posts: 54
Thanks: 1
Thanked 0 Times in 0 Posts
picc2001 is on a distinguished road
Re: How do you re-mount a hard disk

Quote:
Originally Posted by Willowman
I've tried that and it didn't work. I am not familiar with Linux to know how to it at the system level. On a PC there are many ways you can recover the directory and file structure on a disk.

Hi,

It happened the same to me some months ago (trying to use a CF).

Some CF are not compatible with Dream + HD (many forums discuss the reasons of this… )

Trying to use a CF destroyed the structure of the HD…

What I did…?

I don’t remember the commands (search linux, commands… google)… but at the end I was able to read the data again… but some data was missing… (ex. file that contains the info of the recorded movies..) and I finished re-formatting the HD…

Now I am using HD and CF and USB…. Try to find an old CF (in my case of 512 M) … some one works… others not.

If you are able to read the data again… you will need a second HD in order to copy files (!!!!) and after that format the HD and restore the files…

Good luck

Picc2001

PS:
Read this
http://www.sat-industry.net/forums/a...p/t-27156.html

Last edited by picc2001 : 08-06-2007 at 04:37 AM.
Reply With Quote
  #7 (permalink)  
Old 08-06-2007
Willowman's Avatar
Registered User
 
Join Date: Oct 2004
Posts: 96
Thanks: 0
Thanked 1 Time in 1 Post
Willowman is on a distinguished road
Re: How do you re-mount a hard disk

Quote:
Originally Posted by robb
telnet to the box, login and type this:

mount /dev/ide/host0/bus0/target0/lun0/part1 /hdd

see what error message it returns.
Thanks robb it returns

Can't find /dev/ide/host0/bus0/target0/lun0/part1 /hdd in etc/fstab

If I FTP to the Dreambox and look in etc fstab appears to be empty 0 bytes
the hdd folder is there but it only contains an empty log folder

Last edited by Willowman : 08-06-2007 at 07:16 AM.
Reply With Quote
  #8 (permalink)  
Old 08-06-2007
Willowman's Avatar
Registered User
 
Join Date: Oct 2004
Posts: 96
Thanks: 0
Thanked 1 Time in 1 Post
Willowman is on a distinguished road
Re: How do you re-mount a hard disk

Quote:
Originally Posted by picc2001
Hi,

It happened the same to me some months ago (trying to use a CF).

Some CF are not compatible with Dream + HD (many forums discuss the reasons of this… )

Trying to use a CF destroyed the structure of the HD…

What I did…?

I don’t remember the commands (search linux, commands… google)… but at the end I was able to read the data again… but some data was missing… (ex. file that contains the info of the recorded movies..) and I finished re-formatting the HD…

Now I am using HD and CF and USB…. Try to find an old CF (in my case of 512 M) … some one works… others not.

If you are able to read the data again… you will need a second HD in order to copy files (!!!!) and after that format the HD and restore the files…

Good luck

Picc2001
Thanks picc2001 my knowledge of Linux is very limited. I will investigate linux commands to try to gain access to the disk. I have plenty of storage on my home network to backup as much as I can retrieve when I can see anything on the disk.
The stupid thing was that I don't really need to use CF. I happened to discover a CF stick and tried to install it. I didn't expect this hassle.
Reply With Quote
  #9 (permalink)  
Old 08-06-2007
Willowman's Avatar
Registered User
 
Join Date: Oct 2004
Posts: 96
Thanks: 0
Thanked 1 Time in 1 Post
Willowman is on a distinguished road
Re: How do you re-mount a hard disk

Luckily for me the only thing on the hard disk are movies as everything else is on my USB stick.

It looks like I need to rebuild fstab which I believe is just a text file. Assuming that there is no backup copy of it anywhere on the DM7000 what is the best way to do this?

Could someone with a DM7000 post the contents of their fstab as it would give me a start.

What I don't want to do is lose the content on the USB although I have Flashwizard backups of the boot images on an external PC.
Reply With Quote
  #10 (permalink)  
Old 08-07-2007
Registered User
 
Join Date: Oct 2003
Posts: 488
Thanks: 0
Thanked 0 Times in 0 Posts
robb is on a distinguished road
Re: How do you re-mount a hard disk

It is normal that /etc/fstab is just a 0-byte file. It amazes me that mount is complaining about this.
I think normally mount will just do what you ask when trying to mount with 2 parameters (like I explained). The fstab is just for shortcuts like "mount /hdd".

You could try giving the filesystem type, like this:
mount -t ext3 /dev/ide/host0/bus0/target0/lun0/part1 /hdd

When that does not work, make sure you have swapspace (on your USB stick) and issue this command:
fsck.ext3 /dev/ide/host0/bus0/target0/lun0/part1

This will attempt to repair the disk. It will take quite some time, especially when the disk is large.

All of the above assumes that your disk is formatted in ext3. If you have formatted it long ago, it could be reiserfs and you need to specify the word reiserfs instead of ext3.
Do you remember if it was reiserfs? if so, for the past couple of PLi images you needed to download a separate module for reiserfs support. When that was not required, it should be ext3.


Don't panic yet, there probably is only a minor error somewhere and it can only be made worse by panic.
When you have a spare PC (aside from your system with lots of storage) you could put the disk in there, boot it from a knoppix CD, and mount the disk there.
Then you can copy the files over the network.
But I would only do that if all else fails, as you need to open the box and remove the disk. Should not be required.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Cannot format my hard disk faridf Tips, Tricks & Hints 9 11-11-2006 11:30 AM
Hard disk Standby jimmyflo DM-7000s 9 03-29-2006 05:23 PM
external hard disk usb uforobot Accessories 0 12-18-2004 11:37 PM
Hard Disk always on azamsaghir1 Dreambox Chat 4 09-10-2004 07:14 PM
Hard disk temperature pincopallaxxx Plugins 4 05-21-2004 06:00 PM


All times are GMT +10. The time now is 01:03 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Page generated in 0.31071 seconds with 10 queries