More specifically about blkid, here's my personal notes on the topic: When trying to mount a filesystem by LABEL the first one listed in /etc/blkid/blkid.tab will be used. For multipathed devices, this can be a problem as the /dev/sdX devices will often end up listed before the /dev/mapper/mpathX in the blkid.tab, in which case only the /dev/sdX ones should be removed and cache rebuilt. To do this, just remove the offending /dev/sdX lines from /etc/blkid/blkid.tab and then run `blkid` and it will recreate them in a compatible order (after the mpathX). You can open blkid.tab again and check it before proceeding just to verify. At 03:00 PM 3/10/2012, ocfs2-users-request at oracle.com wrote:>Message: 2 >Date: Sat, 10 Mar 2012 09:57:12 -0800 >From: Sunil Mushran <sunil.mushran at oracle.com> >Subject: Re: [Ocfs2-users] ocfs2console hangs on startup >To: ocfs2-users at oss.oracle.com >Message-ID: <4F5B95F8.9050406 at oracle.com> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >ocfs2console has been obsoleted. Just use the utilities directly. >To detect ocfs2 volumes, use blkid. You can use it to restrict >the lookup paths. Refer its manpage. > >On 03/09/2012 06:15 PM, John Major wrote: > > Hi, > > > > Hope this is the right place to ask this. > > > > I have set up 2 ubuntu lts machines with an IBM iscsi san. I have set up > > multipathd and ocfs2 and it seems to be working. > > > > The problem is that when I run up ocfs2console it hangs (the console > > app, not the system). Using strace, I can see that it is running through > > all the /dev/sdx devices and loops trying to access the first one in > > 'ghost' state per 'multipath -ll'. > > > > Is there a way to restrict which devices the app looks at as it starts > > to say /dev/mapper/mpath* since I don't actually want it to access any > > of the /dev/sd.. devices directly?