Difference between revisions of "Very Large Hard Drive"
Line 27: | Line 27: | ||
Menu version 1.20 | Menu version 1.20 | ||
Enter system PIN: **** | Enter system PIN: **** | ||
− | + | ||
/---------------------------------------------\ | /---------------------------------------------\ | ||
| M A I N T E N A N C E M O D E M E N U | | | M A I N T E N A N C E M O D E M E N U | | ||
\---------------------------------------------/ | \---------------------------------------------/ | ||
− | + | ||
[ Humax HDR-Fox T2 (gpttest) 1.03.12/3.10 ] | [ Humax HDR-Fox T2 (gpttest) 1.03.12/3.10 ] | ||
− | + | ||
Note: Some areas of the hard disk are not mounted. | Note: Some areas of the hard disk are not mounted. | ||
Not all functions will be available. | Not all functions will be available. | ||
Line 48: | Line 48: | ||
diag - Run a diagnostic. | diag - Run a diagnostic. | ||
cli - System command line (advanced users). | cli - System command line (advanced users). | ||
− | + | ||
Please select option: gptf | Please select option: gptf | ||
− | + | ||
This process will format the internal hard disk using the GUID partitioning | This process will format the internal hard disk using the GUID partitioning | ||
scheme (GPT) which supports hard disks over 2TB in size. | scheme (GPT) which supports hard disks over 2TB in size. | ||
− | + | ||
**************************************************************** | **************************************************************** | ||
*** All data on the hard drive will be erased if you proceed *** | *** All data on the hard drive will be erased if you proceed *** | ||
**************************************************************** | **************************************************************** | ||
− | + | ||
Are you sure you wish to format and erase the disk? [Y/N] y | Are you sure you wish to format and erase the disk? [Y/N] y | ||
Are you sure you wish to do this? [Y/N] y | Are you sure you wish to do this? [Y/N] y | ||
Are you sure you wish to COMPLETELY ERASE this hard disk? [Y/N] y | Are you sure you wish to COMPLETELY ERASE this hard disk? [Y/N] y | ||
− | + | ||
********************************************************************** | ********************************************************************** | ||
* Unmounting partitions... | * Unmounting partitions... | ||
********************************************************************** | ********************************************************************** | ||
− | + | ||
********************************************************************** | ********************************************************************** | ||
* Clearing all existing partition tables... | * Clearing all existing partition tables... | ||
********************************************************************** | ********************************************************************** | ||
− | + | ||
Creating new GPT entries. | Creating new GPT entries. | ||
GPT data structures destroyed! You may now partition the disk using fdisk or | GPT data structures destroyed! You may now partition the disk using fdisk or | ||
other utilities. | other utilities. | ||
− | + | ||
********************************************************************** | ********************************************************************** | ||
* Creating GUID partition table (GPT)... | * Creating GUID partition table (GPT)... | ||
********************************************************************** | ********************************************************************** | ||
− | + | ||
Creating new GPT entries. | Creating new GPT entries. | ||
The operation has completed successfully. | The operation has completed successfully. | ||
− | + | ||
********************************************************************** | ********************************************************************** | ||
* Creating MBR partition table... | * Creating MBR partition table... | ||
********************************************************************** | ********************************************************************** | ||
− | + | ||
>>> /dev/sda2: /dev/sda3: /dev/sda4: | >>> /dev/sda2: /dev/sda3: /dev/sda4: | ||
− | + | ||
********************************************************************** | ********************************************************************** | ||
* Final MBR table... | * Final MBR table... | ||
********************************************************************** | ********************************************************************** | ||
− | + | ||
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors | Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors | ||
Units: sectors of 1 * 512 = 512 bytes | Units: sectors of 1 * 512 = 512 bytes | ||
Line 97: | Line 97: | ||
Disklabel type: dos | Disklabel type: dos | ||
Disk identifier: 0x0c82049c | Disk identifier: 0x0c82049c | ||
− | + | ||
Device Boot Start End Sectors Size Id Type | Device Boot Start End Sectors Size Id Type | ||
/dev/sda1 1 2097151 2097151 1024M ee GPT | /dev/sda1 1 2097151 2097151 1024M ee GPT | ||
/dev/sda2 2097152 4194303 2097152 1G 83 Linux | /dev/sda2 2097152 4194303 2097152 1G 83 Linux | ||
/dev/sda3 4194304 6291455 2097152 1G 83 Linux | /dev/sda3 4194304 6291455 2097152 1G 83 Linux | ||
− | + | ||
********************************************************************** | ********************************************************************** | ||
* Final GPT table... | * Final GPT table... | ||
********************************************************************** | ********************************************************************** | ||
− | + | ||
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors | Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors | ||
Units: sectors of 1 * 512 = 512 bytes | Units: sectors of 1 * 512 = 512 bytes | ||
Line 113: | Line 113: | ||
Disklabel type: gpt | Disklabel type: gpt | ||
Disk identifier: 372B3BA4-7C50-4D29-8551-4A94E7826C05 | Disk identifier: 372B3BA4-7C50-4D29-8551-4A94E7826C05 | ||
− | + | ||
Device Start End Sectors Size Type | Device Start End Sectors Size Type | ||
/dev/sda1 2048 2099199 2097152 1G Linux filesystem | /dev/sda1 2048 2099199 2097152 1G Linux filesystem | ||
/dev/sda2 2099200 955801614 953702415 454.8G Linux filesystem | /dev/sda2 2099200 955801614 953702415 454.8G Linux filesystem | ||
/dev/sda3 955803648 976773134 20969487 10G Linux filesystem | /dev/sda3 955803648 976773134 20969487 10G Linux filesystem | ||
− | + | ||
********************************************************************** | ********************************************************************** | ||
* Formatting partition 1... | * Formatting partition 1... | ||
********************************************************************** | ********************************************************************** | ||
− | + | ||
mke2fs 1.42.10 (18-May-2014) | mke2fs 1.42.10 (18-May-2014) | ||
Creating filesystem with 262144 4k blocks and 65536 inodes | Creating filesystem with 262144 4k blocks and 65536 inodes | ||
Line 128: | Line 128: | ||
Superblock backups stored on blocks: | Superblock backups stored on blocks: | ||
32768, 98304, 163840, 229376 | 32768, 98304, 163840, 229376 | ||
− | + | ||
Allocating group tables: done | Allocating group tables: done | ||
Writing inode tables: done | Writing inode tables: done | ||
Creating journal (8192 blocks): done | Creating journal (8192 blocks): done | ||
Writing superblocks and filesystem accounting information: done | Writing superblocks and filesystem accounting information: done | ||
− | + | ||
.... continues to format partitions 2 & 3 ... | .... continues to format partitions 2 & 3 ... |
Revision as of 22:32, 12 February 2016
With the release of Custom Firmware 3.10 it is now possible to fit a Humax HDR Fox T2 with a hard drive having more than 2^32 sectors. In practice this means that drives over 2TB in size can now be used.
Drives known to work
The following very large drives have been tested and are known to work:
Vendor | Model | Description | Size | Physical Sector Size | Logical Sector Size |
---|---|---|---|---|---|
Seagate | ST4000VM000 | Video 3.5 HDD SATA | 4TB | 4096 | 512 |
Pre-requisites
Using a very large drive requires Custom Firmware 3.10 or above. The stock Humax firmware cannot read these drives at all (it will see them but consider them to have a zero size).
Partitions tables
With these large drives, it is necessary to use a partitioning scheme called GUID Partition Table (GPT). When using a GPT, a legacy MBR containing a partition table is also created on the drive. This MBR generally contains a single partition of type EFI GPT (code 0xee) encompassing the entire drive, well as much of the drive as can be represented in an MBR partition - 2^32 sectors. This is known as a protective MBR since its main purposes is to prevent non-GPT-aware systems and tools from viewing the drive as empty or available. In the case of the Humax, it is necessary to create three partitions on the drive so that the Humax software sees these and considers the drive to be properly formatted.
Creating the GPT and formatting the disk
Menu version 1.20 Enter system PIN: **** /---------------------------------------------\ | M A I N T E N A N C E M O D E M E N U | \---------------------------------------------/ [ Humax HDR-Fox T2 (gpttest) 1.03.12/3.10 ] Note: Some areas of the hard disk are not mounted. Not all functions will be available. (normal if you have just run a disk check)
1 - Check and repair hard disk (fix-disk). 2 - Run short hard-disk self test. 3 - Run long hard-disk self test. 4 - Check self-test progress. gptf - Re-format disk using GPT scheme. epg - Clear persistent EPG data. dlna - Reset DLNA server database. x - Leave maintenance mode (Humax will restart). diag - Run a diagnostic. cli - System command line (advanced users). Please select option: gptf This process will format the internal hard disk using the GUID partitioning scheme (GPT) which supports hard disks over 2TB in size. **************************************************************** *** All data on the hard drive will be erased if you proceed *** **************************************************************** Are you sure you wish to format and erase the disk? [Y/N] y Are you sure you wish to do this? [Y/N] y Are you sure you wish to COMPLETELY ERASE this hard disk? [Y/N] y ********************************************************************** * Unmounting partitions... ********************************************************************** ********************************************************************** * Clearing all existing partition tables... ********************************************************************** Creating new GPT entries. GPT data structures destroyed! You may now partition the disk using fdisk or other utilities. ********************************************************************** * Creating GUID partition table (GPT)... ********************************************************************** Creating new GPT entries. The operation has completed successfully. ********************************************************************** * Creating MBR partition table... ********************************************************************** >>> /dev/sda2: /dev/sda3: /dev/sda4: ********************************************************************** * Final MBR table... ********************************************************************** Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x0c82049c Device Boot Start End Sectors Size Id Type /dev/sda1 1 2097151 2097151 1024M ee GPT /dev/sda2 2097152 4194303 2097152 1G 83 Linux /dev/sda3 4194304 6291455 2097152 1G 83 Linux ********************************************************************** * Final GPT table... ********************************************************************** Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 372B3BA4-7C50-4D29-8551-4A94E7826C05 Device Start End Sectors Size Type /dev/sda1 2048 2099199 2097152 1G Linux filesystem /dev/sda2 2099200 955801614 953702415 454.8G Linux filesystem /dev/sda3 955803648 976773134 20969487 10G Linux filesystem ********************************************************************** * Formatting partition 1... ********************************************************************** mke2fs 1.42.10 (18-May-2014) Creating filesystem with 262144 4k blocks and 65536 inodes Filesystem UUID: a442c849-f26e-4dd0-b1fe-cef4cf8416b5 Superblock backups stored on blocks: 32768, 98304, 163840, 229376 Allocating group tables: done Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done .... continues to format partitions 2 & 3 ...