View unanswered posts | View active topics It is currently Sun May 26, 2013 9:53 am



Reply to topic  [ 2 posts ] 
 [HOW-TO] Troubleshoot your HDD for the POHD 
Author Message

Joined: Thu Nov 19, 2009 4:43 pm
Posts: 142
Post [HOW-TO] Troubleshoot your HDD for the POHD
Lots of people complain about the POHD recurrently asking to format the HDD.
Others find errors when connecting to a PC via USB...

STEP 0: Understand POHD formatting:
The POHD disk needs to show something like:
Code:
   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1           2       16033+  7 HPFS/NTFS
/dev/sda2               3          35      265072+ 82 Linux swap
/dev/sda3              36         100      522112+ 83 Linux

when you issue a
Code:
# fdisk -l

these Start and End values are not the default ones, as I've done some tweaking. It's the type and ordering of the partitions that matter.
/dev/sda1 is, by default, the NTFS partition (whole disk, less the following two partitions). It's labeled partition1
/dev/sda2 is, by default, a linux swap partition of around 157MB. No label
/dev/sda2 is, by default, a linux ext3 partition of around 157MB. No label
All of these are primary partitions, and the POHD tries to mount them in this order upon boot.

STEP 1: Try to repair, without (hopefully) loosing all your data:
NTFS: Connect the POHD to a Windows PC (tested with good results on a Windows 7 machine). If it asks to run chkdsk, do so, otherwise, you can run it yoursefl (right-click, properties, tools, check). Make sure you select the checkbox to fix the filesystem errors, or it does nothing.
SWAP: Nothing to be done
EXT3: telnet to POHD and run:
Code:
# umount /tmp/hdd/root
# fsck /dev/scsi/host0/bus0/target0/lun0/part3
# reboot

you can do the same from a linux PC, but the paths vary.
Make sure you don't run fsck on a mounted file system!

STEP 2: Reformat your Harddisk:
Select that option in the menu.
Alternatively, in case you want to tweak partition sizes:
a. Connect your disk to a windows PC, clean the disk, and create a NTFS primary partition. Name it partition1.
b. Connect to a Linux PC and create a second partition, Linux Swap, equal or bigger than 157MB
c. Connect to a Linux PC and create a third partition, Linux ext3, equal or bigger than 157MB

STEP 3: Get real: For stability, if your firmware allows:
your NTFS partition gets to be as small as possible (16MB)
your ext3 partition needs to be bigger, something around 512MB will do
create a fourth ext3 partition as big as possible
search the forum for ways to mount this ext3 partition on boot, tricking the POHD into thinking it's the default one. You'll need a suitable firmware.

Jr

_________________
Playon!HD Firmware r4824
Samsung SpinPoint F1 - 1 TB - SATA-300 (HD103UJ)
100Mbit/s wired Ethernet
Panasonic Viera P42G15 via HDMI
NAD receiver via Coaxial


Thu Jan 06, 2011 9:21 pm
Profile

Joined: Sat Apr 30, 2011 12:01 pm
Posts: 1
Post Re: [HOW-TO] Troubleshoot your HDD for the POHD
Thanks for your post. Now I know how to troubleshoot my HDD.

_________________
Network support perth


Sat Apr 30, 2011 12:07 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by: phpBB | Innitial forum Design by: STSoftware | Modified by: AC Ryan.