xfs
[Top] [All Lists]

Re: how cant I rebuild the superblock

To: linux-xfs@xxxxxxxxxxx
Subject: Re: how cant I rebuild the superblock
From: Sven Gehr <sven@xxxxxxxxxxxxx>
Date: Wed, 30 Mar 2005 17:07:42 +0200 (CEST)
Organization: dreampixel
Reply-to: sven@xxxxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
 Am Mi 30.03.2005 15:36 schrieb Steve Lord <lord@xxxxxxx>:

Hallo,


>
> You could make a sparse file the same size as the partition, do a mkfs
> on the file, then dd the first 512 bytes out to the disk.

Can you tell me how to creat a sparse file? The partition-tool from suse
show me the /dev/md0 with 135,6GB. Is this the size where I need?

cat /proc/mdstat show me:

md0 : active raid5 sdc2[2]  sdb2[1]  sda2[0]
    142287360 blocks  level 5, 128k chunk,  algorithm 2  [3/3]  [UUU]

Help this for define the size of the sparse file?

Can you help me by this steps?

 
> However, there is other data stored right after the superblock which
> is
> the head of the free space trees for the first part of the disk. The
> root inode is not too far in either. So if you lost more of the
> filesystem than the super block, things could be in a sorry state.

I think I have no other change?

with best regards
sven


<Prev in Thread] Current Thread [Next in Thread>