From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o4I4LBm7027461 for ; Mon, 17 May 2010 23:21:11 -0500 Received: from mail.sandeen.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 7CD6C13F3EBE for ; Mon, 17 May 2010 21:23:28 -0700 (PDT) Received: from mail.sandeen.net (64-131-60-146.usfamily.net [64.131.60.146]) by cuda.sgi.com with ESMTP id rnMXnfrZrUBLe0vH for ; Mon, 17 May 2010 21:23:28 -0700 (PDT) Message-ID: <4BF2163F.5070908@sandeen.net> Date: Mon, 17 May 2010 23:23:27 -0500 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: mounting hixfs (Hitachi "tuned" XFS) on 2.6 kernel References: <4BF1EC44.7070803@hardwarefreak.com> In-Reply-To: List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: big beer Cc: xfs@oss.sgi.com big beer wrote: > So I went and changed the magic number to 0x58465342 by dumping the > 1st 512 bytes off the volume, editing, and writing back, now I'm > getting "Can't verify primary superblock". Using xfs_db to look at the > other superblocks indeed still shows HXFS. Any advise how I can > find/dump/re-write one of the other superblocks? I'd like to see if I > can change another one of them if xfs_repair will run. You can select each superblock and write it. xfs_db -x /dev/blah xfs_db> sb 1 xfs_db> write magicnum 0x58465342 xfs_db> sb 2 xfs_db> write magicnum 0x58465342 ... this could be scripted with -c -c I don't know if they changed anything other than the magic though, so you get to keep all pieces if it breaks! -Eric _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs