[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xfs_repair: bad primary superblock - bad magic number !!!



On Tue, Sep 24, 2002 at 05:15:21PM +0800, Patrick Hsieh wrote:
> I am running woody with 2.4.19 and xfs patch for 2.4.19 from SGI ftp
> site.

I'm currently using 2.4.18 with the Debian tested & packaged patch and I
get the same error, heh. Yea, looks like you found a bug:

(root@hour)~$ xfs_repair /dev/hdb
Phase 1 - find and verify superblock...
bad primary superblock - bad magic number !!!

attempting to find secondary superblock...
.........................................................................

> Is there something wrong? Should I unmount the filesystem before
> performing xfs_repair?

xfs_repair will not let you repair with the filesystem mounted, it
'should' be giving you this warning:

(root@hour)~$ xfs_repair /dev/hdb 
xfs_repair: /dev/hdb contains a mounted filesystem

fatal error -- couldn't initialize XFS library



-- 
Regards,

Time



   13

   \
9   .  3   clockbot.net
   /

    6

Attachment: pgpRnnbtqpJ7f.pgp
Description: PGP signature


Reply to: