Cancelled formatting to ext3 in GParted while it was going, think have hosed the HDD
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Cancelled formatting to ext3 in GParted while it was going, think have hosed the HDD
Hi,
I was switching my 320gb SEAGATE HDD from NTFS to ext3 for my Linux machine (which I felt good about!).
I was doing it in Gparted, but it felt like it was taking forever and wasn't even doing the first step just kept loading and loading. The HDD worked previously on my Linux machine on NTFS so I know the drive did work. However I got impatient and said CANCEL, and it said may cause severe filesystem damage and I said ok (thinking I could just reformat it)
However now it just won't even recognise my HDD in fdisk -l or in GPARTED and my Windows machine won't even see it in the Disk Management tool.
Have I hosed it? Can I recover it?
Currently I put it in a spare comp and put a Ubuntu CD on it and trying to install Ubuntu on the HDD so it will reformat it. But it's hanging on 33%
Any way of recovering or is it gone?
When I did boot into Ubuntu from Install CD before it loaded up the real install screen it showed up on command line with these lines:
ata1.00 status DRDY
exception Emask
and some other numbers etc.
took a while then finally booted in.
Cheers
Last edited by chromei386; 12-24-2008 at 05:51 PM.
You might want to try running a commercial program called SpinRite to test the drive for errors... the drive may be beyond saving- a good friend of mine had an old Windows laptop that was just hosed with junk- so I reformatted- but the drive was too far gone to save. Give that program a run and see what happens.
I also think there might be a comparable program on the free Ultimate Boot CD
I've got two linux machines, won't work as an external on my main machine (AMD Athlon 2200+ 1.8ghz, Fedora 10, 1gb RAM).. wont even recognise in external box (tried with and without master jumper)
and an old machine which is a Pentium III with 128 MB of RAM, won't work as main and gives the DMA errors
OK I finally have a bootlog for you... I did manage to reformat in gparted and it did it without error (ext3)
create new ext3 filesystem 00:21:03 ( SUCCESS )
mkfs.ext3 -L "" /dev/sdb1
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
19537920 inodes, 78142160 blocks
3907108 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
2385 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616
This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mke2fs 1.41.3 (12-Oct-2008)
Also did a Check filesystem, everything OK
Check and repair filesystem (ext3) on /dev/sdb1 00:39:57 ( SUCCESS )
calibrate /dev/sdb1 00:00:00 ( SUCCESS )
path: /dev/sdb1
start: 63
end: 625137344
size: 625137282 (298.09 GiB)
check filesystem on /dev/sdb1 for errors and (if possible) fix them 00:39:57 ( SUCCESS )
e2fsck -f -y -v /dev/sdb1
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
11 inodes used (0.00%)
0 non-contiguous inodes (0.0%)
# of inodes with ind/dind/tind blocks: 0/0/0
1275097 blocks used (1.63%)
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
e2fsck 1.41.3 (12-Oct-2008)
grow filesystem to fill the partition 00:00:00 ( SUCCESS )
resize2fs /dev/sdb1
resize2fs 1.41.3 (12-Oct-2008)
The filesystem is already 78142160 blocks long. Nothing to do!
I've posted the relevant part of dmesg (this is a secondary hard drive, slave on a working computer - primary works fine)
ata1.00 is giving the errors
[ 7.902406] ata_piix 0000:00:1f.1: version 2.12
[ 7.902605] ata_piix 0000:00:1f.1: setting latency timer to 64
[ 7.902935] scsi0 : ata_piix
[ 7.903591] scsi1 : ata_piix
[ 7.903725] ata1: PATA max UDMA/66 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14
[ 7.903736] ata2: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
[ 7.919940] usb 3-1: configuration #1 chosen from 1 choice
[ 8.101320] ata1.00: ATA-4: WDC WD204BA, 16.13M16, max UDMA/66
[ 8.101336] ata1.00: 39876480 sectors, multi 8: LBA
[ 8.146398] ata1.01: ATA-7: ST3320620A, 3.AAC, max UDMA/100
[ 8.146414] ata1.01: 625142448 sectors, multi 8: LBA48
[ 8.181307] ata1.00: configured for UDMA/66
[ 8.254270] ata1.01: configured for UDMA/66
[ 8.254445] ata2: port disabled. ignoring.
[ 8.254905] scsi 0:0:0:0: Direct-Access ATA WDC WD204BA 16.1 PQ: 0 ANSI: 5
[ 8.255448] scsi 0:0:1:0: Direct-Access ATA ST3320620A 3.AA PQ: 0 ANSI: 5
[ 9.618404] scsi 0:0:0:0: Attached scsi generic sg0 type 0
[ 9.618563] scsi 0:0:1:0: Attached scsi generic sg1 type 0
[ 9.683854] usbcore: registered new interface driver libusual
[ 9.722311] Initializing USB Mass Storage driver...
[ 9.722975] scsi2 : SCSI emulation for USB Mass Storage devices
[ 9.723463] usbcore: registered new interface driver usb-storage
[ 9.723480] USB Mass Storage support registered.
[ 9.723524] usb-storage: device found at 2
[ 9.723532] usb-storage: waiting for device to settle before scanning
[ 9.769508] Driver 'sd' needs updating - please use bus_type methods
[ 9.769923] sd 0:0:0:0: [sda] 39876480 512-byte hardware sectors (20417 MB)
[ 9.770096] sd 0:0:0:0: [sda] Write Protect is off
[ 9.770108] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 9.770387] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 9.770798] sd 0:0:0:0: [sda] 39876480 512-byte hardware sectors (20417 MB)
[ 9.770943] sd 0:0:0:0: [sda] Write Protect is off
[ 9.770952] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 9.771223] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 9.771240] sda:<3>ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[ 9.788523] ata1.00: BMDMA stat 0x64
[ 9.788598] ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
[ 9.788603] res 51/84:00:07:00:00/00:00:00:00:00/e0 Emask 0x10 (ATA bus error)
[ 9.788710] ata1.00: status: { DRDY ERR }
[ 9.788758] ata1.00: error: { ICRC ABRT }
[ 9.788860] ata1: soft resetting link
[ 10.041276] ata1.00: configured for UDMA/66
[ 10.113362] ata1.01: configured for UDMA/66
[ 10.113414] ata1: EH complete
[ 10.121582] ata1.00: limiting speed to UDMA/44:PIO4
[ 10.121601] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[ 10.121668] ata1.00: BMDMA stat 0x64
[ 10.121729] ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
[ 10.121734] res 51/84:00:07:00:00/00:00:00:00:00/e0 Emask 0x10 (ATA bus error)
[ 10.121840] ata1.00: status: { DRDY ERR }
[ 10.121887] ata1.00: error: { ICRC ABRT }
[ 10.121990] ata1: soft resetting link
[ 10.381161] ata1.00: configured for UDMA/44
[ 10.453756] ata1.01: configured for UDMA/66
[ 10.453813] ata1: EH complete
[ 10.462229] sd 0:0:0:0: [sda] 39876480 512-byte hardware sectors (20417 MB)
[ 10.462335] sda1 sda2 <<5>sd 0:0:0:0: [sda] Write Protect is off
[ 10.462524] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 10.484982] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.485110] sd 0:0:0:0: [sda] 39876480 512-byte hardware sectors (20417 MB)
[ 10.485178] sd 0:0:0:0: [sda] Write Protect is off
[ 10.485188] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 10.485284] sda5 >
[ 10.485894] sd 0:0:0:0: [sda] Attached SCSI disk
[ 10.490589] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.490731] sd 0:0:1:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
[ 10.490862] sd 0:0:1:0: [sdb] Write Protect is off
[ 10.490873] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 10.491103] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.491511] sd 0:0:1:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
[ 10.491622] sd 0:0:1:0: [sdb] Write Protect is off
[ 10.491632] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 10.491835] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.491853] sdb:<7>usb-storage: device scan complete
[ 14.724285] scsi 2:0:0:0: Direct-Access Generic USB Flash Disk 7.76 PQ: 0 ANSI: 2
[ 14.725900] scsi 2:0:0:0: Attached scsi generic sg2 type 0
[ 40.490127] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 40.490246] ata1.01: cmd c8/00:08:00:00:00/00:00:00:00:00/f0 tag 0 dma 4096 in
[ 40.490251] res 40/00:00:07:00:00/00:00:00:00:00/e0 Emask 0x4 (timeout)
[ 40.490420] ata1.01: status: { DRDY }
[ 40.490529] ata1: soft resetting link
[ 40.751031] ata1.00: configured for UDMA/44
[ 40.831178] ata1.01: configured for UDMA/66
[ 40.831214] ata1: EH complete
[ 70.830100] ata1.01: limiting speed to UDMA/44:PIO4
[ 70.830113] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 70.830202] ata1.01: cmd c8/00:08:00:00:00/00:00:00:00:00/f0 tag 0 dma 4096 in
[ 70.830208] res 40/00:00:07:00:00/00:00:00:00:00/e0 Emask 0x4 (timeout)
[ 70.830373] ata1.01: status: { DRDY }
[ 70.830466] ata1: soft resetting link
[ 71.101006] ata1.00: configured for UDMA/44
[ 71.183361] ata1.01: configured for UDMA/44
[ 71.183384] ata1: EH complete
[ 71.183554] sd 0:0:0:0: [sda] 39876480 512-byte hardware sectors (20417 MB)
[ 101.180094] ata1.01: limiting speed to UDMA/33:PIO4
[ 101.180107] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 101.180196] ata1.01: cmd c8/00:08:00:00:00/00:00:00:00:00/f0 tag 0 dma 4096 in
[ 101.180202] res 40/00:00:07:00:00/00:00:00:00:00/e0 Emask 0x4 (timeout)
[ 101.180368] ata1.01: status: { DRDY }
[ 101.180459] ata1: soft resetting link
[ 101.451051] ata1.00: configured for UDMA/44
[ 101.535392] ata1.01: configured for UDMA/33
[ 101.535416] ata1: EH complete
[ 101.535573] sd 0:0:0:0: [sda] Write Protect is off
[ 101.535583] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 131.530095] ata1.01: limiting speed to PIO4
[ 131.530108] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 131.530197] ata1.01: cmd c8/00:08:00:00:00/00:00:00:00:00/f0 tag 0 dma 4096 in
[ 131.530202] res 40/00:00:07:00:00/00:00:00:00:00/e0 Emask 0x4 (timeout)
[ 131.530367] ata1.01: status: { DRDY }
[ 131.530458] ata1: soft resetting link
[ 131.791033] ata1.00: configured for UDMA/44
[ 131.870793] ata1.01: configured for PIO4
[ 131.870816] ata1: EH complete
How is this for crazy, I installed Windows 98 on it and it worked fine! But when I try Ubuntu it gives me all sorts of errors (like above). It only recognises 127gb because it's FAT32, but it works perfectly. So I'm really stumped.
Update: Now it's recognising as an external HD in my main Linux machine... trying to put it internally... rebooting.. now
I did try Maxblast but it wouldn't work properly on my windows machine... I looked on Seagate, is there a DOS version, or CD version? All I can see is the Windows version...
Last edited by chromei386; 12-30-2008 at 12:30 AM.
Reason: Updates
@ddd1600
Please do not resurrect necro threads. Marginally, you really did not provide anything constructive to the thread since initialization is dependent on hardware & problem when using Gparted..
Please look at; FYI: I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem or query.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.