Re: Shutdown and reboot not working after last weekend update

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



2012/6/14 Guillermo Leira <gleira@xxxxxxxxxx>

> > [[ $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
>

I've tried Guillermo approach and  Davids too no luck. Maybe this can help,
here are the contents of my mtab is something strange?

*cat /etc/mtab
rootfs / rootfs rw 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
dev /dev devtmpfs
rw,nosuid,relatime,size=4054576k,nr_inodes=1013644,mode=755 0 0
run /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
/dev/sdb3 / ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
binfmt /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
/dev/sdb5 /media/usbhd-sdb5 ext4
rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sdb1 /media/System_Reserved fuseblk
rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
0 0
/dev/sda3 /media/usbhd-sda3 fuseblk
rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
0 0
/dev/sda1 /media/usbhd-sda1 fuseblk
rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
0 0
/dev/sda2 /media/usbhd-sda2 fuseblk
rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
0 0
/dev/sdc1 /media/HITACHI fuseblk
rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
0 0
/dev/sdb5 /boot ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
none /proc/bus/usb usbfs
rw,relatime,devgid=121,devmode=664,busgid=108,busmode=775 0 0
gvfs-fuse-daemon /home/imanewbie/.gvfs fuse.gvfs-fuse-daemon
rw,nosuid,nodev,relatime,user_id=1000,group_id=100 0 0*

Regards,
Victor


[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