linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mdadm - comments on command layout
@ 2004-08-13 20:25 John Stoffel
  2004-08-14  2:28 ` berk walker
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: John Stoffel @ 2004-08-13 20:25 UTC (permalink / raw)
  To: linux-raid


Hi Neil,

I've been using mdadm recently to work with some arrays and I really
have to say I dislike how the commands are laid out and used.  First
off, they're not consistent from one usage to another.  Of course, I'm
going to be jerk and not give good examples since my personal box at
home is down and I'm at work.  But the idea is that when you assemble
a RAID device, it should look similiar to how you manage that raid
device.

I'd also love it if there was an mdadm shell, so I could just type
'mdadm' and get back a shell prompt like:
	
	mdadm>

which I could then use to manage my arrays.  

For example, I think all the commands should be of the format:

    mdadm <comand> [options] <array> [devices...]

as much as possible.  I'm basing my thoughts on both the Vertias VxVM
command set, as well as the ClearCase 'cleartool' command shell.  So
ideally I could do either:

  > mdadm assemble md0 /dev/hda1 /dev/hda2 ...

or

  > mdadm
  madam> assemble md0 /dev/hda1 /dev/hda2 ...

depending on my mood.  Currently, the mdadm commands use various
formats for their arguement layouts and it's a pain to figure out what
to use.  

So before I get all worked up on this issue, and spend a bunch of time
mapping out how I think the commands should work, do people agree with
my observation?  

Thanks,
John

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

end of thread, other threads:[~2004-08-14 16:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-13 20:25 mdadm - comments on command layout John Stoffel
2004-08-14  2:28 ` berk walker
2004-08-14  9:56 ` Frank van Maarseveen
2004-08-14 12:33 ` Neil Brown
2004-08-14 14:46   ` maarten van den Berg
2004-08-14 16:26     ` Guy
2004-08-14 14:13 ` Mark Hahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).