Re: Shutdown and reboot not working after last weekend update

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



> [[ $UID -eq 0 ]] && umountcmd=umount || umountcmd="sudo umount"
> 
> if grep -q mnt\/phx-cfg /etc/mtab; then
>    echo "umount /mnt/phx-cfg"
>    $umountcmd /mnt/phx-cfg
> fi
> 
> if grep -q mnt\/phx-david /etc/mtab; then
>    echo "umount /mnt/phx-david"
>    $umountcmd /mnt/phx-david
> fi
> 
> if grep -q mnt\/phx /etc/mtab; then
>    echo "umount /mnt/phx"
>    $umountcmd /mnt/phx
> fi
> 
> if grep -q mnt\/win /etc/mtab; then
>    echo "umount /mnt/win"
>    $umountcmd /mnt/win
> fi
> 
> if grep -q mnt\/pv /etc/mtab; then
>    echo "umount /mnt/pv"
>    $umountcmd /mnt/pv
> fi
> 
> exit 0
> 
> 
> If you are experiencing shutdown hangs do to lingering mount issues, then
> something similar to this setup may help. (I never did figure out why the
> normal shutdown scripts didn't do this automatically)

I had the same problema, but I used

umount -arfl -t nfs,nfs4,smbfs,cifs

and it works... :-)

Best Regards

Guillermo Leira




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux