[Ocfs2-users] Wrong dm device used

Fabio Corazza fabio at newbay.com
Wed Aug 30 07:58:26 PDT 2006


OK, so basically the filesystem keeps on relying on EVMS devices even if
ocfs2console or ocfs2tools will be detecting other devices. Please
confirm me that this is correct.

Also, relating to the options I'm given during the creation of an ocfs2
volume, which options do you suggest for a volume that _only_ stores a
LOT of small files (images, maximum size for each will be 3MB) and a lot
of directories. Actually, I will have 2 nodes on r/w and a third node
that will just read (is the backup server).

[-b block-size] [-C cluster-size] [-N number-of-node-slots] [-T
filesystem-type] [-L volume-label] [-J journal-options] [-HFqvV] device
[blocks-count]

Basically: block-size, cluster-size.

Also, what number-of-node-slots mean? The maximum number of nodes the
filesystem can be accessed from? I've seen that this defaults to 4, can
this be expanded after the filesystem creation or has to be prevented on
time?

Also, what about journal-options?


Thanks for your attention, highly appreciated.


Fabio


Sunil Mushran wrote:
> Well, mounted.ocfs2 is dumb... as in, it just scans /proc/partitions.
> We have to teach it new tricks. :)
> 
> Fabio Corazza wrote:
>> Hi there,
>>  I've just setup an EVMS cluster with Heartbeat 2.0.7 and OCFS2.
>>
>> Everything seems to be working fine except this:
>>
>> [root at mybbook-as01 photos]# mounted.ocfs2 -d
>> Device                FS     UUID                                  Label
>> /dev/dm-6             ocfs2  c1a56afe-3d4b-4b88-919c-b9454b1ec708  cache
>> /dev/dm-7             ocfs2  c1a56afe-3d4b-4b88-919c-b9454b1ec708  cache
>> /dev/dm-8             ocfs2  0663bfeb-60ad-400a-8c1a-61156772eebc photos
>> /dev/dm-14            ocfs2  e2533760-1c3f-4f7a-886f-8769e73f1088 photos
>> /dev/dm-15            ocfs2  e2533760-1c3f-4f7a-886f-8769e73f1088 photos
>>
>> [root at mybbook-as01 photos]# mounted.ocfs2 -f
>> Device                FS     Nodes
>> /dev/dm-6             ocfs2  mybbook-as01, mybbook-as02
>> /dev/dm-7             ocfs2  mybbook-as01, mybbook-as02
>> /dev/dm-8             ocfs2  Unknown: OCFS2 directory corrupted
>> /dev/dm-14            ocfs2  mybbook-as01, mybbook-as02
>> /dev/dm-15            ocfs2  mybbook-as01, mybbook-as02
>> [root at mybbook-as01 photos]#
>>
>> The same in the other node.
>>
>>
>> I tried to reboot, to run dmsetup delete_all.... restart evms... nothing
>> happens. That dm-8 still hangs there. Everything else is fine... what
>> could it be? The filesystems seem to work correctly.
>>
>>
>>
>> Regards,
>>
>>   


-- 
Fabio Corazza - Engineering
NewBay Software, Ltd.
Wilson House, Fenian Street, Dublin 2, Ireland
Phone: +353 1 634 5490 - e-mail: fabio at newbay.com




More information about the Ocfs2-users mailing list