xref: /aosp_15_r20/external/e2fsprogs/tests/f_detect_xfs/expect (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard Worker*** e2fsck
2*6a54128fSAndroid Build Coastguard Workerext2fs_open2: Bad magic number in super-block
3*6a54128fSAndroid Build Coastguard Worker../e2fsck/e2fsck: Superblock invalid, trying backup blocks...
4*6a54128fSAndroid Build Coastguard Worker../e2fsck/e2fsck: Bad magic number in super-block while trying to open test.img
5*6a54128fSAndroid Build Coastguard Worker
6*6a54128fSAndroid Build Coastguard WorkerThe superblock could not be read or does not describe a valid ext2/ext3/ext4
7*6a54128fSAndroid Build Coastguard Workerfilesystem.  If the device is valid and it really contains an ext2/ext3/ext4
8*6a54128fSAndroid Build Coastguard Workerfilesystem (and not swap or ufs or something else), then the superblock
9*6a54128fSAndroid Build Coastguard Workeris corrupt, and you might try running e2fsck with an alternate superblock:
10*6a54128fSAndroid Build Coastguard Worker    e2fsck -b 8193 <device>
11*6a54128fSAndroid Build Coastguard Worker or
12*6a54128fSAndroid Build Coastguard Worker    e2fsck -b 32768 <device>
13*6a54128fSAndroid Build Coastguard Worker
14*6a54128fSAndroid Build Coastguard Workertest.img contains a xfs file system labelled 'test_filsys'
15*6a54128fSAndroid Build Coastguard Worker*** debugfs
16*6a54128fSAndroid Build Coastguard Workerdebugfs: Bad magic number in super-block while trying to open test.img
17*6a54128fSAndroid Build Coastguard Workertest.img contains a xfs file system labelled 'test_filsys'
18*6a54128fSAndroid Build Coastguard Worker*** tune2fs
19*6a54128fSAndroid Build Coastguard Worker../misc/tune2fs: Bad magic number in super-block while trying to open test.img
20*6a54128fSAndroid Build Coastguard Workertest.img contains a xfs file system labelled 'test_filsys'
21*6a54128fSAndroid Build Coastguard Worker*** mke2fs
22*6a54128fSAndroid Build Coastguard WorkerCreating filesystem with 16384 1k blocks and 4096 inodes
23*6a54128fSAndroid Build Coastguard WorkerSuperblock backups stored on blocks:
24*6a54128fSAndroid Build Coastguard Worker	8193
25*6a54128fSAndroid Build Coastguard Worker
26