Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i accidently mount a remote drive onto / which is mount by dev/sda locally as well. I try to umount the remote drive but then got 3 lines of device busy.
Is there anyway to umount WITHOUT restart linux server?
the NT drive mounted onto / is backups. I try to umount //file-share/backups and it said
umount: //file-share/backups: not found
umount: /: not mounted
umount: /dev/sda1: not mounted
umount: //file-share/backups: not found
umount: /: not mounted
Originally posted by taiwf the NT drive mounted onto / is backups. I try to umount //file-share/backups and it said
umount: //file-share/backups: not found
umount: /: not mounted
umount: /dev/sda1: not mounted
umount: //file-share/backups: not found
umount: /: not mounted
I don't find any sense in that mount output. I'm gonna use mine as an example:
Code:
/dev/ide/host0/bus0/target0/lun0/part1 on / type ext3 (rw,noatime)
none on /proc type proc (rw)
none on /proc/bus/usb type usbdevfs (rw)
none on /dev type devfs (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,mode=0620)
/dev/ide/host0/bus0/target0/lun0/part8 on /home type ext3 (rw,noatime)
/dev/ide/host0/bus0/target0/lun0/part9 on /mnt/datos type vfat (rw,uid=501,umask=0022,iocharset=iso8859-1,codepage=850)
/dev/ide/host0/bus0/target0/lun0/part3 on /mnt/xp type vfat (rw,umask=0)
none on /tmp type tmpfs (rw)
/dev/ide/host0/bus0/target0/lun0/part6 on /usr type ext3 (rw,noatime)
/dev/ide/host0/bus0/target0/lun0/part7 on /var type ext3 (rw,noatime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
You see? it tells you the device and the mount point.
debian-dav://# umount /
umount: //file-share/backups: not found
umount: /: not mounted
umount: /dev/hda1: not mounted
debian-dav://# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 3.3G 1.3G 1.9G 41% /
df: `/proc': No such file or directory
//file-share/backups 3.3G 1.3G 1.9G 41% /
----------------------------------------
the disk still mounted on / . And the problem back to the origial point
And new issue, how the hell do i get back to the original root? (without reboot, or does reboot even help??)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.