Resolves: bz 252170
This commit is contained in:
parent
e43f570021
commit
4a8369b55e
@ -1,6 +1,6 @@
|
|||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 1.101
|
Version: 1.101
|
||||||
Release: 79%{?dist}
|
Release: 80%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: The kexec/kdump userspace component.
|
Summary: The kexec/kdump userspace component.
|
||||||
@ -252,6 +252,9 @@ rm -f %{_datadir}/firstboot/modules/firstboot_kdump.py
|
|||||||
%doc kexec-kdump-howto.txt
|
%doc kexec-kdump-howto.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 22 2007 Neil Horman <nhorman@redhat.com> - 1.101-80
|
||||||
|
- Fix ability to determine space on nfs shares (bz 252170)
|
||||||
|
|
||||||
* Tue Aug 21 2007 Neil Horman <nhorman@redhat.com> - 1.101-79
|
* Tue Aug 21 2007 Neil Horman <nhorman@redhat.com> - 1.101-79
|
||||||
- Update kdump.init to always create sparse files (bz 253714)
|
- Update kdump.init to always create sparse files (bz 253714)
|
||||||
|
|
||||||
|
10
mkdumprd
10
mkdumprd
@ -1475,7 +1475,7 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then
|
|||||||
available_size=$(fdisk -s $location)
|
available_size=$(fdisk -s $location)
|
||||||
if [ $available_size -lt $memtotal ]; then
|
if [ $available_size -lt $memtotal ]; then
|
||||||
echo "Warning: There is not space enough to save a vmcore."
|
echo "Warning: There is not space enough to save a vmcore."
|
||||||
echo " The size of $location should be much greater than $memtotal bytes."
|
echo " The size of $config_val should be much greater than $memtotal kilo bytes."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#setup raw case
|
#setup raw case
|
||||||
@ -1543,7 +1543,7 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then
|
|||||||
"Bad NFS mount $location"
|
"Bad NFS mount $location"
|
||||||
mkdir -p $tmnt/$SAVE_PATH
|
mkdir -p $tmnt/$SAVE_PATH
|
||||||
tdir=`mktemp -dqp $tmnt/$SAVE_PATH`
|
tdir=`mktemp -dqp $tmnt/$SAVE_PATH`
|
||||||
available_size=$(df $tdir | tail -1 | tr -s ' ' ':' | cut -d: -f4)
|
available_size=$(df -P $tdir | tail -1 | tr -s ' ' ':' | cut -d: -f5)
|
||||||
|
|
||||||
rc=$? && rm -rf $tdir
|
rc=$? && rm -rf $tdir
|
||||||
umount $tmnt
|
umount $tmnt
|
||||||
@ -1564,7 +1564,7 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then
|
|||||||
#check for available size is greater than $memtotal
|
#check for available size is greater than $memtotal
|
||||||
if [ $available_size -lt $memtotal ]; then
|
if [ $available_size -lt $memtotal ]; then
|
||||||
echo "Warning: There is not space enough to save a vmcore."
|
echo "Warning: There is not space enough to save a vmcore."
|
||||||
echo " The size of $location should be much greater than $memtotal bytes."
|
echo " The size of $location should be much greater than $memtotal kilo bytes."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#setup nfs case
|
#setup nfs case
|
||||||
@ -1602,7 +1602,7 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then
|
|||||||
#check for available size is greater than $memtotal
|
#check for available size is greater than $memtotal
|
||||||
if [ $available_size -lt $memtotal ]; then
|
if [ $available_size -lt $memtotal ]; then
|
||||||
echo "Warning: There is not space enough to save a vmcore."
|
echo "Warning: There is not space enough to save a vmcore."
|
||||||
echo " The size of $rlocation:$tdir should be much greater than $memtotal bytes."
|
echo " The size of $rlocation:$tdir should be much greater than $memtotal kilo bytes."
|
||||||
fi
|
fi
|
||||||
#We do this to remove the temp directory from above
|
#We do this to remove the temp directory from above
|
||||||
ssh -q $s_opts $rlocation rmdir $tdir
|
ssh -q $s_opts $rlocation rmdir $tdir
|
||||||
@ -1649,7 +1649,7 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then
|
|||||||
#check for available size is greater than $memtotal
|
#check for available size is greater than $memtotal
|
||||||
if [ $available_size -lt $memtotal ]; then
|
if [ $available_size -lt $memtotal ]; then
|
||||||
echo "Warning: There is not space enough to save a vmcore."
|
echo "Warning: There is not space enough to save a vmcore."
|
||||||
echo " The size of $location should be much greater than $memtotal bytes."
|
echo " The size of $location should be much greater than $memtotal kilo bytes."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user