I had 2 drives corrupted and now replaced with new ones sitting on RAID 0. After installing the new drives I have attached the 2 old corrupted drives via usb to retrieve data from them. These 2 drives are build RAID 0 and using LVM, the server recognizing both drives now but ind
Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5527e79b
Device Boot Start End Blocks Id System
/dev/sdd1 1 121470 975698944 8e Linux LVM
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1f0bbe1f
Device Boot Start End Blocks Id System
/dev/sdc1 1 60802 488383488 7 HPFS/NTFS
I'm trying to mount the drives but it's not working
mount /dev/sdc1 /mnt/sdc1 -t ntfs
NTFS signature is missing.
Failed to mount '/dev/sdc1': Invalid argument
The device '/dev/sdc1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sdd1 /mnt/sdd1
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg | tail -l
EXT4-fs (sdd1): bad geometry: block count 157286400 exceeds size of device (122096390 blocks)
Is there a way to mount these 2 drives without losing data and override RAID or LVM configuration?
I found this example: https://unix.stackexchange.com/questions/115698/fix-ext4-fs-bad-geometry-block-count-exceeds-size-of-device
sfdisk -d /dev/sdx >sdx.txt
cat sdx.txt
sfdisk /dev/sdx <sdx.txt
Would this help?
My output is
# partition table of /dev/sdd
unit: sectors
/dev/sdd1 : start= 2048, size=1951397888, Id=8e
/dev/sdd2 : start= 0, size= 0, Id= 0
/dev/sdd3 : start= 0, size= 0, Id= 0
/dev/sdd4 : start= 0, size= 0, Id= 0