[OpenAFS] fsck in metadevice using lvm in solaris 8
Renato Arruda
rla9216@osfmail.rit.edu
Thu, 15 Aug 2002 22:05:29 -0400
Hi,
I am installing an openafs server on a sun fire v880. I have 4 hds in joi=
ned=20
using lvm (d30 -r c1t2d0s0 c1t3d0s0 c1t4d0s0 c1t5d0s0, from /etc/lvm/md.t=
ab)=20
making a big metadevice /dev/md/rdsk/d30 with more than 100g.
I am using logging in that metadevice (from /etc/vfstab: /dev/md/dsk/d30=20
/dev/md/rdsk/d30 /vicepa afs 2 yes logging)
This is what happens when i unmount and try to fsck it. (it always does t=
hat,=20
though if i try to mount it again it mounts fine, because the fs doesn't =
have=20
a flag saying that it's state is not okay)
# fsck /dev/md/dsk/d30
----Open AFS (R) openafs 1.2.6 fsck----
** /dev/md/dsk/d30
** Last Mounted on /vicepa
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN CYL GROUP (SUPERBLK)
SALVAGE? [yn] y
BLK(S) MISSING IN BIT MAPS
SALVAGE? [yn] y
SUMMARY INFORMATION BAD
SALVAGE? [yn] y
19 files, 37 used, 105001474 free, 4 AFS files (34 frags, 13125180 blocks=
,=20
0.0% fragmentation)
/dev/md/dsk/d30 FILE SYSTEM STATE SET TO OKAY
***** FILE SYSTEM WAS MODIFIED *****
/dev/md/dsk/d30: AFS file system partition was modified; forcing full sal=
vage
#
(result from a #df -k: /dev/md/dsk/d30 105001511 65581 103885915 =
1% =20
/vicepa)
I don't have many volumes in it currently, but i wonder in case of a syst=
em=20
crash if this will became an issue. I must admit it is the first time i h=
ave=20
ran with this sort of problem (the other afs servers i have managed had 8=
0g=20
and less /vicepx partitions and were running linux (ext3), not solaris)..=
=2E
Could it be that the openafs fsck program doesn't understand/can't handle=
=20
these lvm metadevices? the few files/volumes that are there are completel=
y=20
unchanged by fsck.
Any insight would be _greatly_ appreciated.
Thanks,
Renato
--=20
Renato Arruda <rla9216@rit.edu> http://www.rarruda.org/