Re: ERROR: sysfs is not mounted (Add a tool for using the new sysfs files)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rahul,


> From: Rahul Rathore <rrathore@xxxxxxxxxx>
> Sent: Thursday, January 27, 2022 12:05 PM
> To: Schumaker, Anna <Anna.Schumaker@xxxxxxxxxx>
> Cc: linux-nfs@xxxxxxxxxxxxxxx <linux-nfs@xxxxxxxxxxxxxxx>; David Wysochanski <dwysocha@xxxxxxxxxx>
> Subject: ERROR: sysfs is not mounted (Add a tool for using the new sysfs files) 
>  
> NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe. 
> 
> 
> 
> Hi Anna,
> 
> Hope you are doing well.
> 
> I was trying to run the tool. I am getting the below error.
> 
> [root@rrathore-upstream-sysfs nfs-utils]# ./tools/rpcctl/rpcctl.py 
> ERROR: sysfs is not mounted                                                    <-------------------------------------
> [root@rrathore-upstream-sysfs nfs-utils]# cat /proc/self/mounts | grep -i sysfs
> sysfs /sys sysfs rw,seclabel,nosuid,nodev,noexec,relatime 0 0

Oh, I see what it's doing. The beginning of the line is "sys" on my system and not sysfs:

anna@gouda ~ % cat /proc/self/mounts  | grep -i sysfs
sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0

I could probably check the fstype column for sysfs instead

Thanks,
Anna

> [root@rrathore-upstream-sysfs nfs-utils]# 
> [root@rrathore-upstream-sysfs nfs-utils]# uname -a
> Linux rrathore-upstream-sysfs.example.com 5.14.10-300.fc35.x86_64 #1 SMP Thu Oct 7 20:48:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> [root@rrathore-upstream-sysfs nfs-utils]# 
> 
> It is throwing an error even if sysfs is mounted.
> 
> Please can look into it.
> 
> -- 
> Thanks & Regards,
> Rahul Rathore
> 
>  



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux