On 07/25/2012 03:16 PM, Rahman Duran wrote:
Here is the last packet nfs server send to vdsm before web admin
gives
error:
It looks like the file is owned by nobody:nobody, but it should be owned
by vdsm:kvm (36:36). If the file is owned by 36:36 in your NFS server,
then make sure that the vdsm user and kvm groups have be created there
(in the NFS server) or the NFSv4 id to name mapping will not work correctly.
No. Time Source Destination Protocol
Length Info
697 15.052766 79.xxx.xxx.xxx 79.xxx.xxx.xx NFS
1426 V4 Reply (Call In 693) READDIR
Network File System
[Program Version: 4]
[V4 Procedure: COMPOUND (1)]
Status: NFS4_OK (0)
Tag: <EMPTY>
length: 0
contents: <EMPTY>
Operations (count: 2)
Opcode: PUTFH (22)
Status: NFS4_OK (0)
Opcode: READDIR (26)
Status: NFS4_OK (0)
verifier: 0x0000000000000000
Directory Listing
Value Follows: Yes
cookie: 285529016
Filename: ubuntu-12.04-desktop-i386.iso
length: 29
contents: ubuntu-12.04-desktop-i386.iso
fill bytes: opaque data
obj_attributes
attrmask
mand_attr: FATTR4_TYPE (1)
nfs_ftype4: NF4REG (1)
mand_attr: FATTR4_CHANGE (3)
changeid: 5769079491087804610
mand_attr: FATTR4_SIZE (4)
size: 735358976
mand_attr: FATTR4_FSID (8)
fattr4_fsid
fsid4.major: 16025262165310215059
fsid4.minor: 0
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4_OK (0)
recc_attr: FATTR4_FILEHANDLE (19)
fattr4_filehandle
length: 36
[hash (CRC-32): 0xd2d504eb]
decode type as: unknown
filehandle:
9393d2ab082b65de0a002f00000000005f1b03000a000400...
recc_attr: FATTR4_FILEID (20)
fileid: 47
recc_attr: FATTR4_MODE (33)
fattr4_mode: 0744
000. .... .... .... = Unknown
.... 0... .... .... = not SUID
.... .0.. .... .... = not SGID
.... ..0. .... .... = not save swapped text
.... ...1 .... .... = Read permission for
owner
.... .... 1... .... = Write permission for
owner
.... .... .1.. .... = Execute permission
for owner
.... .... ..1. .... = Read permission for
group
.... .... ...0 .... = no Write permission
for group
.... .... .... 0... = no Execute permission
for group
.... .... .... .1.. = Read permission for
others
.... .... .... ..0. = no Write permission
for others
.... .... .... ...0 = no Execute permission
for others
recc_attr: FATTR4_NUMLINKS (35)
numlinks: 1
recc_attr: FATTR4_OWNER (36)
fattr4_owner: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_OWNER_GROUP (37)
fattr4_owner_group: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_RAWDEV (41)
specdata1: 4294967295
specdata2: 4294967295
recc_attr: FATTR4_SPACE_USED (45)
space_used: 730876416
recc_attr: FATTR4_TIME_ACCESS (47)
seconds: 1336742726
nseconds: 674926456
recc_attr: FATTR4_TIME_METADATA (52)
seconds: 1343218491
nseconds: 860334274
recc_attr: FATTR4_TIME_MODIFY (53)
seconds: 1336041210
nseconds: 641827319
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x000000000000002f
attr_vals: <DATA>
length: 180
contents: <DATA>
Value Follows: Yes
cookie: 337610361
Filename: FreeBSD-9.0-RELEASE-amd64-dvd1.iso
length: 34
contents: FreeBSD-9.0-RELEASE-amd64-dvd1.iso
fill bytes: opaque data
obj_attributes
attrmask
mand_attr: FATTR4_TYPE (1)
nfs_ftype4: NF4REG (1)
mand_attr: FATTR4_CHANGE (3)
changeid: 5769079491087837737
mand_attr: FATTR4_SIZE (4)
size: 2388531200
mand_attr: FATTR4_FSID (8)
fattr4_fsid
fsid4.major: 16025262165310215059
fsid4.minor: 0
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4_OK (0)
recc_attr: FATTR4_FILEHANDLE (19)
fattr4_filehandle
length: 36
[hash (CRC-32): 0x429ee25b]
decode type as: unknown
filehandle:
9393d2ab082b65de0a000b0000000000190100000a000400...
recc_attr: FATTR4_FILEID (20)
fileid: 11
recc_attr: FATTR4_MODE (33)
fattr4_mode: 0700
000. .... .... .... = Unknown
.... 0... .... .... = not SUID
.... .0.. .... .... = not SGID
.... ..0. .... .... = not save swapped text
.... ...1 .... .... = Read permission for
owner
.... .... 1... .... = Write permission for
owner
.... .... .1.. .... = Execute permission
for owner
.... .... ..0. .... = no Read permission
for group
.... .... ...0 .... = no Write permission
for group
.... .... .... 0... = no Execute permission
for group
.... .... .... .0.. = no Read permission
for others
.... .... .... ..0. = no Write permission
for others
.... .... .... ...0 = no Execute permission
for others
recc_attr: FATTR4_NUMLINKS (35)
numlinks: 1
recc_attr: FATTR4_OWNER (36)
fattr4_owner: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_OWNER_GROUP (37)
fattr4_owner_group: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_RAWDEV (41)
specdata1: 4294967295
specdata2: 4294967295
recc_attr: FATTR4_SPACE_USED (45)
space_used: 2221929984
recc_attr: FATTR4_TIME_ACCESS (47)
seconds: 1334670251
nseconds: 870167241
recc_attr: FATTR4_TIME_METADATA (52)
seconds: 1343218491
nseconds: 860367401
recc_attr: FATTR4_TIME_MODIFY (53)
seconds: 1334670316
nseconds: 790636221
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x000000000000000b
attr_vals: <DATA>
length: 180
contents: <DATA>
Value Follows: Yes
cookie: 341215282
Filename:
SW_CD_Windows_Svr_Ent_2003_R2_32-BIT_X64_English_ISO_x64_1_MLF_X13-73731.ISO
length: 76
contents:
SW_CD_Windows_Svr_Ent_2003_R2_32-BIT_X64_English_ISO_x64_1_MLF_X13-73731.ISO
obj_attributes
attrmask
mand_attr: FATTR4_TYPE (1)
nfs_ftype4: NF4REG (1)
mand_attr: FATTR4_CHANGE (3)
changeid: 5769079491087869581
mand_attr: FATTR4_SIZE (4)
size: 654055424
mand_attr: FATTR4_FSID (8)
fattr4_fsid
fsid4.major: 16025262165310215059
fsid4.minor: 0
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4_OK (0)
recc_attr: FATTR4_FILEHANDLE (19)
fattr4_filehandle
length: 36
[hash (CRC-32): 0x5bc7a9f8]
decode type as: unknown
filehandle:
9393d2ab082b65de0a00140000000000203900000a000400...
recc_attr: FATTR4_FILEID (20)
fileid: 20
recc_attr: FATTR4_MODE (33)
fattr4_mode: 0744
000. .... .... .... = Unknown
.... 0... .... .... = not SUID
.... .0.. .... .... = not SGID
.... ..0. .... .... = not save swapped text
.... ...1 .... .... = Read permission for
owner
.... .... 1... .... = Write permission for
owner
.... .... .1.. .... = Execute permission
for owner
.... .... ..1. .... = Read permission for
group
.... .... ...0 .... = no Write permission
for group
.... .... .... 0... = no Execute permission
for group
.... .... .... .1.. = Read permission for
others
.... .... .... ..0. = no Write permission
for others
.... .... .... ...0 = no Execute permission
for others
recc_attr: FATTR4_NUMLINKS (35)
numlinks: 1
recc_attr: FATTR4_OWNER (36)
fattr4_owner: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_OWNER_GROUP (37)
fattr4_owner_group: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_RAWDEV (41)
specdata1: 4294967295
specdata2: 4294967295
recc_attr: FATTR4_SPACE_USED (45)
space_used: 626695680
recc_attr: FATTR4_TIME_ACCESS (47)
seconds: 1334741833
nseconds: 284984057
recc_attr: FATTR4_TIME_METADATA (52)
seconds: 1343218491
nseconds: 860399245
recc_attr: FATTR4_TIME_MODIFY (53)
seconds: 1334741904
nseconds: 790202367
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x0000000000000014
attr_vals: <DATA>
length: 180
contents: <DATA>
Value Follows: Yes
cookie: 347688977
Filename: debian-6.0.4-amd64-CD-1.iso
length: 27
contents: debian-6.0.4-amd64-CD-1.iso
fill bytes: opaque data
obj_attributes
attrmask
mand_attr: FATTR4_TYPE (1)
nfs_ftype4: NF4REG (1)
mand_attr: FATTR4_CHANGE (3)
changeid: 5769079491087897522
mand_attr: FATTR4_SIZE (4)
size: 676331520
mand_attr: FATTR4_FSID (8)
fattr4_fsid
fsid4.major: 16025262165310215059
fsid4.minor: 0
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4_OK (0)
recc_attr: FATTR4_FILEHANDLE (19)
fattr4_filehandle
length: 36
[hash (CRC-32): 0x947528be]
decode type as: unknown
filehandle:
9393d2ab082b65de0a00270000000000015102000a000400...
recc_attr: FATTR4_FILEID (20)
fileid: 39
recc_attr: FATTR4_MODE (33)
fattr4_mode: 0700
000. .... .... .... = Unknown
.... 0... .... .... = not SUID
.... .0.. .... .... = not SGID
.... ..0. .... .... = not save swapped text
.... ...1 .... .... = Read permission for
owner
.... .... 1... .... = Write permission for
owner
.... .... .1.. .... = Execute permission
for owner
.... .... ..0. .... = no Read permission
for group
.... .... ...0 .... = no Write permission
for group
.... .... .... 0... = no Execute permission
for group
.... .... .... .0.. = no Read permission
for others
.... .... .... ..0. = no Write permission
for others
.... .... .... ...0 = no Execute permission
for others
recc_attr: FATTR4_NUMLINKS (35)
numlinks: 1
recc_attr: FATTR4_OWNER (36)
fattr4_owner: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_OWNER_GROUP (37)
fattr4_owner_group: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_RAWDEV (41)
specdata1: 4294967295
specdata2: 4294967295
recc_attr: FATTR4_SPACE_USED (45)
space_used: 646418944
recc_attr: FATTR4_TIME_ACCESS (47)
seconds: 1335782112
nseconds: 584573457
recc_attr: FATTR4_TIME_METADATA (52)
seconds: 1343218491
nseconds: 860427186
recc_attr: FATTR4_TIME_MODIFY (53)
seconds: 1335782120
nseconds: 576818444
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x0000000000000027
attr_vals: <DATA>
length: 180
contents: <DATA>
Value Follows: Yes
cookie: 354508783
Filename:
SW_DVD5_Windows_Svr_DC_EE_SE_Web_2008_R2_64Bit_English_w_SP1_MLF_X17-22580.ISO
length: 78
contents:
SW_DVD5_Windows_Svr_DC_EE_SE_Web_2008_R2_64Bit_English_w_SP1_MLF_X17-22580.ISO
fill bytes: opaque data
obj_attributes
attrmask
mand_attr: FATTR4_TYPE (1)
nfs_ftype4: NF4REG (1)
mand_attr: FATTR4_CHANGE (3)
changeid: 5769079491087928748
mand_attr: FATTR4_SIZE (4)
size: 3091510160
mand_attr: FATTR4_FSID (8)
fattr4_fsid
fsid4.major: 16025262165310215059
fsid4.minor: 0
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4_OK (0)
recc_attr: FATTR4_FILEHANDLE (19)
fattr4_filehandle
length: 36
[hash (CRC-32): 0x54208440]
decode type as: unknown
filehandle:
9393d2ab082b65de0a001700000000005b3900000a000400...
recc_attr: FATTR4_FILEID (20)
fileid: 23
recc_attr: FATTR4_MODE (33)
fattr4_mode: 0744
000. .... .... .... = Unknown
.... 0... .... .... = not SUID
.... .0.. .... .... = not SGID
.... ..0. .... .... = not save swapped text
.... ...1 .... .... = Read permission for
owner
.... .... 1... .... = Write permission for
owner
.... .... .1.. .... = Execute permission
for owner
.... .... ..1. .... = Read permission for
group
.... .... ...0 .... = no Write permission
for group
.... .... .... 0... = no Execute permission
for group
.... .... .... .1.. = Read permission for
others
.... .... .... ..0. = no Write permission
for others
.... .... .... ...0 = no Execute permission
for others
recc_attr: FATTR4_NUMLINKS (35)
numlinks: 1
recc_attr: FATTR4_OWNER (36)
fattr4_owner: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_OWNER_GROUP (37)
fattr4_owner_group: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_RAWDEV (41)
specdata1: 4294967295
specdata2: 4294967295
recc_attr: FATTR4_SPACE_USED (45)
space_used: 3007469056
recc_attr: FATTR4_TIME_ACCESS (47)
seconds: 1334742129
nseconds: 949988037
recc_attr: FATTR4_TIME_METADATA (52)
seconds: 1343218491
nseconds: 860458412
recc_attr: FATTR4_TIME_MODIFY (53)
seconds: 1334742401
nseconds: 979395933
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x0000000000000017
attr_vals: <DATA>
length: 180
contents: <DATA>
Value Follows: Yes
cookie: 375335514
Filename: CentOS-6.2-x86_64-LiveCD.iso
length: 28
contents: CentOS-6.2-x86_64-LiveCD.iso
obj_attributes
attrmask
mand_attr: FATTR4_TYPE (1)
nfs_ftype4: NF4REG (1)
mand_attr: FATTR4_CHANGE (3)
changeid: 5769079491087955781
mand_attr: FATTR4_SIZE (4)
size: 731906048
mand_attr: FATTR4_FSID (8)
fattr4_fsid
fsid4.major: 16025262165310215059
fsid4.minor: 0
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4_OK (0)
recc_attr: FATTR4_FILEHANDLE (19)
fattr4_filehandle
length: 36
[hash (CRC-32): 0x482d2fe2]
decode type as: unknown
filehandle:
9393d2ab082b65de0a002c0000000000981a03000a000400...
recc_attr: FATTR4_FILEID (20)
fileid: 44
recc_attr: FATTR4_MODE (33)
fattr4_mode: 0744
000. .... .... .... = Unknown
.... 0... .... .... = not SUID
.... .0.. .... .... = not SGID
.... ..0. .... .... = not save swapped text
.... ...1 .... .... = Read permission for
owner
.... .... 1... .... = Write permission for
owner
.... .... .1.. .... = Execute permission
for owner
.... .... ..1. .... = Read permission for
group
.... .... ...0 .... = no Write permission
for group
.... .... .... 0... = no Execute permission
for group
.... .... .... .1.. = Read permission for
others
.... .... .... ..0. = no Write permission
for others
.... .... .... ...0 = no Execute permission
for others
recc_attr: FATTR4_NUMLINKS (35)
numlinks: 1
recc_attr: FATTR4_OWNER (36)
fattr4_owner: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_OWNER_GROUP (37)
fattr4_owner_group: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_RAWDEV (41)
specdata1: 4294967295
specdata2: 4294967295
recc_attr: FATTR4_SPACE_USED (45)
space_used: 727660544
recc_attr: FATTR4_TIME_ACCESS (47)
seconds: 1336040135
nseconds: 175333674
recc_attr: FATTR4_TIME_METADATA (52)
seconds: 1343218491
nseconds: 860485445
recc_attr: FATTR4_TIME_MODIFY (53)
seconds: 1336040214
nseconds: 183701159
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x000000000000002c
attr_vals: <DATA>
length: 180
contents: <DATA>
Value Follows: Yes
cookie: 386544340
Filename:
SW_CD_Windows_Svr_Ent_2003_R2_32-BIT_X64_English_ISO_x64_2_MLF_X13-73735.ISO
length: 76
contents:
SW_CD_Windows_Svr_Ent_2003_R2_32-BIT_X64_English_ISO_x64_2_MLF_X13-73735.ISO
obj_attributes
attrmask
mand_attr: FATTR4_TYPE (1)
nfs_ftype4: NF4REG (1)
mand_attr: FATTR4_CHANGE (3)
changeid: 5769079491087988096
mand_attr: FATTR4_SIZE (4)
size: 175149056
mand_attr: FATTR4_FSID (8)
fattr4_fsid
fsid4.major: 16025262165310215059
fsid4.minor: 0
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4_OK (0)
recc_attr: FATTR4_FILEHANDLE (19)
fattr4_filehandle
length: 36
[hash (CRC-32): 0xc0457f4e]
decode type as: unknown
filehandle:
9393d2ab082b65de0a001500000000002f3900000a000400...
recc_attr: FATTR4_FILEID (20)
fileid: 21
recc_attr: FATTR4_MODE (33)
fattr4_mode: 0744
000. .... .... .... = Unknown
.... 0... .... .... = not SUID
.... .0.. .... .... = not SGID
.... ..0. .... .... = not save swapped text
.... ...1 .... .... = Read permission for
owner
.... .... 1... .... = Write permission for
owner
.... .... .1.. .... = Execute permission
for owner
.... .... ..1. .... = Read permission for
group
.... .... ...0 .... = no Write permission
for group
.... .... .... 0... = no Execute permission
for group
.... .... .... .1.. = Read permission for
others
.... .... .... ..0. = no Write permission
for others
.... .... .... ...0 = no Execute permission
for others
recc_attr: FATTR4_NUMLINKS (35)
numlinks: 1
recc_attr: FATTR4_OWNER (36)
fattr4_owner: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_OWNER_GROUP (37)
fattr4_owner_group: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_RAWDEV (41)
specdata1: 4294967295
specdata2: 4294967295
recc_attr: FATTR4_SPACE_USED (45)
space_used: 143593472
recc_attr: FATTR4_TIME_ACCESS (47)
seconds: 1334741905
nseconds: 704901085
recc_attr: FATTR4_TIME_METADATA (52)
seconds: 1343218491
nseconds: 860517760
recc_attr: FATTR4_TIME_MODIFY (53)
seconds: 1334741922
nseconds: 915351106
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x0000000000000015
attr_vals: <DATA>
length: 180
contents: <DATA>
Value Follows: Yes
cookie: 386544651
Filename: untangle_921_x64.iso
length: 20
contents: untangle_921_x64.iso
obj_attributes
attrmask
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4ERR_ACCES (13)
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x0000000000000250
attr_vals: <DATA>
length: 12
contents: <DATA>
Value Follows: Yes
cookie: 403566177
Filename: instek.iso
length: 10
contents: instek.iso
fill bytes: opaque data
obj_attributes
attrmask
mand_attr: FATTR4_TYPE (1)
nfs_ftype4: NF4REG (1)
mand_attr: FATTR4_CHANGE (3)
changeid: 5769079491088055596
mand_attr: FATTR4_SIZE (4)
size: 519307264
mand_attr: FATTR4_FSID (8)
fattr4_fsid
fsid4.major: 16025262165310215059
fsid4.minor: 0
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4_OK (0)
recc_attr: FATTR4_FILEHANDLE (19)
fattr4_filehandle
length: 36
[hash (CRC-32): 0x80b0df87]
decode type as: unknown
filehandle:
9393d2ab082b65de0a002b00000000009e1403000a000400...
recc_attr: FATTR4_FILEID (20)
fileid: 43
recc_attr: FATTR4_MODE (33)
fattr4_mode: 0744
000. .... .... .... = Unknown
.... 0... .... .... = not SUID
.... .0.. .... .... = not SGID
.... ..0. .... .... = not save swapped text
.... ...1 .... .... = Read permission for
owner
.... .... 1... .... = Write permission for
owner
.... .... .1.. .... = Execute permission
for owner
.... .... ..1. .... = Read permission for
group
.... .... ...0 .... = no Write permission
for group
.... .... .... 0... = no Execute permission
for group
.... .... .... .1.. = Read permission for
others
.... .... .... ..0. = no Write permission
for others
.... .... .... ...0 = no Execute permission
for others
recc_attr: FATTR4_NUMLINKS (35)
numlinks: 1
recc_attr: FATTR4_OWNER (36)
fattr4_owner: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_OWNER_GROUP (37)
fattr4_owner_group: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_RAWDEV (41)
specdata1: 4294967295
specdata2: 4294967295
recc_attr: FATTR4_SPACE_USED (45)
space_used: 116150784
recc_attr: FATTR4_TIME_ACCESS (47)
seconds: 1336032488
nseconds: 487766316
recc_attr: FATTR4_TIME_METADATA (52)
seconds: 1343218491
nseconds: 860585260
recc_attr: FATTR4_TIME_MODIFY (53)
seconds: 1336032538
nseconds: 986911861
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x000000000000002b
attr_vals: <DATA>
length: 180
contents: <DATA>
Value Follows: Yes
cookie: 445377654
Filename: Fedora-17-x86_64-netinst.iso
length: 28
contents: Fedora-17-x86_64-netinst.iso
obj_attributes
attrmask
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4ERR_ACCES (13)
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x0000000000000018
attr_vals: <DATA>
length: 12
contents: <DATA>
Value Follows: Yes
cookie: 456324527
Filename:
SW_DVD5_Win_Pro_7w_SP1_32BIT_Turkish_-2_MLF_X17-59497.ISO
length: 57
contents:
SW_DVD5_Win_Pro_7w_SP1_32BIT_Turkish_-2_MLF_X17-59497.ISO
fill bytes: opaque data
obj_attributes
attrmask
mand_attr: FATTR4_TYPE (1)
nfs_ftype4: NF4REG (1)
mand_attr: FATTR4_CHANGE (3)
changeid: 5769079491088117081
mand_attr: FATTR4_SIZE (4)
size: 2293135360
mand_attr: FATTR4_FSID (8)
fattr4_fsid
fsid4.major: 16025262165310215059
fsid4.minor: 0
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4_OK (0)
recc_attr: FATTR4_FILEHANDLE (19)
fattr4_filehandle
length: 36
[hash (CRC-32): 0x01e20478]
decode type as: unknown
filehandle:
9393d2ab082b65de0a00160000000000333900000a000400...
recc_attr: FATTR4_FILEID (20)
fileid: 22
recc_attr: FATTR4_MODE (33)
fattr4_mode: 0744
000. .... .... .... = Unknown
.... 0... .... .... = not SUID
.... .0.. .... .... = not SGID
.... ..0. .... .... = not save swapped text
.... ...1 .... .... = Read permission for
owner
.... .... 1... .... = Write permission for
owner
.... .... .1.. .... = Execute permission
for owner
.... .... ..1. .... = Read permission for
group
.... .... ...0 .... = no Write permission
for group
.... .... .... 0... = no Execute permission
for group
.... .... .... .1.. = Read permission for
others
.... .... .... ..0. = no Write permission
for others
.... .... .... ...0 = no Execute permission
for others
recc_attr: FATTR4_NUMLINKS (35)
numlinks: 1
recc_attr: FATTR4_OWNER (36)
fattr4_owner: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_OWNER_GROUP (37)
fattr4_owner_group: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_RAWDEV (41)
specdata1: 4294967295
specdata2: 4294967295
recc_attr: FATTR4_SPACE_USED (45)
space_used: 2203871232
recc_attr: FATTR4_TIME_ACCESS (47)
seconds: 1334741924
nseconds: 755975161
recc_attr: FATTR4_TIME_METADATA (52)
seconds: 1343218491
nseconds: 860646745
recc_attr: FATTR4_TIME_MODIFY (53)
seconds: 1334742127
nseconds: 699774865
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x0000000000000016
attr_vals: <DATA>
length: 180
contents: <DATA>
Value Follows: Yes
cookie: 485171446
Filename: super_grub2_disk_hybrid_1.99b1.iso
length: 34
contents: super_grub2_disk_hybrid_1.99b1.iso
fill bytes: opaque data
obj_attributes
attrmask
mand_attr: FATTR4_TYPE (1)
nfs_ftype4: NF4REG (1)
mand_attr: FATTR4_CHANGE (3)
changeid: 5769079491088144660
mand_attr: FATTR4_SIZE (4)
size: 2023424
mand_attr: FATTR4_FSID (8)
fattr4_fsid
fsid4.major: 16025262165310215059
fsid4.minor: 0
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4_OK (0)
recc_attr: FATTR4_FILEHANDLE (19)
fattr4_filehandle
length: 36
[hash (CRC-32): 0x19167253]
decode type as: unknown
filehandle:
9393d2ab082b65de0a002800000000001e1403000a000400...
recc_attr: FATTR4_FILEID (20)
fileid: 40
recc_attr: FATTR4_MODE (33)
fattr4_mode: 0700
000. .... .... .... = Unknown
.... 0... .... .... = not SUID
.... .0.. .... .... = not SGID
.... ..0. .... .... = not save swapped text
.... ...1 .... .... = Read permission for
owner
.... .... 1... .... = Write permission for
owner
.... .... .1.. .... = Execute permission
for owner
.... .... ..0. .... = no Read permission
for group
.... .... ...0 .... = no Write permission
for group
.... .... .... 0... = no Execute permission
for group
.... .... .... .0.. = no Read permission
for others
.... .... .... ..0. = no Write permission
for others
.... .... .... ...0 = no Execute permission
for others
recc_attr: FATTR4_NUMLINKS (35)
numlinks: 1
recc_attr: FATTR4_OWNER (36)
fattr4_owner: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_OWNER_GROUP (37)
fattr4_owner_group: nobody
length: 6
contents: nobody
fill bytes: opaque data
recc_attr: FATTR4_RAWDEV (41)
specdata1: 4294967295
specdata2: 4294967295
recc_attr: FATTR4_SPACE_USED (45)
space_used: 1013248
recc_attr: FATTR4_TIME_ACCESS (47)
seconds: 1336031851
nseconds: 247641837
recc_attr: FATTR4_TIME_METADATA (52)
seconds: 1343218491
nseconds: 860674324
recc_attr: FATTR4_TIME_MODIFY (53)
seconds: 1336031851
nseconds: 432044329
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x0000000000000028
attr_vals: <DATA>
length: 180
contents: <DATA>
Value Follows: Yes
cookie: 526179198
Filename: proxmox-mailgateway_2.6.iso
length: 27
contents: proxmox-mailgateway_2.6.iso
fill bytes: opaque data
obj_attributes
attrmask
mand_attr: FATTR4_RDATTR_ERROR (11)
Status: NFS4ERR_ACCES (13)
recc_attr: FATTR4_MOUNTED_ON_FILEID (55)
fileid: 0x000000000000024f
attr_vals: <DATA>
length: 12
contents: <DATA>
Value Follows: No
eof: Yes
[Main Opcode: READDIR (26)]
On Wed, Jul 25, 2012 at 4:11 PM, Rahman Duran <a.rahman.duran(a)gmail.com>wrote:
> I manually mounted with root user and a custom temp user I created just
> for testing this. Both mounted with success. On the NFS server all unknown
> user:group id's map to nfs account. It doesn't matter which userid the vdsm
> sends to nfs server. So there is no permission problem on nfs server side
> as the server seems to send directory contens (tcpdump captures).
>
>
>
> On Wed, Jul 25, 2012 at 4:02 PM, Dafna Ron <dron(a)redhat.com> wrote:
>
>> did you give 36:36 permissions to the dir? when you manually try to
>> mount are you using root or vdsm user?
>>
>>
>>
>>
>> On 07/25/2012 03:57 PM, Rahman Duran wrote:
>>> Hi,
>>>
>>> I am getting this when I try to create a ISO/NFS domain:
>>>
>>> Permission settings on the specified path do not allow access to the
>>> storage. Verify permission settings on the specified storage path.:
>>> 'path =
>>>
>> /rhev/data-center/mnt/79.xxx.xxx.xxx:_volumes_archives_proxmox_template_iso'
>>>
>>> I can manually mount the nfs share with "mount
>>> 79.xxx.xxx.xxx/volumes/archives/proxmox/template/iso" without any
>>> problem both on the engine and vdsm host machine. I also captured the
>>> traffic with tcpdump while adding iso domain via webadmin. It seems
>>> nfs server sends directory contents to vdsm host then vdsm host brakes
>>> connection.
>>>
>>> Any advice on this? Thanks.
--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.