Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* fts dump: cant get it to work
@ 1994-12-18 23:17 Jim Doyle
  0 siblings, 0 replies; only message in thread
From: Jim Doyle @ 1994-12-18 23:17 UTC (permalink / raw)


[ Article crossposted from comp.soft-sys.dce ]
[ Author was Jim Doyle ]
[ Posted on 18 Dec 1994 23:16:14 GMT ]



I've having a problem using fts dump...
I am using DEC DCE 1.3 (OSF1 3.01) on AdvFS volumes.
Funny thing is that the ftserver can seem to get the aggregate ID
right from the FLDB.

Here's a log of what happens, mind you I've done this right after
a reboot of the server:

1.  Try doing the dump:
=======================

bash# fts dump -fileset mis.project -time 0 -verbose
Creating token keep-alive thread.
Revocation socket is: inet/198.3.137.108/24580
Creating RPC listener thread.
About to get token 404 for fileset 0,,10 from scratchy.oec.com.
Listening for net calls (calling rpc_server_listen)
Connecting to file server on scratchy.oec.com...
STKN_InitTokenState called with flags of 0x4
  ...connection done (result 0)
Token 787790916,,69, type 0x404, obtained on fileset 0,,10.
FTSERVER_CreateTrans of vol=0,,10, aggrId=4, flag=0x820066 failed
Error: fileset being dumped (dfs / xvl)
Releasing token (1) for fileset 0,,10 from scratchy.oec.com.
Releasing token on file server...done.
Error in dump: fileset being dumped (dfs / xvl)
bash# 



2. Dig deeper, check the FTLog 
================================

bash# tail FtLog
1994-Dec-18 17:48:36 Log file initialized as /opt/dcelocal/var/dfs/adm/FtLog
1994-Dec-18 17:48:36 Ftserver starting
1994-Dec-18 17:54:40 Dumping 0:/local/advfs/dept/mis/project (0,,10)
1994-Dec-18 17:54:40 Failed to get info for aggr 0, code = 572833795 (Aggregate is not attached (dfs / ftu))
1994-Dec-18 17:54:40 Failed to dump fset 0,,10, code = 572833795 (Aggregate is not attached (dfs / ftu))
1994-Dec-18 17:54:40 SFTSERVER_Dump: Exception while dumping: (rpc_x_ss_pipe_closed) exception raised
bash# tail FtLog
1994-Dec-18 17:48:36 Log file initialized as /opt/dcelocal/var/dfs/adm/FtLog
1994-Dec-18 17:48:36 Ftserver starting
1994-Dec-18 17:54:40 Dumping 0:/local/advfs/dept/mis/project (0,,10)
1994-Dec-18 17:54:40 Failed to get info for aggr 0, code = 572833795 (Aggregate is not attached (dfs / ftu))
1994-Dec-18 17:54:40 Failed to dump fset 0,,10, code = 572833795 (Aggregate is not attached (dfs / ftu))
1994-Dec-18 17:54:40 SFTSERVER_Dump: Exception while dumping: (rpc_x_ss_pipe_closed) exception raised


3. Make sure the FLDB entry for the mis.project fileset is OK.
==============================================================
doyle@scratchy:~\> fts lsft -fileset mis.project
_____________________________________________
/local/advfs/dept/mis/project 0,,10 RW Non-LFS     states 0x10011085 On-line
    scratchy.oec.com, aggregate /local/advfs/dept/mis/project (ID 4)
    Parent 0,,0       Clone 0,,0       Backup 0,,0
    llBack 0,,0       llFwd 0,,0       Version 0,,0      
       1936471 K alloc limit;      51959 K alloc usage
       1936471 K quota limit;      51959 K quota usage


mis.project  
        readWrite   ID 0,,10  valid
        readOnly    ID 0,,11  invalid
        backup      ID 0,,12  invalid
number of sites: 1
   server           flags     aggr   siteAge principal      owner               
scratchy.oec.com    RW       /local/advfs/dept/mis/project 0:00:00 hosts/scratchy <nil>               
_____________________________________________



Funny, aggregate ID = 4.. The FtLog reports that the FtServer thinkgs
its really ID=0. 

And, indeed it is attached through the exporter:
================================================

doyle@scratchy:~\> fts lsaggr -server /.:/hosts/scratchy
There are 18 aggregates on the server /.:/hosts/scratchy (scratchy.oec.com):
            /root.dfs (root_domain#root.dfs): id=1     (Non-LFS)
 /local/advfs/dept/mis/home (mis_domain#mis.home): id=3     (Non-LFS)
 /local/advfs/dept/mis/project (mis_domain#mis.project): id=4     (Non-LFS)


Lets see what the FTServer says through the RPC interface:
==========================================================

<ocal/var> fts statftserver -server /.:/hosts/scratchy                        
Total transactions: 1
--------------------------------------
trans: 1  created: Sun Dec 18 17:54:40 1994
descriptor: 0; ref count 1;  last call: Sun Dec 18 17:54:40 1994
returnCode: 572833795 (Aggregate is not attached (dfs / ftu))
fileset: 0,,10  aggregate Id: 4   aggrtype: 5/0
action: fileset being dumped (dfs / xvl); ops: Dump, GetStatus
Fileset status 0x10011085: R/W, busy, lclMount, complete, type-RW; transDeleted
--------------------------------------



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-12-18 23:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-18 23:17 fts dump: cant get it to work Jim Doyle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox