Ways to repair or time to replace? - Solved

Unfortunately once the system is running I cannot unmount the partition "umount: can't umount /mnt/hd2: Device or resource busy"
I've tried a few things including a forced unmount which resulted in the machine crashing and rebooting. Guess I'll just stick with what I have, unless anyone has any suggestions?
 
Last edited:
Thanks prpr. The main reason why I suggest using fewer inodes with a manual format is you complete disk maintenance checks (with Fix-Disk) much much faster than when you have formatted the disk using the Humax's on screen format option. Well..... this is what I experienced anyway. Hoping it helps you and others also.
 
Brilliant, that worked. I then unmounted and reformatted sda2 using the command in the wiki blog and my numbers now match those on the blog. Thanks for all the help guys. New drive up and running. Next job is trying to copy everything from the old drive to the new and I'm sure I've seen a guide for that on these pages somewhere too.
 
Brilliant, that worked. I then unmounted and reformatted sda2 using the command in the wiki blog and my numbers now match those on the blog. Thanks for all the help guys. New drive up and running. Next job is trying to copy everything from the old drive to the new and I'm sure I've seen a guide for that on these pages somewhere too.
Great stuff gebbly
Should you ever run Fix-Disk again, please would you advise how quick it is for you compared to before? Cheers.
 
I'm running a fixdisk again now so we can compare numbers (remembering that the old drive was 1TB and the new drive is 2TB of course).
Meanwhile I've been looking into the copying of all my recordings across. I have got the gFtp client installed and can succesfully connect to the Humax running betaFtpd and transfer files over. Is that the best approach or perhaps scp or setup an NFS on my pc or any other options?

And when I decide on a method what do I need to copy across to keep all my recordings working? Just everything in the My Video directory?
 
I used a USB caddy to place the old drive in and connected it to the hummy (front USB).
Note : If you do this, then connect it after booting up your hummy. Reason being is that any connected external drive becomes /dev/sda and internal drive /dev/sdb.
(You want internal drive to be /dev/sda).
Funnily enough you can take a peek at my thread below (which was split from this one :) ) on using Linux via the Telnet session to copy the files over using the CLI.

https://hummy.tv/forum/threads/second-hand-disk-smart-stats.8235/

I'm sure there are other methods but this worked Ok.
 
Last edited:
The output from the fixdisk is below. There are a few time captures in it. The main date entries were after the long disk self test "Sun Oct 29 03:50:24 GMT 2017" and then at the end of the actual check "Sun Oct 29 03:56:18 GMT 2017". So about 5mins 54secs. These same numbers from the first run I did were "Fri Oct 20 20:49:33 BST 2017" and "Fri Oct 20 22:01:03 BST 2017" giving about 1hr 11mins 30secs. A significant difference however I don't know how much impact was made by the old disk being faulty.
Nevertheless thats quite a difference, the new 2TB drive taking 5mins 54 secs and the old 1TB drive taking a further 1hr 5mins 6secs.


Code:
Please select option: fixdisk
Any additional options (-h for list or press return for none): -d -l -y
Are you sure you wish to run the hard disk checker (-d -l -y)? [Y/N] y
Running /bin/fix-disk
PART: [3 1 2]
FSCKOPTS: []

Checking disk sda (4096 byte sectors)

Unmounted /dev/sda1
Unmounted /dev/sda2
Unmounted /dev/sda3


Running long disk self test

No pending sector errors found

Checking partition tables...

MBR Status: MBR only
GPT Status: not present

Using superblock 0 on sda1
Using superblock 0 on sda2
Using superblock 0 on sda3


Sun Oct 29 03:50:24 GMT 2017: Checking partition /dev/sda3...
e2fsck 1.42.13 (17-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Pass 1: Memory used: 240k/0k (157k/84k), time:  7.84/ 2.11/ 4.49
Pass 1: I/O read: 163MB, write: 0MB, rate: 20.79MB/s
Pass 2: Checking directory structure
Pass 2: Memory used: 340k/0k (259k/82k), time:  0.02/ 0.00/ 0.01
Pass 2: I/O read: 0MB, write: 0MB, rate: 0.00MB/s
Pass 3: Checking directory connectivity
Peak memory: Memory used: 340k/0k (259k/82k), time:  8.47/ 2.38/ 4.56
/lost+found not found.  Create? yes

Pass 3A: Memory used: 340k/0k (263k/78k), time:  0.00/ 0.00/ 0.00
Pass 3A: I/O read: 0MB, write: 0MB, rate: 0.00MB/s
Pass 3: Memory used: 340k/0k (263k/78k), time:  0.79/ 0.07/ 0.05
Pass 3: I/O read: 1MB, write: 0MB, rate: 1.26MB/s
Pass 4: Checking reference counts
Pass 4: Memory used: 340k/0k (57k/284k), time:  1.01/ 1.00/ 0.00
Pass 4: I/O read: 0MB, write: 0MB, rate: 0.00MB/s
Pass 5: Checking group summary information
Pass 5: Memory used: 340k/0k (53k/288k), time:  1.94/ 1.88/ 0.02
Pass 5: I/O read: 0MB, write: 0MB, rate: 0.00MB/s

hmx_int_stor: ***** FILE SYSTEM WAS MODIFIED *****

          13 inodes used (0.00%, out of 655776)
           0 non-contiguous files (0.0%)
           0 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 1/1/0
      112534 blocks used (4.29%, out of 2622611)
           0 bad blocks
           1 large file

           2 regular files
           1 directory
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
           3 files
Memory used: 340k/0k (53k/288k), time: 12.30/ 5.33/ 4.66
I/O read: 165MB, write: 1MB, rate: 13.41MB/s
Sun Oct 29 03:50:37 GMT 2017

Sun Oct 29 03:50:37 GMT 2017: Checking partition /dev/sda1...
e2fsck 1.42.13 (17-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Pass 1: Memory used: 140k/0k (62k/79k), time:  0.82/ 0.24/ 0.43
Pass 1: I/O read: 17MB, write: 0MB, rate: 20.80MB/s
Pass 2: Checking directory structure
Pass 2: Memory used: 140k/0k (72k/69k), time:  0.00/ 0.00/ 0.00
Pass 2: I/O read: 1MB, write: 0MB, rate: 783.09MB/s
Pass 3: Checking directory connectivity
Peak memory: Memory used: 140k/0k (72k/69k), time:  0.96/ 0.26/ 0.44
/lost+found not found.  Create? yes

Pass 3A: Memory used: 140k/0k (73k/68k), time:  0.00/ 0.00/ 0.00
Pass 3A: I/O read: 0MB, write: 0MB, rate: 0.00MB/s
Pass 3: Memory used: 140k/0k (72k/69k), time:  0.09/ 0.01/ 0.00
Pass 3: I/O read: 1MB, write: 0MB, rate: 11.57MB/s
Pass 4: Checking reference counts
Pass 4: Memory used: 140k/0k (51k/90k), time:  0.10/ 0.09/ 0.00
Pass 4: I/O read: 0MB, write: 0MB, rate: 0.00MB/s
Pass 5: Checking group summary information
Pass 5: Memory used: 140k/0k (50k/91k), time:  0.23/ 0.22/ 0.00
Pass 5: I/O read: 0MB, write: 0MB, rate: 0.00MB/s

hmx_int_stor: ***** FILE SYSTEM WAS MODIFIED *****

          15 inodes used (0.02%, out of 65808)
           1 non-contiguous file (6.7%)
           0 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 2/1/0
       15436 blocks used (5.87%, out of 263062)
           0 bad blocks
           1 large file

           3 regular files
           2 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
           5 files
Memory used: 140k/0k (50k/91k), time:  1.41/ 0.60/ 0.45
I/O read: 17MB, write: 1MB, rate: 12.10MB/s
Sun Oct 29 03:50:39 GMT 2017

Creating swap file...
Setting up swapspace version 1, size = 1073737728 bytes
UUID=241afa3b-95f9-4cac-8b37-a50d5cd9b6fb

Sun Oct 29 03:51:01 GMT 2017: Checking partition /dev/sda2...
e2fsck 1.42.13 (17-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Pass 1: Memory used: 1772k/468k (1184k/589k), time: 148.07/19.78/11.01
Pass 1: I/O read: 472MB, write: 0MB, rate: 3.19MB/s
Pass 2: Checking directory structure
Pass 2: Memory used: 1772k/468k (1473k/300k), time:  1.82/ 0.40/ 0.12
Pass 2: I/O read: 4MB, write: 0MB, rate: 2.20MB/s
Pass 3: Checking directory connectivity
Peak memory: Memory used: 1772k/468k (1473k/300k), time: 154.41/24.29/11.22
Pass 3A: Memory used: 1772k/468k (1484k/289k), time:  0.00/ 0.00/ 0.00
Pass 3A: I/O read: 0MB, write: 0MB, rate: 0.00MB/s
Pass 3: Memory used: 1772k/468k (1469k/304k), time:  0.07/ 0.04/ 0.00
Pass 3: I/O read: 1MB, write: 0MB, rate: 15.32MB/s
Pass 4: Checking reference counts
Pass 4: Memory used: 1772k/468k (836k/937k), time:  3.93/ 3.82/ 0.09
Pass 4: I/O read: 0MB, write: 0MB, rate: 0.00MB/s
Pass 5: Checking group summary information
Pass 5: Memory used: 1772k/468k (826k/947k), time: 158.09/22.95/ 7.37
Pass 5: I/O read: 116MB, write: 0MB, rate: 0.73MB/s

        7126 inodes used (0.38%, out of 1896576)
           7 non-contiguous files (0.1%)
           7 non-contiguous directories (0.1%)
             # of inodes with ind/dind/tind blocks: 247/10/0
     1311295 blocks used (0.27%, out of 485492331)
           0 bad blocks
           1 large file

        5728 regular files
         318 directories
           2 character device files
           0 block device files
           0 fifos
           2 links
        1069 symbolic links (1069 fast symbolic links)
           0 sockets
------------
        7119 files
Memory used: 1772k/468k (826k/947k), time: 316.61/51.10/18.70
I/O read: 593MB, write: 1MB, rate: 1.88MB/s
Sun Oct 29 03:56:18 GMT 2017
Removing extra swap space.

Finished
fix-disk: session terminated with exit status 0
 
Back
Top