xfs
[Top] [All Lists]

Re: problems with xfs_growfs after lvextend

To: Russell Cattelan <cattelan@xxxxxxxxxxx>
Subject: Re: problems with xfs_growfs after lvextend
From: Jimmy Dorff <jdorff@xxxxxxxxxxxx>
Date: Wed, 23 Sep 2009 19:21:21 -0400 (EDT)
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4ABA9523.60909@xxxxxxxxxxx>
References: <4ABA8D56.2040101@xxxxxxxxxxxx> <4ABA9523.60909@xxxxxxxxxxx>
On Wed, 23 Sep 2009, Russell Cattelan wrote:
The good new is you can easily restore the the values of the primary
super block from one of the other superblocks
using the xfs_db cmd.

The bad news is that if you have run repair you may have messed things up.

basically pull up xfs_db
sb 0 p
... output ..
sb 1 p
... output ...

Send us the result of that and we can figure out which values need to
be restored.

Here you go. Thanks for your help!

xfs_db> sb 0
xfs_db> p
magicnum = 0x58465342
blocksize = 4096
dblocks = 8053063680
rblocks = 0
rextents = 0
uuid = bada0c85-0739-4fdb-99fb-6bb7777eb4d0
logstart = 1073741828
rootino = 128
rbmino = 129
rsumino = 130
rextsize = 1
agblocks = 50331648
agcount = 160
rbmblocks = 0
logblocks = 32768
versionnum = 0x3084
sectsize = 512
inodesize = 256
inopblock = 16
fname = "DATA\000\000\000\000\000\000\000\000"
blocklog = 12
sectlog = 9
inodelog = 8
inopblog = 4
agblklog = 26
rextslog = 0
inprogress = 0
imax_pct = 25
icount = 103936
ifree = 269
fdblocks = 6499724269
frextents = 0
uquotino = 0
gquotino = 0
qflags = 0
flags = 0
shared_vn = 0
inoalignmt = 2
unit = 0
width = 0
dirblklog = 0
logsectlog = 0
logsectsize = 0
logsunit = 0
features2 = 0
bad_features2 = 0
xfs_db> sb 1
xfs_db> p
magicnum = 0x58465342
blocksize = 4096
dblocks = 1610612736
rblocks = 0
rextents = 0
uuid = bada0c85-0739-4fdb-99fb-6bb7777eb4d0
logstart = 1073741828
rootino = 128
rbmino = 129
rsumino = 130
rextsize = 1
agblocks = 50331648
agcount = 32
rbmblocks = 0
logblocks = 32768
versionnum = 0x3084
sectsize = 512
inodesize = 256
inopblock = 16
fname = "DATA\000\000\000\000\000\000\000\000"
blocklog = 12
sectlog = 9
inodelog = 8
inopblog = 4
agblklog = 26
rextslog = 0
inprogress = 0
imax_pct = 25
icount = 103936
ifree = 269
fdblocks = 57273829
frextents = 0
uquotino = 0
gquotino = 0
qflags = 0
flags = 0
shared_vn = 0
inoalignmt = 2
unit = 0
width = 0
dirblklog = 0
logsectlog = 0
logsectsize = 0
logsunit = 0
features2 = 0
bad_features2 = 0

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