Re: raid1 mysteriously switching to read-only

6 messages, 4 authors, 2005-12-11 · open the first message on its own page

Re: raid1 mysteriously switching to read-only

From: Neil Brown <hidden>
Date: 2005-12-10 12:10:33

On Saturday December 10, yang.geum.seok@gmail.com wrote:
Should I do format after make RAID-1(/dev/md0) device?
Yes.  format (mkfs) must come AFTER make RAID1 (mdadm -C).
After I format disks(/dev/sda1, /dev/sdb1), do not you compose to
RAID-1?
Don't format sda1 or sdb1.  Compose the RAID-1 first, and then format
md0.

NeilBrown

Re: raid1 mysteriously switching to read-only

From: Yanggun <hidden>
Date: 2005-12-11 13:04:25

Thank you very much.

Can you inform it is what difference technologically?

Yanggun

2005/12/10, Neil Brown [off-list ref]:
On Saturday December 10, yang.geum.seok@gmail.com wrote:
quoted
Should I do format after make RAID-1(/dev/md0) device?
Yes.  format (mkfs) must come AFTER make RAID1 (mdadm -C).
quoted
After I format disks(/dev/sda1, /dev/sdb1), do not you compose to
RAID-1?
Don't format sda1 or sdb1.  Compose the RAID-1 first, and then format
md0.

NeilBrown

Re: raid1 mysteriously switching to read-only

From: Patrik Jonsson <hidden>
Date: 2005-12-11 14:14:39

hello,

Perhaps this can answer some questions:

http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html

cheers,

/Patrik

Yanggun wrote:
Thank you very much.

Can you inform it is what difference technologically?

Yanggun

2005/12/10, Neil Brown [off-list ref]:
quoted
On Saturday December 10, yang.geum.seok@gmail.com wrote:
quoted
Should I do format after make RAID-1(/dev/md0) device?
Yes.  format (mkfs) must come AFTER make RAID1 (mdadm -C).
quoted
After I format disks(/dev/sda1, /dev/sdb1), do not you compose to
RAID-1?
Don't format sda1 or sdb1.  Compose the RAID-1 first, and then format
md0.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

!DSPAM:439c3231294002003030161!

Re: raid1 mysteriously switching to read-only

From: Yanggun <hidden>
Date: 2005-12-11 14:29:23

I did not find involved part with this in the document.

I am sorry, inform it is what section.

2005/12/11, Patrik Jonsson [off-list ref]:
hello,

Perhaps this can answer some questions:

http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html

cheers,

/Patrik

Yanggun wrote:
quoted
Thank you very much.

Can you inform it is what difference technologically?

Yanggun

2005/12/10, Neil Brown [off-list ref]:
quoted
On Saturday December 10, yang.geum.seok@gmail.com wrote:
quoted
Should I do format after make RAID-1(/dev/md0) device?
Yes.  format (mkfs) must come AFTER make RAID1 (mdadm -C).
quoted
After I format disks(/dev/sda1, /dev/sdb1), do not you compose to
RAID-1?
Don't format sda1 or sdb1.  Compose the RAID-1 first, and then format
md0.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

!DSPAM:439c3231294002003030161!

Re: raid1 mysteriously switching to read-only

From: Ross Vandegrift <hidden>
Date: 2005-12-11 17:13:50

On Sun, Dec 11, 2005 at 11:29:23PM +0900, Yanggun wrote:
I did not find involved part with this in the document.

I am sorry, inform it is what section.
Basically, the md driver acts like another hard disk.  So a regular
setup looks like this:

---------------------------------
|				|
|	Applications (ls, cat)	|
|				|
---------------------------------
		|
		v
---------------------------------
|				|
|	Filesystem (ext3)	|
|				|
---------------------------------
		|
		v
---------------------------------
|				|
|	Block layer (sda1/sdb1)	|	
|				|
---------------------------------

and a software RAID setup looks like this:

---------------------------------
|				|
|	Applications (ls, cat)	|
|				|
---------------------------------
		|
		v
---------------------------------
|				|
|	Filesystem (ext3)	|
|				|
---------------------------------
		|
		v
---------------------------------
|				|
|	Block layer (md0)	|	
|				|
---------------------------------
		|
		v
---------------------------------
|				|
|	Block Layer (sda1/sdb1)	|
|				|
---------------------------------

The format of sda1/sdb1 is the RAID data that the md driver writes to
them.  It form a complete layer of abstraction between your
applications and the actual devices you are storing data on.

-- 
Ross Vandegrift
ross@lug.udel.edu

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
	--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37

Re: raid1 mysteriously switching to read-only

From: Yanggun <hidden>
Date: 2005-12-11 23:28:03

thanks.

I am really appreciative for explaining painting.

Yanggun.

2005/12/12, Ross Vandegrift [off-list ref]:
On Sun, Dec 11, 2005 at 11:29:23PM +0900, Yanggun wrote:
quoted
I did not find involved part with this in the document.

I am sorry, inform it is what section.
Basically, the md driver acts like another hard disk.  So a regular
setup looks like this:

---------------------------------
|                               |
|       Applications (ls, cat)  |
|                               |
---------------------------------
                |
                v
---------------------------------
|                               |
|       Filesystem (ext3)       |
|                               |
---------------------------------
                |
                v
---------------------------------
|                               |
|       Block layer (sda1/sdb1) |
|                               |
---------------------------------

and a software RAID setup looks like this:

---------------------------------
|                               |
|       Applications (ls, cat)  |
|                               |
---------------------------------
                |
                v
---------------------------------
|                               |
|       Filesystem (ext3)       |
|                               |
---------------------------------
                |
                v
---------------------------------
|                               |
|       Block layer (md0)       |
|                               |
---------------------------------
                |
                v
---------------------------------
|                               |
|       Block Layer (sda1/sdb1) |
|                               |
---------------------------------

The format of sda1/sdb1 is the RAID data that the md driver writes to
them.  It form a complete layer of abstraction between your
applications and the actual devices you are storing data on.

--
Ross Vandegrift
ross@lug.udel.edu

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
        --St. Augustine, De Genesi ad Litteram, Book II, xviii, 37
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help