icemanv3
24-08-13, 10:16
Hey all
So I have put a 1TB HDD in my box, have tried the "initilisation" option in the menus, the box sits there for a bit then gives me the timeout error, so I dug a little deeper to see what was going on. (Incidentally I have now tried 3 drives, a couple of very old 250gigs I had lying around, and they have all had this issue)
Running VIX 3.0.722
Box recognises the drive on start up
scsi 1:0:0:0: Direct-Access ATA WDC WD10EACS-00Z 01.0 PQ: 0 ANSI: 5
I can see VIX runs this command to format the drive
mkfs.ext4 -C 262144 -T largefile -N 262144 -m0 -O dir_index,bigalloc,sparse_super /dev/sda1
When I run this manually I get this
root@vuduo:~# mkfs.ext4 -C 262144 -T largefile -N 262144 -m0 -O dir_index,bigalloc,sparse_super /dev/sda1
mke2fs 1.42.6 (21-Sep-2012)
warning: 53 blocks unused.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Cluster size=262144 (log=8)
Stride=0 blocks, Stripe width=0 blocks
263952 inodes, 244190592 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
117 block groups
2097152 blocks per group, 32768 clusters per group
2256 inodes per group
Superblock backups stored on blocks:
2097152, 6291456, 10485760, 14680064, 18874368, 52428800, 56623104,
102760448, 169869312
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
So All good it seems, next lets try to mount it
root@vuduo:~# mount /dev/sda1 /media/hdd
mount: mounting /dev/sda1 on /media/hdd failed: Invalid argument
So quick look at dmesg output
EXT4-fs (sda1): couldn't mount RDWR because of unsupported optional features (200)
EXT4-fs (sda1): couldn't mount RDWR because of unsupported optional features (200)
UDF-fs: No partition found (1)
So my next thought is this drive has bad sectors or something
root@vuduo:~# e2fsck -cfpv /dev/sda1
sh: badblocks: not found
/dev/sda1: Updating bad block inode.
11 inodes used (0.00%, out of 263952)
0 non-contiguous files (0.0%)
0 non-contiguous directories (0.0%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 3
50496 blocks used (0.02%, out of 244190592)
0 bad blocks
1 large file
0 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
------------
2 files
So this drive seems clean
But now I'm stumped, does anyone have any ideas?
So I have put a 1TB HDD in my box, have tried the "initilisation" option in the menus, the box sits there for a bit then gives me the timeout error, so I dug a little deeper to see what was going on. (Incidentally I have now tried 3 drives, a couple of very old 250gigs I had lying around, and they have all had this issue)
Running VIX 3.0.722
Box recognises the drive on start up
scsi 1:0:0:0: Direct-Access ATA WDC WD10EACS-00Z 01.0 PQ: 0 ANSI: 5
I can see VIX runs this command to format the drive
mkfs.ext4 -C 262144 -T largefile -N 262144 -m0 -O dir_index,bigalloc,sparse_super /dev/sda1
When I run this manually I get this
root@vuduo:~# mkfs.ext4 -C 262144 -T largefile -N 262144 -m0 -O dir_index,bigalloc,sparse_super /dev/sda1
mke2fs 1.42.6 (21-Sep-2012)
warning: 53 blocks unused.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Cluster size=262144 (log=8)
Stride=0 blocks, Stripe width=0 blocks
263952 inodes, 244190592 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
117 block groups
2097152 blocks per group, 32768 clusters per group
2256 inodes per group
Superblock backups stored on blocks:
2097152, 6291456, 10485760, 14680064, 18874368, 52428800, 56623104,
102760448, 169869312
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
So All good it seems, next lets try to mount it
root@vuduo:~# mount /dev/sda1 /media/hdd
mount: mounting /dev/sda1 on /media/hdd failed: Invalid argument
So quick look at dmesg output
EXT4-fs (sda1): couldn't mount RDWR because of unsupported optional features (200)
EXT4-fs (sda1): couldn't mount RDWR because of unsupported optional features (200)
UDF-fs: No partition found (1)
So my next thought is this drive has bad sectors or something
root@vuduo:~# e2fsck -cfpv /dev/sda1
sh: badblocks: not found
/dev/sda1: Updating bad block inode.
11 inodes used (0.00%, out of 263952)
0 non-contiguous files (0.0%)
0 non-contiguous directories (0.0%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 3
50496 blocks used (0.02%, out of 244190592)
0 bad blocks
1 large file
0 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
------------
2 files
So this drive seems clean
But now I'm stumped, does anyone have any ideas?