[Linux-cluster] ha-lvm

Jonathan Barber jonathan.barber at gmail.com
Wed Nov 3 13:13:19 UTC 2010


On 3 November 2010 11:55, Corey Kovacs <corey.kovacs at 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 at gmail.com> wrote:
>> On 2 November 2010 20:14, Corey Kovacs <corey.kovacs at 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 at gmail.com>
>>
>> --
>> Linux-cluster mailing list
>> Linux-cluster at redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>



-- 
Jonathan Barber <jonathan.barber at gmail.com>




More information about the Linux-cluster mailing list