Received: with ECARTIS (v1.0.0; list xfs); Sat, 23 Dec 2006 20:06:28 -0800 (PST) Received: from s-utl01-dcpop.stsn.net (s-utl01-dcpop.stsn.net [72.255.0.201]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with SMTP id kBO46Lqx030511 for ; Sat, 23 Dec 2006 20:06:23 -0800 Received: from s-utl01-dcpop.stsn.net ([127.0.0.1]) by s-utl01-dcpop.stsn.net (SMSSMTP 4.1.2.20) with SMTP id M2006122322502230719 ; Sat, 23 Dec 2006 22:50:22 -0500 Received: from [10.26.7.119] ([10.26.7.119]) by s-utl01-dcpop.stsn.net; Sat, 23 Dec 2006 22:50:22 -0500 Message-ID: <458DF8F7.5030104@sandeen.net> Date: Sat, 23 Dec 2006 21:50:15 -0600 From: Eric Sandeen User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: gbakos@cfa.harvard.edu CC: linux-xfs@oss.sgi.com Subject: Re: unexpected XFS SB magic number References: <458C6719.6080106@sandeen.net> <458C6C5A.6090504@sandeen.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-archive-position: 10127 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: sandeen@sandeen.net Precedence: bulk X-list: xfs Content-Length: 1411 Lines: 38 Gaspar Bakos wrote: > Hi, Eric, > One of the users was running quite memory and disk IO intensive tasks > past week. This lead to a crash. (I was not around to keep an eye on > it). The computer rebooted, and few days later another crash, etc. > Finally, when I returned this week, I found it powered off. > > And then I realized that the sdc1 partition can not be mounted any more. Well, something put a gpt label on top of your xfs partition... and it wasn't xfs :) >> i also remember something about parted (maybe...) finding a backup gpt >> signature at the end of a disk, and "helpfully" copying it over the >> front end if so. This was a bug. sgi guys do you remember? > > But for this one has to invoke parted, and commit the operations done, > am I right? if I recall, even invoking parted could do this. > Maybe there is a nasty daemon doing something. The fs was also exported > as NFS and mounted by two other hosts. > > --------- > So the questions are: > - what partition type to choose next time? > - is there a simpler way of recovery (than xfs_recovery), i.e. the > first few bytes of the partition need to be changed back to something > XFS magic, and the rest is probably untouched? i'd google around and find out how big the gpt header is; try to find out how much of the front of your partition got clobbered. that'll give a clue as to how much you may have lost. -Eric