* [linux-lvm] Unmounting file system hangs up...
@ 2009-10-04 14:18 Thinking Outside the Well
2009-10-04 14:38 ` André Gillibert
0 siblings, 1 reply; 7+ messages in thread
From: Thinking Outside the Well @ 2009-10-04 14:18 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 470 bytes --]
Hello,
I am using Fedora 10 and LVM. Lately when I shut down or restart the Linux
box, it hangs at the stage of "Unmounting file system".
- Turning off swap --- OK
- Turning off quotas --- OK
- Unmounting pipe file system --- OK
- Unmounting file system --- hangs up
Although I can turn off or restart the box manually, I am a bit concerned
whether it is the beginning of more serious problems later.
Your suggestion will be greatly appreciated.
rod
[-- Attachment #2: Type: text/html, Size: 531 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Unmounting file system hangs up...
2009-10-04 14:18 [linux-lvm] Unmounting file system hangs up Thinking Outside the Well
@ 2009-10-04 14:38 ` André Gillibert
2009-10-04 15:23 ` Thinking Outside the Well
0 siblings, 1 reply; 7+ messages in thread
From: André Gillibert @ 2009-10-04 14:38 UTC (permalink / raw)
To: linux-lvm
Thinking Outside the Well <rod.rook@gmail.com> wrote:
> Hello,
>
> I am using Fedora 10 and LVM. Lately when I shut down or restart the Linux
> box, it hangs at the stage of "Unmounting file system".
>
>
> - Turning off swap --- OK
> - Turning off quotas --- OK
> - Unmounting pipe file system --- OK
> - Unmounting file system --- hangs up
>
> Although I can turn off or restart the box manually, I am a bit concerned
> whether it is the beginning of more serious problems later.
> Your suggestion will be greatly appreciated.
You should find exactly which command hangs.
It might be as simple as a fs that it cannot umount because it's busy.
Or maybe something like Fedora trying to umount a network file system after the network has been shut down.
In doubt, check the health of your disk with fsck, badblocks and smartmontools.
--
André Gillibert
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Unmounting file system hangs up...
2009-10-04 14:38 ` André Gillibert
@ 2009-10-04 15:23 ` Thinking Outside the Well
2009-10-04 17:11 ` André Gillibert
0 siblings, 1 reply; 7+ messages in thread
From: Thinking Outside the Well @ 2009-10-04 15:23 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 1705 bytes --]
Thank you for your quick response, Andre.
I agree you are right on your suggestion that Fedora is trying to umount a
network file system. I think it actually is trying to umount a CentOS file
system installed in another hard drive. The reason why I think that way is
that whenever I log on to CentOS, it complains that something is wrong with
the file system and checks it
Do you know how to tell Fedora not to umount CentOS file system?
rod
On Sun, Oct 4, 2009 at 9:38 AM, André Gillibert <rcvxdg@gmail.com> wrote:
> Thinking Outside the Well <rod.rook@gmail.com> wrote:
> > Hello,
> >
> > I am using Fedora 10 and LVM. Lately when I shut down or restart the
> Linux
> > box, it hangs at the stage of "Unmounting file system".
> >
> >
> > - Turning off swap --- OK
> > - Turning off quotas --- OK
> > - Unmounting pipe file system --- OK
> > - Unmounting file system --- hangs up
> >
> > Although I can turn off or restart the box manually, I am a bit concerned
> > whether it is the beginning of more serious problems later.
> > Your suggestion will be greatly appreciated.
>
> You should find exactly which command hangs.
> It might be as simple as a fs that it cannot umount because it's busy.
> Or maybe something like Fedora trying to umount a network file system after
> the network has been shut down.
>
> In doubt, check the health of your disk with fsck, badblocks and
> smartmontools.
>
> --
> André Gillibert
>
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
[-- Attachment #2: Type: text/html, Size: 2358 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Unmounting file system hangs up...
2009-10-04 15:23 ` Thinking Outside the Well
@ 2009-10-04 17:11 ` André Gillibert
2009-10-04 17:49 ` Thinking Outside the Well
0 siblings, 1 reply; 7+ messages in thread
From: André Gillibert @ 2009-10-04 17:11 UTC (permalink / raw)
To: linux-lvm
Thinking Outside the Well <rod.rook@gmail.com> wrote:
> I agree you are right on your suggestion that Fedora is trying to umount a
> network file system. I think it actually is trying to umount a CentOS file
> system installed in another hard drive. The reason why I think that way is
> that whenever I log on to CentOS, it complains that something is wrong with
> the file system and checks it
>
Not properly unmounting a network (NFS, CIFS, etc.) mount point shouldn't break the target file system in any way, and shouldn't cause fsck to report errors.
Is CentOS hard drive on another computer?
In that case, what network file system protocol is used, if any?
If it's local hard drive, then, it's probably mounted as local file system (ext3 or other), and, not properly unmounting it, may cause fsck to complain.
The contents of /etc/fstab and /etc/mtab or /proc/mounts may help you.
fstab contains a static list of fs mounted at boot time.
mtab and /proc/mounts contain the list of currently mounted file systems, including ones that might have been automatically mounted by your desktop environment when HAL notified it.
--
André Gillibert
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Unmounting file system hangs up...
2009-10-04 17:11 ` André Gillibert
@ 2009-10-04 17:49 ` Thinking Outside the Well
2009-10-04 21:02 ` André Gillibert
0 siblings, 1 reply; 7+ messages in thread
From: Thinking Outside the Well @ 2009-10-04 17:49 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 2781 bytes --]
Here is what is in /etc/fstab.
#
# /etc/fstab
# Created by anaconda on Mon Sep 7 20:25:11 2009
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
#
UUID=878c124d-0271-4dd7-95d1-e6c95439220c / ext3
defaults 1 1
UUID=3511be5f-909d-44c5-a806-2e1d00d21dc4 /home ext3
defaults 1 2
UUID=8ee04c46-a36e-484d-824c-661c07f4c126 /boot ext3
defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
UUID=917a7154-8448-4c94-a230-7bd4be54e571 swap swap
defaults 0 0
CentOS-5 is on a hard drive of the same computer. /etc/fstab does not
explicitly mount CentOS-5, but Fedora-10 somehow mounts all hard drives
including NTFS drives. I must have done something to do this, but I forgot
what I did. Do you have any idea what I did and how I remedy this situation?
On Sun, Oct 4, 2009 at 12:11 PM, André Gillibert <rcvxdg@gmail.com> wrote:
> Thinking Outside the Well <rod.rook@gmail.com> wrote:
>
> > I agree you are right on your suggestion that Fedora is trying to umount
> a
> > network file system. I think it actually is trying to umount a CentOS
> file
> > system installed in another hard drive. The reason why I think that way
> is
> > that whenever I log on to CentOS, it complains that something is wrong
> with
> > the file system and checks it
> >
> Not properly unmounting a network (NFS, CIFS, etc.) mount point shouldn't
> break the target file system in any way, and shouldn't cause fsck to report
> errors.
> Is CentOS hard drive on another computer?
> In that case, what network file system protocol is used, if any?
> If it's local hard drive, then, it's probably mounted as local file system
> (ext3 or other), and, not properly unmounting it, may cause fsck to
> complain.
>
> The contents of /etc/fstab and /etc/mtab or /proc/mounts may help you.
>
> fstab contains a static list of fs mounted at boot time.
> mtab and /proc/mounts contain the list of currently mounted file systems,
> including ones that might have been automatically mounted by your desktop
> environment when HAL notified it.
>
> --
> André Gillibert
>
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
[-- Attachment #2: Type: text/html, Size: 3583 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Unmounting file system hangs up...
2009-10-04 17:49 ` Thinking Outside the Well
@ 2009-10-04 21:02 ` André Gillibert
2009-10-04 23:43 ` Thinking Outside the Well
0 siblings, 1 reply; 7+ messages in thread
From: André Gillibert @ 2009-10-04 21:02 UTC (permalink / raw)
To: linux-lvm
Thinking Outside the Well <rod.rook@gmail.com> wrote:
> CentOS-5 is on a hard drive of the same computer. /etc/fstab does not
> explicitly mount CentOS-5, but Fedora-10 somehow mounts all hard drives
> including NTFS drives. I must have done something to do this, but I forgot
> what I did. Do you have any idea what I did and how I remedy this situation?
>
Two things may concur to this automatic mount.
1) hald (Hardware Abstraction Layer Daemon)
This informs software about which hardware, including hard drives, is currently connected, and when removable drives are inserted or removed.
2) The desktop or file manager (nautilus on GNOME, konqueror or dolphin on KDE).
It gets the list of connected devices from hald, through the d-bus system, and, may automatically mount cold plugged and hot plugged drives.
As I neither use GNOME, nor KDE, I don't know what exact setting triggers this behavior, but, ideally, you should configure the relevant application (nautilus, dolphin or konqueror) to disable this behavior, or make them properly unmount the drives.
--
André Gillibert
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Unmounting file system hangs up...
2009-10-04 21:02 ` André Gillibert
@ 2009-10-04 23:43 ` Thinking Outside the Well
0 siblings, 0 replies; 7+ messages in thread
From: Thinking Outside the Well @ 2009-10-04 23:43 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]
Thanks you for your advice, Andre.
rod
On Sun, Oct 4, 2009 at 4:02 PM, André Gillibert <rcvxdg@gmail.com> wrote:
> Thinking Outside the Well <rod.rook@gmail.com> wrote:
>
> > CentOS-5 is on a hard drive of the same computer. /etc/fstab does not
> > explicitly mount CentOS-5, but Fedora-10 somehow mounts all hard drives
> > including NTFS drives. I must have done something to do this, but I
> forgot
> > what I did. Do you have any idea what I did and how I remedy this
> situation?
> >
>
> Two things may concur to this automatic mount.
> 1) hald (Hardware Abstraction Layer Daemon)
> This informs software about which hardware, including hard drives, is
> currently connected, and when removable drives are inserted or removed.
> 2) The desktop or file manager (nautilus on GNOME, konqueror or dolphin on
> KDE).
> It gets the list of connected devices from hald, through the d-bus system,
> and, may automatically mount cold plugged and hot plugged drives.
>
> As I neither use GNOME, nor KDE, I don't know what exact setting triggers
> this behavior, but, ideally, you should configure the relevant application
> (nautilus, dolphin or konqueror) to disable this behavior, or make them
> properly unmount the drives.
>
> --
> André Gillibert
>
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
[-- Attachment #2: Type: text/html, Size: 2166 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-10-04 23:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-04 14:18 [linux-lvm] Unmounting file system hangs up Thinking Outside the Well
2009-10-04 14:38 ` André Gillibert
2009-10-04 15:23 ` Thinking Outside the Well
2009-10-04 17:11 ` André Gillibert
2009-10-04 17:49 ` Thinking Outside the Well
2009-10-04 21:02 ` André Gillibert
2009-10-04 23:43 ` Thinking Outside the Well
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).