Skip to contentSkip to conversation

【xfs_metadump xfs_mdrestore xfsdump xfsrestore】

DISCUSSION Stor?? 3 participants 5 messages Dec 17, 2013

lore
Share & tools
lore
#1 lore raw
Quoted 3 lines · Stor??

hi:
xfsdump and xfs_metadump difference
xfs_mdrestore and xfsrestore difference

Please ask man page for details.

In short, xfsdump is used to perform an incremental dump of an XFS file system. corresponding, xfsrestore is used to restore the file system back from the dumps.

xfs_metadump/xfs_mdrestore are used to dump/restore filesystems metadatas, but they are used for debug purpose only.

Thanks,
-Jeff

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

author
#2 lore raw

thank you.
1. XFS internal error XFS_WANT_CORRUPTED_GOTO at line 1676 of file fs/xfs/xfs_alloc.c. Caller 0xffffffffa023496d
Pid: 7579, comm: smbd Tainted: G 2.6.27.19-5-default #7

 Call Trace:
 [<ffffffff8020d899>] show_trace_log_lvl+0x41/0x58
 [<ffffffff8020deff>] dump_stack+0x69/0x6f
 [<ffffffffa023308f>] xfs_free_ag_extent+0x45a/0x6bb [xfs]
 [<ffffffffa023496d>] xfs_free_extent+0xa9/0xc9 [xfs]
 [<ffffffffa023d446>] xfs_bmap_finish+0xee/0x15f [xfs]
 [<ffffffffa025d647>] xfs_itruncate_finish+0x190/0x2ba [xfs]
 [<ffffffffa027626d>] xfs_inactive+0x216/0x450 [xfs]
 [<ffffffffa0280e01>] xfs_fs_clear_inode+0xb0/0xf4 [xfs]
 [<ffffffff802bca41>] clear_inode+0x75/0xcc
 [<ffffffff802bcbb5>] generic_delete_inode+0xd6/0x14e
 [<ffffffff802b476f>] do_unlinkat+0xda/0x14d
 [<ffffffff8020befb>] system_call_fastpath+0x16/0x1b
 [<00007f6af6256b77>] 0x7f6af6256b77
 xfs_force_shutdown(dm-1,0x8) called from line 4269 of file fs/xfs/xfs_bmap.c.  Return address = 0xffffffffa023d47b

Filesystem "dm-1": Corruption of in-memory data detected. Shutting down filesystem: dm-1 Please umount the filesystem, and rectify the problem(s)
Filesystem "dm-1": xfs_log_force: error 5 returned.
Filesystem "dm-1": xfs_log_force: error 5 returned.
Filesystem "dm-1": xfs_log_force: error 5 returned.
Filesystem "dm-1": xfs_log_force: error 5 returned.
Filesystem "dm-1": xfs_log_force: error 5 returned.
Filesystem "dm-1": xfs_log_force: error 5 returned.
Filesystem "dm-1": xfs_log_force: error 5 returned.
Filesystem "dm-1": xfs_log_force: error 5 returned.

Why is this so,

In order to protect the data.Which command with the backup file system. xfs_dump or xfs_metadump.

------------------ 原始邮件 ------------------
发件人: "Jeff Liu";<[email protected]>;
发送时间: 2013年12月17日(星期二) 下午3:25
收件人: "Stor¾"<[email protected]>; "xfs"<[email protected]>;

主题: Re: 【xfs_metadump xfs_mdrestore xfsdump xfsrestore】

Quoted 3 lines · Stor??

hi:
xfsdump and xfs_metadump difference
xfs_mdrestore and xfsrestore difference

Please ask man page for details.

In short, xfsdump is used to perform an incremental dump of an XFS file system. corresponding, xfsrestore is used to restore the file system back from the dumps.

xfs_metadump/xfs_mdrestore are used to dump/restore filesystems metadatas, but they are used for debug purpose only.

Thanks,
-Jeff
.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw
Quoted 33 lines · Stor??

thank you.
1. XFS internal error XFS_WANT_CORRUPTED_GOTO at line 1676 of file fs/xfs/xfs_alloc.c. Caller 0xffffffffa023496d
Pid: 7579, comm: smbd Tainted: G 2.6.27.19-5-default #7

Call Trace:
 [<ffffffff8020d899>] show_trace_log_lvl+0x41/0x58
 [<ffffffff8020deff>] dump_stack+0x69/0x6f
 [<ffffffffa023308f>] xfs_free_ag_extent+0x45a/0x6bb [xfs]
 [<ffffffffa023496d>] xfs_free_extent+0xa9/0xc9 [xfs]
 [<ffffffffa023d446>] xfs_bmap_finish+0xee/0x15f [xfs]
 [<ffffffffa025d647>] xfs_itruncate_finish+0x190/0x2ba [xfs]
 [<ffffffffa027626d>] xfs_inactive+0x216/0x450 [xfs]
 [<ffffffffa0280e01>] xfs_fs_clear_inode+0xb0/0xf4 [xfs]
 [<ffffffff802bca41>] clear_inode+0x75/0xcc
 [<ffffffff802bcbb5>] generic_delete_inode+0xd6/0x14e
 [<ffffffff802b476f>] do_unlinkat+0xda/0x14d
 [<ffffffff8020befb>] system_call_fastpath+0x16/0x1b
 [<00007f6af6256b77>] 0x7f6af6256b77

xfs_force_shutdown(dm-1,0x8) called from line 4269 of file fs/xfs/xfs_bmap.c. Return address = 0xffffffffa023d47b Filesystem "dm-1": Corruption of in-memory data detected. Shutting down
filesystem: dm-1
Please umount the filesystem, and rectify the problem(s) Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned.

Quoted 3 lines

Why is this so,
In order to protect the data.Which command with the backup file system. xfs_dump or xfs_metadump.

xfsdump. This looks like an internal corruptions, maybe run xfs_repair -n can give more hints.

Thanks,
-Jeff

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#4 lore raw

Hey,

Quoted 5 lines · Jeff Liu
Quoted 4 lines · Stor??

thank you.
1. XFS internal error XFS_WANT_CORRUPTED_GOTO at line 1676 of file fs/xfs/xfs_alloc.c. Caller 0xffffffffa023496d

http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/xfs.git;a=blob;f=fs/xfs/xfs_alloc.c;h=1956f83489f1b8378f4459844e422547d421e0ec;hb=1f4c79cdb3fd856edde28af25576bcd8341eef78#l1676

We were trying to remove an entry in the by-size freespace btree and found that the entry to the right was not there as expected.

Quoted 29 lines
Quoted 29 lines

Pid: 7579, comm: smbd Tainted: G 2.6.27.19-5-default #7

Call Trace:
 [<ffffffff8020d899>] show_trace_log_lvl+0x41/0x58
 [<ffffffff8020deff>] dump_stack+0x69/0x6f
 [<ffffffffa023308f>] xfs_free_ag_extent+0x45a/0x6bb [xfs]
 [<ffffffffa023496d>] xfs_free_extent+0xa9/0xc9 [xfs]
 [<ffffffffa023d446>] xfs_bmap_finish+0xee/0x15f [xfs]
 [<ffffffffa025d647>] xfs_itruncate_finish+0x190/0x2ba [xfs]
 [<ffffffffa027626d>] xfs_inactive+0x216/0x450 [xfs]
 [<ffffffffa0280e01>] xfs_fs_clear_inode+0xb0/0xf4 [xfs]
 [<ffffffff802bca41>] clear_inode+0x75/0xcc
 [<ffffffff802bcbb5>] generic_delete_inode+0xd6/0x14e
 [<ffffffff802b476f>] do_unlinkat+0xda/0x14d
 [<ffffffff8020befb>] system_call_fastpath+0x16/0x1b
 [<00007f6af6256b77>] 0x7f6af6256b77

xfs_force_shutdown(dm-1,0x8) called from line 4269 of file fs/xfs/xfs_bmap.c. Return address = 0xffffffffa023d47b Filesystem "dm-1": Corruption of in-memory data detected. Shutting down
filesystem: dm-1
Please umount the filesystem, and rectify the problem(s) Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned. Filesystem "dm-1": xfs_log_force: error 5 returned.

Quoted 5 lines
Quoted 3 lines

Why is this so,
In order to protect the data.Which command with the backup file system. xfs_dump or xfs_metadump.

xfsdump. This looks like an internal corruptions, maybe run xfs_repair -n can give more hints.

In addition to the xfs_repair -n output, a metadump might also be helpful.

Regards,
Ben

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs