HSM - SMB Server Hangs When Accessing Offline File With 'stage -n' Attribute
(Doc ID 2535177.1)
Last updated on AUGUST 03, 2022
Applies to:
Oracle Hierarchical Storage Manager (HSM) and StorageTek QFS Software - Version 5.4 and laterInformation in this document applies to any platform.
Symptoms
No access to the SMB server from windows client is possible.
A 'stage -n' offline file causes the SMB server to go into a hung state.
This SMB server is a HSM shared client.
From the SMB crash dump, sam_wait_rm() seems to be waiting for a signal from a daemon:
....
==== kernel thread: 0x2a111633b80 PID: 0 ====
cmd: sched(smb_workers)
kname: taskq_d_thread
t_wchan: 0x100426169994 sobj: condition var (from genunix:cv_wait_sig+0x268)
idle: 265824759146546 hrticks (3d1h50m24.759146546s)
sdump 0x1004260f4b00 vnode
char *v_path = 0x100361cf7148
"/samfs1/data/directory/yymm/yymmdd/filename.ZIP"
void genunix:cv_wait+0x3c((kcondvar_t *), (kmutex_t *)0x1004261699a8)
int genunix:cv_wait_sig+0x268((kcondvar_t *), (kmutex_t *)0x1004261699a8)
int samfs:sam_wait_rm+0x20c((sam_node_t *)0x100426169648, (int))
int samfs:sam_proc_offline+0x764((sam_node_t *)0x100426169648,(offset_t)0x700000, (offset_t)0x100000, (offset_t *)0, (uchar_t)0, (cred_t*)0x100415d33ef8, (int *)0)
int samfs:sam_read_proc_offline+0x2a4((sam_node_t *), (sam_node_t*)0x100426169648, (uio_t *)0x1004f0ffea68, (cred_t *)0x100415d33ef8, (int*)0x2a11163322c)
int samfs:sam_read_vn+0xa04((vnode_t *), (uio_t *), (int), (cred_t *),(caller_context_t *))
smbsrv:smb_fem_oplock_read((femarg_t *), (uio_t *)0x1004f0ffea68, (int)0,(cred_t *)0x100415d33ef8, (caller_context_t *)0x70917f98) - frame recycled
int genunix:vhead_read+0xac((vnode_t *)0x1004260f4b00, (uio_t*)0x1004f0ffea68, (int)0, (cred_t *)0x100415d33ef8, (caller_context_t*)0x70917f98)
int genunix:fop_read+0x84((vnode_t *)0x1004260f4b00, (uio_t *)0x1004f0ffea68,(int)0, (cred_t *)0x100415d33ef8, (caller_context_t *)0x70917f98)
int smbsrv:smb_vop_read+0x30((vnode_t *)0x1004260f4b00?, (uio_t*)0x1004f0ffea68, (cred_t *)0x100415d33ef8)
int smbsrv:smb_fsop_read+0x158((smb_request_t *)0x1003e0dad780, (cred_t*)0x100415d33ef8, (smb_node_t *)0x100423bb8670, (uio_t *)0x1004f0ffea68)
int smbsrv:smb_common_read+0xec((smb_request_t *)0x1003e0dad780,(smb_rw_param_t *)0x1003722b7b98)
smb_sdrc_t smbsrv:smb2_read+0x10c((smb_request_t *)0x1003e0dad780)
boolean_t smbsrv:smb2_dispatch_request_impl+0x250((smb_request_t*)0x1003e0dad780)
boolean_t smbsrv:smb2_dispatch_request+4((smb_request_t *)0x1003e0dad780)
void smbsrv:smb_conn_worker+0x54((void *)0x1003e0dad780)
void genunix:taskq_d_thread+0xac((taskq_ent_t *)0x10035828e000)
unix:thread_start+4()
sls -D "/samfs1/data/directory/yymm/yymmdd/filename.ZIP"
/samfs1/data/directory/yymm/yymmdd/filename.ZIP:
mode: -rwxr-xr-x links: 1 owner: samuser group: samgrp
length: 33211901372 admin id: 0 inode: 543612.1
project: system(0)
offline; archdone; stage -n;
copy 2: ------ Jun 19 2017 1aa.1 dk disk01 d1/f170
copy 3: ------ Jun 19 2017 1a4746.1 li VOL123
access: Jul 13 17:26 modification: Jan 10 2017
changed: Jun 19 2017 attributes: Jun 19 2017
creation: Jan 10 2017 residence: Aug 19 2017
Changes
None
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |