2

My disk position looks like this:

# df -HP
Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda2              256G   177G    67G  73% /
/dev/sda1              510M    18M   467M   4% /boot
tmpfs                  8.5G      0   8.5G   0% /dev/shm
//10.10.10.10/softwares/shared_by_shantanu/abc/   2.0T   865G   1.2T  44% /mnt/windowsabc
//10.10.10.10/softwares/shared_by_shantanu/abc/   2.0T   865G   1.2T  44% /windosabc1
//10.10.10.10/abc/     2.0T   865G   1.2T  44% /mnt/windowsabc1

I would like to know how to unmount the "shared_by_shantanu" setting since that is obsolete now.

Nicolas Kaiser
  • 578
  • 1
  • 5
  • 18
shantanuo
  • 2,713
  • 3
  • 21
  • 20

2 Answers2

5

Simply use the umount command followed by the path where each share is mounted:

umount /mnt/windowsabc
umount /windosabc1
umount /mnt/windowsabc1

Then remove the relevant entries from /etc/fstab to avoid them being mounted again at system boot.

Massimo
  • 2,567
  • 3
  • 21
  • 30
  • 1
    Note that only the superuser can use umount in most cases (depending on fstab entries). You may need to use sudo or su. – CarlF Jun 24 '11 at 12:25
2

The command is umount.

umount /mnt/windowsabc
umount /windosabc1
u1686_grawity
  • 426,297
  • 64
  • 894
  • 966