#223 Issue closed: 51_current_disk_usage.sh hangs on unavailable NFS mounts

domibarton opened issue at 2013-04-11 08:30:

Hi

I've found an issue, where layout/save/GNU/Linux/51_current_disk_usage.sh hangs because of nonresponsive NFS mounts (hard mounted).

The problem is with the df command:

# Save the current disk usage in the rescue image
df -h > $VAR_DIR/layout/config/df.txt

It might be interesting to add -l option, which only will show local filesystems and fix the issue:

# Save the current disk usage in the rescue image
df -lh > $VAR_DIR/layout/config/df.txt

Cheerio
Domi


[Export of Github issue for rear/rear.]