How to check current permissions for a volume using the "vxprint" command
book
Article ID: 100016136
calendar_today
Updated On:
Resolution
Current permissions for a volume can be checked using the vxprint command besides "ls -l/dev/vx/rdsk/diskgroup/volume" :
#vxprint -l test
Disk group:kdg
Volume: test
info: len=102400
type: usetype=fsgen
state: state=ACTIVEkernel=ENABLED cdsrecovery=0/0(clean)
assoc: plexes=test-01
policies:read=SELECT (round-robin)exceptions=GEN_DET_SPARSE
flags: closedwriteback
logging: type=REGIONloglen=0 serial=0/0(disabled)
apprecov:seqno=0/0
recovery:mode=default
recov_id=0
device: minor=16000 bdev=242/16000 cdev=242/16000path=/dev/vx/dsk/kdg/test
perms: user=rootgroup=root mode=0600
Permissions for this volume can be changed from 'root' to another user using the vxedit command:
# vxedit -g kdg set user=saila mode=0666 test
# vxprint -ltest
Disk group:kdg
Volume: test
info: len=102400
type: usetype=fsgen
state: state=ACTIVEkernel=ENABLED cdsrecovery=0/0(clean)
assoc: plexes=test-01
policies:read=SELECT (round-robin)exceptions=GEN_DET_SPARSE
flags: closedwriteback
logging: type=REGIONloglen=0 serial=0/0(disabled)
apprecov:seqno=0/0
recovery:mode=default
recov_id=0
device: minor=16000 bdev=242/16000 cdev=242/16000path=/dev/vx/dsk/kdg/test
perms: user=sailagroup=root mode=0666
Issue/Introduction
How to check current permissions for a volume using the "vxprint" command
Was this article helpful?
thumb_up
Yes
thumb_down
No