examining the layout of an existing raid device?
Maybe I'm just stupid, but is there a way to figure out the exact geometry (e.g. pretty print of the superblock) for an existing array somehow? I couldn't find anything in the mdadm man page for it.
Quoted 3 lines · On Mon, 26 Sep 2011 06:18:24 -0400 Christoph Hellwig <[email protected]> wrote:
Maybe I'm just stupid, but is there a way to figure out the exact geometry (e.g. pretty print of the superblock) for an existing array somehow? I couldn't find anything in the mdadm man page for it.
mdadm -E /dev/sda
will print the metadata on device /dev/sda which describes the array that it is a member of.
mdadm -D /dev/md0
will print the geometry of the array /dev/md0
Is that what you wanted?
NeilBeown
Quoted 11 lines · NeilBrown
Quoted 3 lines · On Mon, 26 Sep 2011 06:18:24 -0400 Christoph Hellwig <[email protected]> wrote:
Maybe I'm just stupid, but is there a way to figure out the exact geometry (e.g. pretty print of the superblock) for an existing array somehow? I couldn't find anything in the mdadm man page for it.
mdadm -E
/dev/sdawill print the metadata on device
/dev/sdawhich describes the array that it is a member of.
Ok, that includes the information I was looking for, including the chunk size, and layout.