Empty directory not getting deleted in external harddisk

Linux Tyro ubuntu.bkn at gmail.com
Tue Oct 25 20:22:19 UTC 2011


On Wed, Oct 26, 2011 at 1:45 AM, Ioannis Vranos <ioannis.vranos at gmail.com>wrote:

> On Tue, Oct 25, 2011 at 11:12 PM, Linux Tyro <ubuntu.bkn at gmail.com> wrote:
> > On Wed, Oct 26, 2011 at 1:36 AM, Johnny Rosenberg <
> gurus.knugum at gmail.com>
> > wrote:
> >
> >> So it seems like your USB disk is /dev/sdb1. So in this case, Bruce
> >> Pieterse suggested that you should run the following in a terminal:
> >>
> >> fsck -y /dev/sdb1
> >
> > It says me:
> >
> > *****
> > /dev/sdb1 is mounted.
> >
> > WARNING!!!  The filesystem is mounted.   If you continue you ***WILL***
> > cause ***SEVERE*** filesystem damage.
> >
> > Do you really want to continue (y/n)?
> > ****
> >
> > Should I go? I have many imp. files in the usb drive hard disk and they
> > would remain safe i guess...?
>
> *No. Unmount the filesystem first.
>
> df -h
>
> to see the directory the fileystem is mounted.
>
>
> Then
>
> umount /directoryPath



myfamily at myfamily-desktop:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5             110G   25G   80G  24% /
none                  997M  288K  997M   1% /dev
none                 1001M  260K 1001M   1% /dev/shm
none                 1001M   80K 1001M   1% /var/run
none                 1001M     0 1001M   0% /var/lock
none                 1001M     0 1001M   0% /lib/init/rw
/dev/sdb1             299G  183G  116G  62% /media/parshwa wh
myfamily at myfamily-desktop:~$

now how to umount? path which?

like:

umount /media/parshwa wh (usb hard disk name is 'parshwa wh', note that
there is a gap in the name)

but this command didn't work!

-- 
Two atoms are walking along. Suddenly, one stops. The other says, "What's
wrong?" "I've lost an electron." "Are you sure?" "I'm positive!"

===================================================
Ubuntu LTS is good <http://sites.google.com/site/whyilikeubuntu/>!
===================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20111026/cc54c3a0/attachment.html>


More information about the ubuntu-users mailing list