After moving a number of hard drives from an Ubuntu desktop to dedicated Ubuntu server, I'm finding it hard to get Ubuntu server to recognise one of the drives. It's a 4tb WD green which was formatted using a GPT table and as ext4 less than 8 months ago, but now, it seems like it's lost.
sudo blkid
and sudo fdisk -l
both yield nothing more than a list of existing, working drives - the problematic drive is definitely not listed.
I've tried putting the drive in a SATA connected hot swap trayless drive alongside the others and it doesn't show up whatsoever, under any command.
However, running ls /dev/ | grep sd
before attaching the drive in an external USB caddy, gives me all disks, but running it after shows an extra disk /dev/sdg
, but with no partition (ie. there is no /dev/sdg1
). Trying to mount the disk reports bad superblock
, or words to that effect.
So I looked to Tesdisk to help me out, but when I run sudo testdisk
, it fails to show the USB attached disk (/dev/sdg
), it shows all the other disks available to me. I've used testdisk before and got great results, but it doesn't seem to like this scenario. Am I doing something wrong?
I've searched for days now for a solution and this is my last resort, is there anything I can do or should I reluctantly give up on the drive? I'm relatively new to all this and determined not to lose it if I can help it, any help would be greatly appreciated. Thank you!
blkid
andfdisk -l
. What do you have in /proc/partitions? – psusi Apr 21 '15 at 21:54