General :: Random Drives Corrupt GTP Table?

Jan 30, 2011

I have several drives in an LVM VG/LV and for some reason on reboot, a drive will get a corrupt GTP table. I have killed the entire VG and re-created it without the drive that was showing the problem, then then it just happens to another drive. It does not appear to be the same drive each time either. I've confirmed this by using smartctl to check the SN of the drive reporting a corrupted table. It's not always the same drive.

I have swapped around cables to the two controllers to see if I could pin-point which cable or port showed the problem and long story short, there was little consistency in it. This simply does not appear to be caused by any single cable, port, controller, or drive.

Code:

parted /dev/sdb print
Error: The primary GPT table is corrupt, but the backup appears OK, so that will be used.
OK/Cancel?

When I see that and select Ok, it just shows it again. I can do an mklabel and mkpart, then the LVM LV shows up under /dev as it should, without another vgscan. If I then mount that LV, I can see the data is there and it seems Ok despite the warning of mklabel saying it will destroy the data. Logs show no cause during boot. So, what is causing this? Will doing the mklabel kill the data on it? I just don't understand why Ubuntu is randomly corrupting GTP tables.

Code:

Ubuntu 10.10 x64
Mobo: ASUS A8N-SLI - On board NVIDIA nforce4-SLI controller has 4 ports connected to 3 drives in this LVM LV.
HighPoint Technologies, Inc. RocketRAID 230x 4 Port SATA-II Controller - Has 4 ports, 3 of which are used in the LVM LV. (Had 4, one is out with an RMA).

[code].....

View 17 Replies


ADVERTISEMENT

Ubuntu :: How To Repair Corrupt Partition Table

May 21, 2011

A few months ago I tried to shrink an NTFS partition using gparted and use the free space to install Haiku. However, gparted crashed in the middle of the resize, leading to a corrupt partition table. I tried to solve the problem myself, using testdisk to detect the partitions. However, the fix is not perfect, and it left me with a partition table that goes "outside" of the disk (i.e. the partition table has allocated more sectors than there actually are on the disk to the last partition).

Recently I need to reinstall Ubuntu Natty, but because the partition table is corrupt, the installer on the Ubuntu Natty Live CD (as well as gparted) see the disk as entirely unpartitioned. What is weird is that the Disk Utility (aka palimpsest), fdisk on my current Natty distro (upgraded from Maverick, which I want to replace with a fresh install), and GRUB 2 see the partitions fine (with some errors, such as listing a few trillion TBs of available space, a result of the corrupt partition table).

I am using an Asus U30Jc laptop with a single 500GB HDD. My current setup is supposed to be like this:
/dev/sda1: A hidden FAT32 recovery partition generated by Windows 7, listed as containing Windows Vista by GRUB 2
/dev/sda2: NTFS partition containing Windows 7 (labeled "OS")
/dev/sda3: Extended partition containing "DATA", Ubuntu, swap, and the erroneous trillions of TBs of space
/dev/sda5: NTFS partition containing user data (labeled "DATA")
/dev/sda6: Ext4 partition containing Ubuntu
/dev/sda7: swap partition
(*Though I'm not supposed to have it, and it isn't listed in /dev while running the Live CD, /dev/sda4 exists as a zero-length partition in the output from sfdisk; not sure why)

Currently I've tried the following:
- testdisk, using "deeper search" and writing the partition table back to disk; produced a (usable) partition table that was bad.
- [URL], fsck didn't do much at all, except raise various errors on all partitions except the one containing Natty.
- [URL], tried to substitute the numbers caljohnsmith gave to thegreat with the corresponding values from my run of fdisk -lu, but because caljohnsmith didn't explain where the values came from and what they meant (no offense to him), I was lost; after the last step (setting the end sector on the extended partition to the last cylinder boundary (which I didn't really understand; tell me if you need details on what I did)), gparted went from showing the trillions of TBs of free space as outside all partitions to showing them as inside the extended partition; this also somehow caused the partitions to overlap.(The error parted raises changed from "Error: Can't have a partition outside the disk!" to "Error: Can't have overlapping partitions.

Running fdisk from the Natty Live CD gives
Code:
ubuntu@ubuntu:~$ sudo fdisk -lu
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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: 0x74ef0aca

Device Boot Start End Blocks Id System
/dev/sda1 2048 34812854 17405403+ 1c Hidden W95 FAT32 (LBA)
/dev/sda2 * 34812855 279000854 122094000 7 HPFS/NTFS
/dev/sda3 279000855 976768064 348883605 f W95 Ext'd (LBA)
/dev/sda5 279000918 875204030 298101556+ 7 HPFS/NTFS
/dev/sda6 875204608 972859391 48827392 83 Linux
/dev/sda7 972861440 976771055 1954808 82 Linux swap / Solaris
Running sfdisk -l from the Natty Live CD gives

Code:
ubuntu@ubuntu:~$ sudo sfdisk -l /dev/sda
Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 0+ 2166 2167- 17405403+ 1c Hidden W95 FAT32 (LBA)
/dev/sda2 * 2167 17366 15200 122094000 7 HPFS/NTFS
/dev/sda3 17367 60800 43434 348883605 f W95 Ext'd (LBA)
/dev/sda4 0 - 0 0 0 Empty
/dev/sda5 17367+ 54478- 37112- 298101556+ 7 HPFS/NTFS
/dev/sda6 54478+ 60557- 6079- 48827392 83 Linux
/dev/sda7 60557+ 60801- 244- 1954808 82 Linux swap / Solaris

Running parted from the Natty Live CD gives
Code:
ubuntu@ubuntu:~$ sudo parted /dev/sda print
Error: Can't have overlapping partitions.

View 4 Replies View Related

Ubuntu :: Corrupt Master File Table?

Jul 22, 2011

On my backup drive I can no longer see any files. According to Testdisk program the master file table (MFT) is bad. How do I restore or rebuild the MFT?

View 3 Replies View Related

Ubuntu :: Difference Between Using GPT Partition Table When Formating Hard Drives And MS-DOS Partition Table?

Aug 6, 2010

Is there a difference between using GPT partition table when formating hard drives and MS-DOS partition table? What are the advantages/disadvantages of using either?

View 2 Replies View Related

Software :: Data Recovery For Corrupt Hard Drives

Mar 29, 2010

I have heard of a linux based data recovery for hard drives (corrupt) its bootable and once loaded and booted it will scan for drives and show there contents and let you pick and choose which ones you would like to back up/ save to a disk so you can wipe a drive and keep your info but I cannot remember the name of it.

View 5 Replies View Related

OpenSUSE Install :: Invalid Partition Table / Error Message Corrupt Partition?

May 20, 2010

I was installing opensuse 11.2 in parallel with windows xp.but during installation suddenly power has gone and after that opensuse is giving me the error message corrupt partition.i am also not able to login in xp. so I decide to reinstall windows, I got the error saying "invalid partition table" after the first restart of windows xp installation.

I tried to use windows system recovery console and committing fixmbr and fixboot commands, but didn't work.
i have 2 window partition(1 for windows and 1 for data).i do,nt want to format 2,nd partition.

How can I installed windows?My plan was first to install windows xp, then opensuse again.

View 2 Replies View Related

General :: What Is The Translation Table And Referance Table In Any DB

Feb 25, 2011

what is the translation table and referance table in any DB (with referance to Data conversion)

View 2 Replies View Related

Ubuntu :: Open Office - Import The Contents From Web Page Table To Presentation Table?

Oct 23, 2010

i need to prepare a presentation for that i have to copy a table from [URL] to my power point slide. but when i am copying it i am just getting a table with single column. is there a method to import the contents from web page table to my presentation table?

View 2 Replies View Related

General :: Files That Span Multiple Drives Drives?

Jan 8, 2010

So, at the moment I have a 7TB LVM with 1 group and one logical volume. In all honesty I don't back up this information. It is filled with data that I can "afford" to lose, but... would rather not. How do LVMs fail? If I lose a 1.5TB drive that is part of the LVM does that mean at most I could lose 1.5TB of data? Or can files span more than one drive? if so, would it just be one file what would span two drives? or could there be many files that span multiple drives drives? Essentially. I'm just curious, in a general, in a high level sense about LVM safety. What are the risks that are involved?

Edit: what happens if I boot up the computer with a drive missing from the lvm? Is there a first primary drive?

View 10 Replies View Related

OpenSUSE :: Kmail Akonadi And Mysql Errors - Can't Open And Lock Time Zone Table: Table

May 3, 2010

Kmail 1.13.2 Problem on startup, error is from nepomuk, data storage. "cannot find Redland backend, nepomuk is disabled until fixed. Also see the following error from the akonadi console:

100503 10:00:15 [Note] Plugin 'ndbcluster' is disabled.
100503 10:00:15 InnoDB: Started; log sequence number 0 31413862
100503 10:00:15 [Warning] Can't open and lock time zone table: Table
'mysql.time_zone_leap_second' doesn't exist trying to live without

[code]....

View 2 Replies View Related

Ubuntu Multimedia :: Copy Random Jpg From Random Folder

Jan 19, 2010

I'm looking for a script that copies a random .jpg from a random folder in my ~/Pictures folder to my ~/temp folder with a standard filename. This file will then be displayed in Conky. I can fix the last part, but I cannot find a way to do the first part.

View 3 Replies View Related

General :: Repair Corrupt Partition On LVM?

May 7, 2010

A drive in a RAID array failed and as a result one of the partitions held on the LVM has corrupted. The result of LVS is below.

Code:
[root@brassxen3 ~]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
MGT VG_XenStorage-511bee02-d169-b418-6a9e-a88b7e3ce939 -wi--- 4.00M


[Code]....

This partition belongs to a virtual machine, the partition is not visible when booting this VM using a live CD or attaching it to another VM. When booting anything with this partition attached it takes hours to boot.

View 3 Replies View Related

General :: Corrupt File System Most Spectecular Way

Feb 6, 2011

I want to cause damage to a file system and then try to restore it. I want to use a VM first and when I've learned a little try it on an old HDD. Any ways to damage a filesystem non physically is welcome!

View 2 Replies View Related

General :: Invalid Or Corrupt Kernel Image

May 5, 2011

I installed unetbootin, and picked linux mint because i heard mint is for beginners.I use HP mini, and connected USB drive.after installation is completed, restart machine, and changed boot order,this was on screen;"Invalid or corrupt kernel image"boot:press tab key for options.

View 1 Replies View Related

General :: Retrieving Data From Corrupt File System?

Oct 26, 2009

basically the situation I'm in is someone mistakenly expanded an NAS without unmounting the drive on the server. This corrupted the superblock and its apparent that all the backups are no good. The drive in question was expanded from about 800gigs to 1.8TBs, its done via an NAS.

At this point I'm most concerned about getting the files off the drive, I can deal with resetting the file system but I really need those files. This happened within a week of me joining this group so I'm kind of doing damage control here, backups were not taken of this particular drive.

View 1 Replies View Related

General :: USB Fedora File Disappearances - (corrupt - Deleted)?

Jul 6, 2010

I created a pendrive USB Fedora OS, worked fine. Installed a few bits and pieces, but when I used it again most of the files have disappeared (corrupt, deleted?). This happened before, just after I put a load of updates on. I am certain it cannot be rescued, but how can I prevent this (apart from backing up)?

View 2 Replies View Related

General :: Script To Crc32 Check If Multiple Files Are Corrupt Or Not?

Dec 2, 2010

write a script that scans a folder to see which files are corrupt and if they are move them to another folder.All files have in it's filename CRC32 hash that I want to check if it's correct.Something like this:

Code:
Filename: . . . . .filename S01.E01 [CRC32Sum].mkv
Should have CRC: . CRC32Sum
[code]...

View 2 Replies View Related

CentOS 5 Networking :: Proxy - Error "can't Initialize Iptables Table `nat': Table Does Not Exist"

Aug 19, 2011

We purchased a virtual server from GoDaddy (1 month trial) to set up as a proxy for our networks (24 of them). I am having 2 separate issues. The first is I can't configure/install NAT and support is telling me the only way I can is to purchase a dedicated server. Here's the error:

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128 iptables v1.3.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. Here's the fix: [URL] So, what I am hoping to do is configure this by just opening port 3128 directly, and only allowing access from our networks. As a test I did this and allowed only from our office and it did not work. However I can't connect, so I am wondering what I am doing wrong? Here's my squid configuration:

[Code]....

View 4 Replies View Related

General :: Find Out Exact Kernel Parameters When Corrupt Boot Loader?

Feb 8, 2010

How do i find out the exact kernel parameters (from the grub config file) when the boot loader is corrupt. Seems like a catch 22 that I need the exact boot parameters when I cant get to a prompt to read the grub.conf file to being with.

View 2 Replies View Related

General :: Corrupt Oracle Data Block Manually Using Dd Command From Sysem?

Mar 1, 2010

How can I corrupt oracle data block manually using dd command from Linux?

View 2 Replies View Related

General :: Boot Disk - Returns Kernel Panic - Not Syncing Cpu Context Corrupt

Mar 6, 2010

I am a Windows 7 user. I have two machines a laptop & a new bench top. Both machines run & boot Windows 7 very well. I use a very good program to clone my Hard Drive to an external USB drive. called Macrium Reflect. It is free and is a dream to use & very fast. This program creates a Linux based boot disk, which will allow you to find a backup clone file on an external drive to restore your hard drive. It works a treat on my laptop & has saved my bacon many times when I have messed things up fiddling with the registry etc.

The problem I am having is that my new desktop will not boot from the start up CD & returns the error kernel panic,not syncing cpu context corrupt. & then just tries to reboot again. I don't know what this problem relates to whether it is the computer hardware or the Linux CD or both. My laptop with the same OS does not have a problem, It is an Acer Aspire 5920G with 1.6ghz Intel dual core processor & 2gig Ram. The bench top has an Intel Dual core 3.3ghz processor, Zotac mother board & 4gig of Ram. both machines are running 32 bit OS.

I have browsed through the posts on this forum with people having the same error at boot, but as I am not using Linux & only using a boot CD I didn't think it appropriate to but into their threads. So I am hoping if some one can tell me is this a hardware issue or a Linux/New dual core CPU/ or Bios/Mother board issue. If it is a Linux issue then my Laptop surely would not boot would it? My bench top is only a week old and guaranteed, should I be sending it from Adelaide back to Sydney(purchased online from MWave) for fault inspection? or just take to a local Technician for a diagnosis. I am not having any hardware problem running Windows 7.

View 4 Replies View Related

General :: Df -t Nfs -h - How To Put Them In Table

May 20, 2011

When i do this command

Code:

I get something like that... but how can i put them in that table more nicely?

like:

Code:

View 7 Replies View Related

General :: How To Get BGP Table Dump

Jan 18, 2011

Recently I tried to get BGP table dumps from public route servers. I telnetted into one of those public route servers and ran "show ip bgp" command. My question is: how to save the command output to my local machine? I cannot run "show ip bgp > tmp.txt" on the remote route server.

View 1 Replies View Related

General :: Random Numbers Between -5.0 To +5.0?

May 25, 2010

How to create random numbers between -5.0 to +5.0

View 12 Replies View Related

General :: Error : Seems To Have A -t Table Option

Jul 30, 2010

I am trying to increase performance on our system. I wanted to tell iptables not to retain entries into the ip_conntrack. I try to put this int he iptables but I receive the error : seems to have a -t table option.

The entry I'm adding is: -t raw -A PREROUTING -i lo -j NOTRACK

View 1 Replies View Related

General :: Change F.s. Id In Partition Table ?

Jun 11, 2011

A couple of years ago, I got a 2TB drive and installed Debian on it.

I used the standard installation procedure, as I recall, and created three partitions, which are shown below in the output of "fdisk":

View 7 Replies View Related

General :: Create Partition Table ?

Jul 27, 2010

I have a problem with one hard disk,now it says its Unallocated,and i tried to create a new partition on it,but it says that first i need to create a partition table,but when i create one,choosing msdos label,it doesnt to nothing. I used Gparted in Fedora,how can i create a partition table,so i can use my hard disk again?

View 9 Replies View Related

General :: Disabling The Constrailnts On A Table?

Feb 1, 2011

How can I disable the PK,UK and FK constraints on all tables in oracle DB.

View 2 Replies View Related

General :: Where Is Inode Table In Ext3

Mar 16, 2010

Where is the inode table located in ext3 file system ? How can I read the entries in it ?

View 4 Replies View Related

General :: Point /dev/random To /dev/urandom

Jul 12, 2011

I have a server that cannot generate enough entropy to support /dev/random. The particular piece of software having problems can't be configured to use /dev/urandom.

I tried moving /dev/random to /dev/realrandom and symlinking /dev/random to /dev/urandom, but lsof /dev/realrandom still shows processes using it.

In Does urandom share the same entropy of random?, the suggestion is to use mknod /dev/random 1 9. Will this hold across restarts? Should I be using udev somehow?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved