Manual Format of HDD

Ravi

Member
As posted in another thread my HDD got corrupted again.

I've run fix-disk, and it seems to be error free now. Smarttools are also happy.

BUT - It won't format via the Humax Menu - reporting the drive is too big (standard Humax HDR T2 1TB drive)

I did have this issue before, but can't remember how I fixed it. I thought maybe several reboots might do it, but so far so good.

I can telnet in, and get the CLI mode up.

Please can someone give me a run through of manually formatting the drive. I don't want to play around with format and break the Humax!


thanks!

Ravi


Running 1.02.29, CF 2.14, 1 TB HDR-FOX-T2.
 
Won't record or format at all.

So help would be very much appreciated, as I couldn't find how to format the internal drive via CLI on Wiki (maybe it's there?)!.


Code:
RAVHUMAX# fdisk -l
 
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
  Device Boot      Start        End      Blocks  Id System
/dev/sda1              1        131    1052251+ 83 Linux
Partition 1 does not end on cylinder boundary
/dev/sda2            131      120295  965217327+ 83 Linux
/dev/sda3          120295      121601    10490447+ 83 Linux
 
 
 
 
RAVHUMAX# fdisk -ul
 
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
 
  Device Boot      Start        End      Blocks  Id System
/dev/sda1              8    2104510    1052251+ 83 Linux
Partition 1 does not end on cylinder boundary
/dev/sda2        2104512  1932539166  965217327+ 83 Linux
/dev/sda3      1932539168  1953520062    10490447+ 83 Linux
 
Thanks BH.

I assume its ok to change the file systems a little from factory spec? Or would that not be a good idea, especially if it needs to be returned if the HDD proves to be faulty?
 
I just did the format par exactly as in the 2GB version, since I think that should work fine, the only changes made should work on the 1GB?

Code:
humax# mkfs.ext3 -m 0 -O sparse_super /dev/sda1
humax# mkfs.ext3 -m 0 -O sparse_super -T largefile /dev/sda2
humax# mkfs.ext3 -m 0 -O sparse_super /dev/sda3

So I now have:

Code:
RAVHUMAX# gfdisk -lu /dev/sda
GNU Fdisk 1.3.0a
Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
 
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
 
 
Disk /dev/sda: 1000 GB, 1000202273280 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953520065 sectors
Units = sectors of 1 * 512 = 512 bytes
 
  Device Boot      Start        End      Blocks  Id  System
/dev/sda1              8    2104510    1052226  83  Linux
Warning: Partition 1 does not end on cylinder boundary.                 
/dev/sda2        2104512  1932539166  965217330  83  Linux
Warning: Partition 2 does not end on cylinder boundary.                 
/dev/sda3      1932539168  1953520062    10490445  83  Linux
Warning: Partition 3 does not end on cylinder boundary.                 
RAVHUMAX#
 
 
RAVHUMAX# tune2fs -l /dev/sda2
tune2fs 1.41.14 (22-Dec-2010)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          fc62faaf-e95f-45c0-82b4-22c1cc3c3bc8
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
Filesystem flags:         signed_directory_hash 
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              942720
Block count:              241304331
Reserved block count:     0
Free blocks:              241178399
Free inodes:              942709
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      966
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         128
Inode blocks per group:   8
Filesystem created:       Sun Dec  9 13:47:31 2012
Last mount time:          Sun Dec  9 13:53:27 2012
Last write time:          Sun Dec  9 13:53:27 2012
Mount count:              1
Maximum mount count:      24
Last checked:             Sun Dec  9 13:47:31 2012
Check interval:           15552000 (6 months)
Next check after:         Fri Jun  7 14:47:31 2013
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      7f2d06db-a8d9-476a-a3cf-ccda88c018c1
Journal backup:           inode blocks
RAVHUMAX#
 
Back
Top