My Oracle Support Banner

HSM - samfsrestore Corrupts Filesystem Resulting to "Not owner" Errors (Doc ID 2342607.1)

Last updated on DECEMBER 28, 2017

Applies to:

Oracle Hierarchical Storage Manager (HSM) and StorageTek QFS Software - Version 6.1 to 6.1 [Release 6.0]
Information in this document applies to any platform.

Symptoms

The customer is copying a directory from one file system to another by doing a samfsdump of the directory to a restore. For example:

# cd /samfs1/dir1;samfsdump -f - . | (cd /qfsz/dir2 ; samfsrestore -f - -s )

  
That produces a bunch of messages of the form

samfsrestore: ./qfs/.dbus/session-bus/8d9b86496911a586f0b976f63f5b7a00-2: ioctl(F_SAMRESTORE): Not owner
samfsrestore: ./qfs/w2.dir/l18.log: ioctl(F_SAMRESTORE): Not owner
samfsrestore: ./qfs/w2.dir/l19_history.txt: ioctl(F_SAMRESTORE): Not owner
samfsrestore: ./qfs/w2.dir/l19.log: ioctl(F_SAMRESTORE): Not owner
samfsrestore: ./qfs/w2.dir/l20_history.txt: ioctl(F_SAMRESTORE): Not owner
samfsrestore: ./qfs/w2.dir/l20.log: ioctl(F_SAMRESTORE): Not owner
samfsrestore: ./qfs/w2.dir/l22_history.txt: ioctl(F_SAMRESTORE): Not owner
samfsrestore: ./qfs/w2.dir/extra.loc: Cannot mkdir(): Not owner

  
When the restore directory is deleted, this results to more "Not owner" errors:

# rm -rf /qfs/dir2
rm: Unable to remove directory /export/qfs/tmp/apl442.1474650362//Desktop: Not owner
rm: Unable to remove directory /export/qfs/tmp/apl442.1474650362//.macromedia: Not owner
rm: Unable to remove directory /export/qfs/tmp/apl442.1474650362//.qt: Not owner
rm: Unable to remove directory /export/qfs/tmp/apl442.1474650362//emerald.wdb/w2.dir: Not owner

 

This problem has been reported in special build HSM 6.1.35d but may exist in other HSM releases.


An 'ls -d/v' output for a directory that cannot be restored shows a system attribute, immutable.
For example:

# ls -d/v /export/qfs/tmp/apl442.1474650362/Desktop
drwxr-xr-x 2 11885 users 4096 Sep 17 2016 /export/qfs/tmp/apl442.1474650362/Desktop
  {archive,nohidden,noreadonly,nosystem,noappendonly,nonodump,immutable,nonounlink,nooffline,nosparse}

 

Changes

No known change

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.