May 24th, 2014, 0:18
May 24th, 2014, 4:23
May 28th, 2014, 20:55
root@Ubuntu:/media# dmesg | tail
[ 630.632886] ata1.00: configured for UDMA/133
[ 630.648043] ata1: EH complete
[ 630.648265] scsi 0:0:0:0: Direct-Access ATA ST31000340AS LC11 PQ: 0 ANSI: 5
[ 630.648797] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[ 630.648916] sd 0:0:0:0: [sda] Write Protect is off
[ 630.648923] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 630.648974] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 630.649529] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 630.676044] sda: sda1
[ 630.676657] sd 0:0:0:0: [sda] Attached SCSI disk
root@Ubuntu:/media# ntfsc
ntfscat ntfsck ntfsclone ntfscluster ntfscmp ntfscp
root@Ubuntu:/media# ntfsc
ntfscat ntfsck ntfsclone ntfscluster ntfscmp ntfscp
root@Ubuntu:/media# ntfsck /dev/sda
Boot sector: Bad jump.
Boot sector: Bad NTFS magic.
Boot sector: Bytes per sector is 0.
Volume size is set to zero.
First attribute must be after the header (0).
^C
root@Ubuntu:/media# ntfsck /dev/sda
Boot sector: Bad jump.
Boot sector: Bad NTFS magic.
Boot sector: Bytes per sector is 0.
Volume size is set to zero.
First attribute must be after the header (0).
^C
root@Ubuntu:/media# fdisk /dev/sda
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help): p
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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
Disk identifier: 0x454c46b5
Device Boot Start End Blocks Id System
/dev/sda1 63 1953520064 976760001 7 HPFS/NTFS/exFAT
Command (m for help): v
Remaining 5165 unallocated 512-byte sectors
Command (m for help): q
root@Ubuntu:/media# ntfsck /dev/sda
Boot sector: Bad jump.
Boot sector: Bad NTFS magic.
Boot sector: Bytes per sector is 0.
Volume size is set to zero.
First attribute must be after the header (0).
^C
root@Ubuntu:/media# fdisk /dev/sda1
Command (m for help): p
Disk /dev/sda1: 1000.2 GB, 1000202241024 bytes
255 heads, 63 sectors/track, 121600 cylinders, total 1953520002 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
Disk identifier: 0x69205244
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sda1p1 ? 218129509 1920119918 850995205 72 Unknown
/dev/sda1p2 ? 729050177 1273024900 271987362 74 Unknown
/dev/sda1p3 ? 168653938 168653938 0 65 Novell Netware 386
/dev/sda1p4 2692939776 2692991410 25817+ 0 Empty
Partition table entries are not in disk order
Command (m for help): v
Warning: partition 1 overlaps partition 2.
Remaining 251529590 unallocated 512-byte sectors
May 28th, 2014, 23:48
djhash wrote:Here is dmesg, fdisk, and ntfsck output when I connect the drive.
- Code:
root@Ubuntu:/media# ntfsck /dev/sda
Boot sector: Bad jump.
Boot sector: Bad NTFS magic.
Boot sector: Bytes per sector is 0.
Volume size is set to zero.
First attribute must be after the header (0).
djhash wrote:
- Code:
root@Ubuntu:/media# fdisk /dev/sda
Command (m for help): p
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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
Disk identifier: 0x454c46b5
Device Boot Start End Blocks Id System
/dev/sda1 63 1953520064 976760001 7 HPFS/NTFS/exFAT
djhash wrote:
- Code:
root@Ubuntu:/media# fdisk /dev/sda1
Command (m for help): p
Disk /dev/sda1: 1000.2 GB, 1000202241024 bytes
255 heads, 63 sectors/track, 121600 cylinders, total 1953520002 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
Disk identifier: 0x69205244
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sda1p1 ? 218129509 1920119918 850995205 72 Unknown
/dev/sda1p2 ? 729050177 1273024900 271987362 74 Unknown
/dev/sda1p3 ? 168653938 168653938 0 65 Novell Netware 386
/dev/sda1p4 2692939776 2692991410 25817+ 0 Empty
Partition table entries are not in disk order
let me know what information to get to you if you need more.
Thank you again.
May 29th, 2014, 20:53
"Failed to read boot sector"
and
root@Ubuntu:/media# dmesg | tail
[87796.493962] sd 0:0:0:0: [sda] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[87796.493972] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 00 00 00 3f 00 00 08 00
[87796.493993] end_request: I/O error, dev sda, sector 63
[87796.494002] quiet_error: 450 callbacks suppressed
[87796.494009] Buffer I/O error on device sda1, logical block 0
[87799.357741] sd 0:0:0:0: [sda] Unhandled error code
[87799.357752] sd 0:0:0:0: [sda] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[87799.357762] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
[87799.357783] end_request: I/O error, dev sda, sector 0
[87799.357793] Buffer I/O error on device sda, logical block 0
May 29th, 2014, 23:40
May 30th, 2014, 14:40
May 30th, 2014, 15:03
Spildit-Temp wrote:This is VERY, VERY, VERY BAD advice.
DO NOT, and i repeat DO NOT run FDisk
root@Ubuntu:/media# fdisk /dev/sda
Command (m for help): m
Command action
m print this menu
p print the partition table
v verify the partition table
q quit without saving changes
Command (m for help): p
Command (m for help): v
Command (m for help): qMay 30th, 2014, 21:38
Spildit-Temp wrote:This is VERY, VERY, VERY BAD advice.
DO NOT, and i repeat DO NOT run FDisk or any other sort of partition / file system fixing tools.
fzabkar wrote:Can you retrieve the drive's SMART report? You could use smartmontools under Linux.
djhash@Ubuntu:~$ sudo smartctl --all /dev/sda
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-55-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Vendor: /0:0:0:0
Product:
User Capacity: 600,332,565,813,390,450 bytes [600 PB]
Logical block size: 774843950 bytes
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
May 31st, 2014, 0:03
Spildit-Temp wrote:This is VERY, VERY, VERY BAD advice.
DO NOT, and i repeat DO NOT run FDisk or any other sort of partition / file system fixing tools.
I've swa many times with drives that have blown TVS that for some reason (that i don't understand) the translator sub-system and sometimes the defect g-list gets damaged as well.
* -a : auto-repair. no questions. (optional: if marked clean and -f not specified, just check if mountable)
* -p : auto-repair safe. no questions (optional: same)
* -n : only check. no repair.
* -r : interactively repair.May 31st, 2014, 0:18
djhash wrote:fzabkar wrote:Can you retrieve the drive's SMART report? You could use smartmontools under Linux.
- Code:
djhash@Ubuntu:~$ sudo smartctl --all /dev/sda
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-55-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Vendor: /0:0:0:0
Product:
User Capacity: 600,332,565,813,390,450 bytes [600 PB]
Logical block size: 774843950 bytes
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
Let me know if this shows anything.
May 31st, 2014, 12:01
fzabkar wrote:Fdisk is perfectly safe for examining the partition information.
These are the commands the OP used. None are data destructive.
- Code:
root@Ubuntu:/media# fdisk /dev/sda
Command (m for help): m
Command action
m print this menu
p print the partition table
v verify the partition table
q quit without saving changes
Command (m for help): p
Command (m for help): v
Command (m for help): q
Powered by phpBB © phpBB Group.