Unmounting filesystem at the shutdown process takes ages

Dear all,
when I am pressing the shut down button inside kde I receive this nice black screen with the green status messages indicating what was done successfuly.

At the unmounting file systems though I have to wait for a 20-30mins duration to finished.
I have two or three network shares but even a timeout would not take more than 1 min to appear.

Could you please help me understand what might be the problem and what should I check?

BR
Alex

On 2011-07-11 15:06, alaios wrote:

> At the unmounting file systems though I have to wait for a 20-30mins
> duration to finished.

Umount manually all filesystems, one by one, find out which one takes so long.

One possible reason is that there are pending write operations. For
example, it is a flash disk, and writes are in memory, not disk.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

and how can I reach the level where I can start doing this unmount step by step?

What do you mean by ‘reach the level’, is it just that you don’t know how to unmount them?

If that’s the case you do this in a terminal (e.g konsole if you use kde)

su - (to become root)

Enter the root password, then you can proceed to unmount things, like this

umount /mountpoint

Example: if you run apache and have all your web files on a seperate partition mounted at /srv the command would be:

umount /srv

Thinking about it, it’s actually probably better to log out of the dektop and then go to a console login, login as root to do it

Once logged into a console as root you can drop from the usual runlevel 5 to runlevel 3 with this command, I think that may be what you mean by ‘reach the level’

init 3

Then issue your umount commands

Doing it this way would probably be a bit ‘cleaner’ if you need to unmount a partition such as /home (root user’s profile is under /root not /home)

On 2011-07-12 11:06, alaios wrote:
>
> and how can I reach the level where I can start doing this unmount step
> by step?

Any. Preferably runlevel 3, or 5 logged only in text mode as root - obviously.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2011-07-12 14:36, Ecky wrote:
>
> What do you mean by ‘reach the level’, is it just that you don’t know
> how to unmount them?
>
> If that’s the case you do this in a terminal (e.g konsole if you use
> kde)
>
> su - (to become root)

No, not a terminal logged as user, then su. Must be directly root, meaning
text mode. No users logged in at all.

> Thinking about it, it’s actually probably better to log out of the
> dektop and then go to a console login, login as root to do it

Right!

> Doing it this way would probably be a bit ‘cleaner’ if you need to
> unmount a partition such as /home (root user’s profile is under /root
> not /home)

Exactly, /home is the point :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

So I’m a bit slow on occasion :stuck_out_tongue: