[OpenAFS] Solution to Solaris 9 fsck problems?
Douglas E. Engert
deengert@anl.gov
Tue, 08 Feb 2005 16:34:46 -0600
We are runing Solaris 8 and 9 file servers, but are using a
patched 1.3.74 vfsck on solaris 9.
This patch was to get it to compile on a system with or without
117171-15 and to zero out the fs_si or fs_interleave. See
DELTA sol9-vfsck-interleave-becomes-si-20050113
So you may need to use the 1.3.78 or compile your own.
There are a lot of other changes in the VFSCK between 1.2.13 and 1.3.74,
so we took the easy way out and ran with the newer version.
Drop me a note if you need more info.
Terry McCoy wrote:
> I have looked at the tread from November and December about this issue.
>
> It wasn't clear if there was patch required for OpenAFS 1.2.13 or just
> to add the nologging mount option into the /etc/vfstab file.
>
> I am running kernel patch 117171-15. I have added the nologging option
> to /etc/vfstab.
>
> Here are the steps I am doing to create an AFS partition [ /vicepa = 15GB ]
>
> # /usr/sbin/newfs -m 1 /dev/rdsk/c1t0d0s5
> newfs: /dev/rdsk/c1t0d0s5 last mounted as /vicepa
> newfs: construct a new file system /dev/rdsk/c1t0d0s5: (y/n)? y
> /dev/rdsk/c1t0d0s5: 31464192 sectors in 3092 cylinders of 24 tracks, 424 sectors
> 15363.4MB in 310 cyl groups (10 c/g, 49.69MB/g, 6016 i/g)
> super-block backups (for fsck -F ufs -o b=#) at:
> 32, 102224, 204416, 306608, 408800, 510992, 613184, 715376, 817568, 919760,
> 30533216, 30635408, 30737600, 30839792, 30941984, 31044176, 31146368,
> 31248560, 31350752, 31452944,
>
>
> # /usr/sbin/fsck -F afs /dev/rdsk/c1t0d0s5
> ----Open AFS (R) openafs 1.2.13 fsck----
> ** /dev/rdsk/c1t0d0s5
> IMPOSSIBLE INTERLEAVE=0 IN SUPERBLOCK
> SET TO DEFAULT? [yn] y
>
> ** Last Mounted on
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 2 files, 9 used, 15493986 free (10 frags, 1936747 blocks, 0.0% fragmentation)
>
> ***** FILE SYSTEM WAS MODIFIED *****
>
>
> # grep vicepa /etc/vfstab
> /dev/dsk/c1t0d0s5 /dev/rdsk/c1t0d0s5 /vicepa afs 2 yes nologging
>
>
> # /sbin/mountall
> checking ufs filesystems
> ----Open AFS (R) openafs 1.2.13 fsck----
> /dev/rdsk/c1t0d0s5: is stable.
>
>
> =============
> I made a modification to the stock Solaris 9 /sbin/mountall to support AFS
> file systems
>
>
> afs) foptions="-o p"
> =============
>
>
>
> # df -k /vicepa
> Filesystem kbytes used avail capacity Mounted on
> /dev/dsk/c1t0d0s5 15493995 9 15339047 1% /vicepa
>
>
>
> I startup AFS and the salvager keeps starting and stopping with these errors.
>
>
>
> ::::::::::::::
> SalvageLog
> ::::::::::::::
> @(#) OpenAFS 1.2.13 built 2004-11-03
> 02/08/2005 12:48:29 STARTING AFS SALVAGER 2.4 (/usr/afs/bin/salvager -parallel all32)
> 02/08/2005 12:48:29 Starting salvage of file system partition /vicepa
> ::::::::::::::
> SalvageLog.0
> ::::::::::::::
> 02/08/2005 12:48:29 SALVAGING FILE SYSTEM PARTITION /vicepa (device=c1t0d0s5)
> 02/08/2005 12:48:39 Scanning inodes on device /dev/rdsk/c1t0d0s5...
> 02/08/2005 12:48:45 No vice inodes on c1t0d0s5; not salvaged
> Temporary file /vicepa/salvage.inodes.c1t0d0s5.1148 is missing...
> ::::::::::::::
> SalvageLog.old
> ::::::::::::::
> @(#) OpenAFS 1.2.13 built 2004-11-03
> 02/08/2005 12:48:12 STARTING AFS SALVAGER 2.4 (/usr/afs/bin/salvager -parallel all32)
> 02/08/2005 12:48:12 Starting salvage of file system partition /vicepa
> 02/08/2005 12:48:12 SALVAGING FILE SYSTEM PARTITION /vicepa (device=c1t0d0s5)
> 02/08/2005 12:48:23 Scanning inodes on device /dev/rdsk/c1t0d0s5...
> 02/08/2005 12:48:29 No vice inodes on c1t0d0s5; not salvaged
> Temporary file /vicepa/salvage.inodes.c1t0d0s5.1143 is missing...
>
>
>
>
> What am I missing??
>
> Thanks for any tips/hints/help you may have
>
>
> +-- -- -- -- -- -- -- -- -- -- -- -- -- +
> | |
> | Terry McCoy email: terry@nd.edu |
> | Sr Systems Engineer phone: (574) 631-4274 |
> | |
> | Office of Information Technologies |
> | G012 Information Technology Center |
> | University of Notre Dame |
> | Notre Dame, Indiana 46556 |
> | |
> | |
> | perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' |
> | |
> +-- -- -- -- -- -- -- -- -- -- -- -- -- +
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
>
>
--
Douglas E. Engert <DEEngert@anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444