All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] block-count in mkfs.ocfs2
@ 2008-01-23  1:58 Goldwyn Rodrigues
  2008-01-25 10:25 ` Sunil Mushran
  0 siblings, 1 reply; 2+ messages in thread
From: Goldwyn Rodrigues @ 2008-01-23  1:58 UTC (permalink / raw)
  To: ocfs2-devel

Hi,

While making changes to mkfs, I noticed blocks-count is taken as a positional argument (value determined by the position in the command line) instead of an optional argument (parsed by getopts such as --block-count). Is there a particular reason for this?

Moreover, you might have to check on the default values of the mkfs_default_profile. Only the journal size in case of "datafiles" filesystem type seem to be having a default value of 8k.

Regards,

-- 
Goldwyn

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Ocfs2-devel] block-count in mkfs.ocfs2
  2008-01-23  1:58 [Ocfs2-devel] block-count in mkfs.ocfs2 Goldwyn Rodrigues
@ 2008-01-25 10:25 ` Sunil Mushran
  0 siblings, 0 replies; 2+ messages in thread
From: Sunil Mushran @ 2008-01-25 10:25 UTC (permalink / raw)
  To: ocfs2-devel

No reason other than mke2fs does the same. Using similar params makes
it easier for everyone. Also, we hardly expect anyone to limit the fs
to smaller than the volume size. AFAIK, it's mainly used in testing
(on/off)line fs resize. :)

It's 8k blocks... meaning 32M, for a 4K blocksize. That is fine if all
the user is doing is hosting datafiles as the db rarely grows the
datafiles... meaning no need for journaling.

Goldwyn Rodrigues wrote:
> Hi,
>
> While making changes to mkfs, I noticed blocks-count is taken as a positional argument (value determined by the position in the command line) instead of an optional argument (parsed by getopts such as --block-count). Is there a particular reason for this?
>
> Moreover, you might have to check on the default values of the mkfs_default_profile. Only the journal size in case of "datafiles" filesystem type seem to be having a default value of 8k.
>
> Regards,
>
>   

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-25 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-23  1:58 [Ocfs2-devel] block-count in mkfs.ocfs2 Goldwyn Rodrigues
2008-01-25 10:25 ` Sunil Mushran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.