[OpenAFS] Solaris 10 inode server

Daniel A Beller Daniel A Beller <dan@csd.uwm.edu>
Thu, 1 Jun 2006 08:40:48 -0500 (CDT)


Greetings,

Would like to add more detail to John Boyland's post regarding our server
jeremiah.

Server is Sun v20z running solaris 10 x86 (hardware mirrored
local disks) connected to Sun 3510 fiber channel array (4x143 Gbyte disks
RAID 5 + 1 hot spare) for /vicepa partition. Are trying to use binaries
version 1.4.1 downloaded from openafs.org

Here's a summary of what's been done and is happening:

1) Modified /sbin/mountall and /usr/lib/fs/afs/fsckall appropriately
2) Created fs on RAID using mkfs -F asf and additional parameters from
solaris newfs -v 
3) Reboot machine, vfsck (1.4.1) reports partion clean. Can create files
on partition (touch, cp, ...)
4) Clear all previous attempts to create volumes and check

jeremiah# vos listvol localhost
Total number of volumes on server localhost partition /vicepa: 0 

Total volumes onLine 0 ; Total volumes offLine 0 ; Total busy 0

5) Attempt to create volume on jeremiah:

jeremiah# vos create jeremiah /vicepa test01 -maxquota 5000 -verbose

Could not change quota (error 3), continuing...
   : No such file or directory
Volume test01 536872830 created and brought online
Created the VLDB entry for the volume test01 536872830
Failed to end the transaction on the volume test01 536872830
: No such file or directory
Error in vos create command.
: No such file or directory

6) Listing of vicepa partion is:

jeremiah# ls -l /vicepa
total 18
drwx------   2 root     root        8192 May 31 15:12 lost+found
-rw-------   1 root     root          76 Jun  1 08:21 V0536872830.vol

7) VolserLog shows:

Thu Jun  1 08:21:09 2006 VAttachVolume: Error reading smallVnode vol
header /vicepa/V0536872830.vol; error=101
Thu Jun  1 08:21:09 2006 VAttachVolume: Error attaching volume
/vicepa/V0536872830.vol; volume needs salvage; error=101
Thu Jun  1 08:21:09 2006 1 Volser: CreateVolume: Unable to create the
volume; aborted, error code 101
Thu Jun  1 08:21:09 2006 : Error 101

8) FileLog shows:

Thu Jun  1 08:25:23 2006 Getting FileServer name...
Thu Jun  1 08:25:23 2006 FileServer host name is 'jeremiah'
Thu Jun  1 08:25:23 2006 Getting FileServer address...
Thu Jun  1 08:25:23 2006 FileServer jeremiah has address 129.89.143.70
(0x468f5981 or 0x81598f46 in host byte order)
Thu Jun  1 08:25:23 2006 File Server started Thu Jun  1 08:25:23 2006
Thu Jun  1 08:25:23 2006 Set thread id 15 for 'FiveMinuteCheckLWP'
Thu Jun  1 08:25:23 2006 Set thread id 16 for 'HostCheckLWP'
Thu Jun  1 08:25:23 2006 Set thread id 17 for 'FsyncCheckLWP'
Thu Jun  1 08:31:09 2006 VAttachVolume: Error reading diskDataHandle vol
header /vicepa//V0536872830.vol; error=101
Thu Jun  1 08:31:09 2006 VAttachVolume: Error attaching volume
/vicepa//V0536872830.vol; volume needs salvage; error=101


9) Attempt to salvage partition, SalvageLog reports:

bos salvage jeremiah /vicepa 536872830

@(#) OpenAFS 1.4.1 built  2006-04-12 
06/01/2006 08:29:04 STARTING AFS SALVAGER 2.4 (/usr/afs/bin/salvager
/vicepa 536872830)
06/01/2006 08:29:14 Scanning inodes on device 
/dev/rdsk/c0t600C0FF000000000098C96204C3F4A00d0s2...
06/01/2006 08:31:09 1 nVolumesInInodeFile 28 
06/01/2006 08:31:09 SALVAGING VOLUME 536872830.
06/01/2006 08:31:09 Part of the header (Volume information) is corrupted
06/01/2006 08:31:09 totalInodes 3
06/01/2006 08:31:09 "Salvage volume group" core dumped!

Thanks,

Dan Beller
Acting Manager Information Systems
College of Engineering & Applied Science
University of Wisconsin-Milwaukee
(414) 229 6312 Phone
(414) 229 6958 Fax
dan@uwm.edu