Bug 433893

Summary: Incorrect 'Not Enough Disk Space' (when NFS mounts are configured?) preventing installation
Product: [openSUSE] openSUSE 11.1 Reporter: Jan Kupec <jkupec>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P2 - High    
Version: Beta 2   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast logs
screenshot of the proposal with the warning
screenshot of the software selection, when trying to accept the current selection
A proposed patch

Description Jan Kupec 2008-10-09 14:16:10 UTC
Created attachment 244616 [details]
yast logs

Root partition has 17 gigs free, but still there is this disk full warning.

I wasn't able to check whether the bug only appears because of the NFS mounts which show negative free/total space (is a separate report needed for this?) because of bug 433891.

Screenshots will follow.
Comment 1 Jan Kupec 2008-10-09 14:16:54 UTC
Created attachment 244617 [details]
screenshot of the proposal with the warning
Comment 2 Jan Kupec 2008-10-09 14:18:14 UTC
Created attachment 244618 [details]
screenshot of the software selection, when trying to accept the current selection
Comment 3 Jan Kupec 2008-10-09 14:49:06 UTC
Confirmed: when no NFS mounts are configured, the warning does not appear.
Comment 4 Ladislav Slezák 2008-10-10 12:08:27 UTC
It's caused by not running 'rpc.statd' daemon when trying to detect the free space on the NFS share:

2008-10-09 10:13:45 <3> dhcp32.suse.cz(3755) [bash] ShellCommand.cc(shellcommand):78 mount.nfs: rpc.statd is not running but is required for remote locking.
2008-10-09 10:13:45 <3> dhcp32.suse.cz(3755) [bash] ShellCommand.cc(shellcommand):78 mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
2008-10-09 10:13:45 <3> dhcp32.suse.cz(3755) [bash] ShellCommand.cc(shellcommand):78 umount: /tmp/YaST2-03755-V8Cr2y/diskspace_mount: not mounted
2008-10-09 10:13:45 <1> dhcp32.suse.cz(3755) [YCP] SpaceCalculation.ycp:347 available partition: mount: /czwork, free: -5120 KB, used: 0 KB

I'll add 'nolock' option for NFS mounts...
Comment 5 Ladislav Slezák 2008-10-10 12:28:51 UTC
Created attachment 244857 [details]
A proposed patch

Because of SVN doesn't work, I'm attaching the proposed patch here...
Comment 6 Ladislav Slezák 2008-10-13 11:21:22 UTC
Submitted in yast2-packager-2.17.28.