[LU-2168] mount.lustre: addmntent: Invalid argument: Created: 13/Oct/12  Updated: 19/Apr/13  Resolved: 13/Oct/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.3.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Jian Yu Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Lustre Tag: v2_3_0_RC2
Lustre Build: http://build.whamcloud.com/job/lustre-b2_3/32
Distro/Arch: RHEL6.3/x86_64(server), FC15/x86_64(client)


Issue Links:
Duplicate
duplicates LU-1833 Don't update mtab if it is symlink Resolved
Severity: 3
Rank (Obsolete): 5199

 Description   

While mounting a Lustre client on FC15/x86_64 client, the following issue occurred:

# mount -t lustre -o user_xattr,flock fat-amd-2@tcp:/lustre /mnt/lustre
mount.lustre: addmntent: Invalid argument:

However, Lustre client was mounted.

Dmesg showed that:

[ 1321.362276] Lustre: Lustre: Build Version: jenkins-arch=x86_64,build_type=client,distro=fc15,ib_stack=inkernel-32--PRISTINE-../lustre/scripts
[ 1321.524066] LNet: Added LNI 10.10.4.18@tcp [8/256/0/180]
[ 1321.529523] LNet: Accept all, port 988
[ 3343.331888] Lustre: MGC10.10.4.133@tcp: Reactivating import
[ 3343.409611] Lustre: Mounted lustre-client


 Comments   
Comment by Oleg Drokin [ 13/Oct/12 ]

is /etc/mtab a symlink to /proc/mounts there?

Comment by Jian Yu [ 13/Oct/12 ]

is /etc/mtab a symlink to /proc/mounts there?

Yes.

[root@client-18 ~]# ls -htl /etc/mtab 
lrwxrwxrwx. 1 root root 12 Oct 11 23:32 /etc/mtab -> /proc/mounts
Comment by Oleg Drokin [ 13/Oct/12 ]

This is addressed by http://review.whamcloud.com/3881 that has already landed to master

Generated at Sat Feb 10 01:22:56 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.