[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] ha-lvm



One possibility is that, say you try to unmount /mountpoint, however
you have another partition mounted at /mountpoint/subdir, that would
prevent /mountpoint to be unmounted, without unmounting
/mountpoint/subdir first.

You could check the output of mount command.

On Wed, Nov 3, 2010 at 9:13 AM, Jonathan Barber
<jonathan barber gmail com> wrote:
> On 3 November 2010 11:55, Corey Kovacs <corey kovacs gmail com> wrote:
>> John,
>>
>> This is a cluster managed mount so there is no fstab entry.
>
> That doesn't mean you can't umount it from the command line:
> # umount /path/to/mount/point
>
> As commented in another thread the other day, you probably want to do
> a "clusvcadm -Z servicename" to stop RHCS from taking action if you
> manage to umount the filesystem. Don't forget to do "clusvcadm -U
> servicename" afterwards...
>
>> The lsof options you show...
>>
>> "vgs -o vg_name,vg_tags"
>>
>> are a welcome addition to my tool belt, thanks for that.
>>
>> seems I need to practice what I preach and use the man pages more...
>>
>> I am out today but I'll try these tomorrow.
>>
>> Thanks
>>
>> Corey
>>
>>
>>
>> On Wed, Nov 3, 2010 at 10:41 AM, Jonathan Barber
>> <jonathan barber gmail com> wrote:
>>> On 2 November 2010 20:14, Corey Kovacs <corey kovacs gmail com> wrote:
>>>> Folks,
>>>
>>> [snip]
>>>
>>>> lsof doesn't reveal anything "holding" onto that mount point yet the
>>>> umount fails consistently (force_umount is enabled)
>>>
>>> Are you sure that you're specifying the filesystem mount point (as
>>> listed in fstab) and not the directory. I've cut myself on the sharp
>>> options in lsof before. It might be worth adding the +D argument to
>>> traverse all of the directories under the filesystem looking for open
>>> files.
>>>
>>> You could also use fuser command in case it's pre-coffee operator
>>> induced error ;)
>>>
>>>> Furthermore, it appears I have at least one ov my VG's with bad tags,
>>>> is there a way to show what tags a VG has?
>>>
>>> "vgs -o vg_name,vg_tags"
>>>
>>> Can you umount the volume manually? If you can then it's something to
>>> do with the RHCS, otherwise it's something else.
>>>
>>>> I've gone over the config several times and although I cannot show the
>>>> config, here is a basic rundown in case something jumps out...
>>>
>>> [snip]
>>>
>>>>
>>>> If anyone has any ideas I'd appreciate it.
>>>>
>>>
>>> --
>>> Jonathan Barber <jonathan barber gmail com>
>>>
>>> --
>>> Linux-cluster mailing list
>>> Linux-cluster redhat com
>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>
>>
>> --
>> Linux-cluster mailing list
>> Linux-cluster redhat com
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>
>
>
>
> --
> Jonathan Barber <jonathan barber gmail com>
>
> --
> Linux-cluster mailing list
> Linux-cluster redhat com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]