| Title: | AdvFS Support/Info/Questions Notefile |
| Notice: | note 187 is Freq Asked Questions;note 7 is support policy |
| Moderator: | DECWET::DADDAMIO |
| Created: | Wed Jun 02 1993 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 1077 |
| Total number of notes: | 4417 |
what does this defragment error mean?
defragment: Can't move file /nsr/index
defragment: Error = ESERVICE_CLASS_NOT_FOUND (-1046)
defragment: Defragmenting domain 'nsr_domain'
This explaination is still not telling me the resolution:
# man advfs_err
(-1046)
ESERVICE_CLASS_NOT_FOUND
The requested service class does not exist.
===================<<<<< additional info >>>>>================
Pass 1; Clearing
Volume 1: area at block 939632 ( 429936 blocks): 86% full
Volume 2: area at block 2796768 ( 859744 blocks): 13% full
defragment: Can't move file /nsr/index
defragment: Error = ESERVICE_CLASS_NOT_FOUND (-1046)
defragment: Can't defragment domain 'nsr_domain'
Defrag Complete at 08:52:32
===================
Id Date Created LogPgs Domain Name
32d6a701.0009abef Fri Jan 10 15:30:57 1997 512 nsr_domain
Vol 1K-Blks Free % Used Cmode Rblks Wblks Vol Name
1L 2055168 253008 88% on 128 128 /dev/re4c
2 2096640 520880 75% on 128 128 /dev/re5f
---------- ---------- ------
4151808 773888 81%
===================
nrora2#> showfsets -k nsr_domain
nsr
Id : 32d6a701.0009abef.1.8001
Files : 150, SLim= 0, HLim= 0
Blocks (1k) : 3100671, SLim= 0, HLim= 0
Quota Status : user=off group=off
nrora2#>
3100559 1043368 75% /nsr
===================
nrora2#> showfile -x /nsr/index
Id Vol PgSz Pages XtntType Segs SegSz Log Perf File
14.8001 1 16 1 simple ** ** off 100% index
extentMap: 1
pageOff pageCnt vol volBlock blockCnt
0 1 2 3515712 16
extentCnt: 1
nrora2#>
nrora2#>
===================
in meantime, requeted additional info:
# script defrag.log
# setld -i |grep AFA
# showfdmn nsr_domain
# df | grep nsr_domain
# defragment -V nsr_domain
===============
[Posted by WWW Notes gateway]
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 1042.1 | Not Sure Why ENO_SERVICE_CLASS error | DECWET::CARLSON | Wed Apr 16 1997 14:57 | 21 | |
advfs has the concept of service classes. Currently, all volumes in a
domain belong to the same service class. That is, service classes are
not implemented completely at this time.
This means that somehow a volume that you are trying to migrate a file
to during the defragment does not belong to a service class.
This possibly could happen because the volume you are trying to migrate
the file to has been removed. This should not be the case either.
Is this reproducable or has it happened once?
Is any other process doing a rmvol while you are running defragment?
Shouldn't be able to..
Does this reoccur for this file only?
Off hand I can't think of a reason for this to occur. If it is a
problem for you I suggest you file a qar, of course, so that it can be
checked out.
By the way, FYI - defragment is calling advfs_migrate, which is an api
call to the kernel bs_migrate functionality.
| |||||