LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-13-2007, 10:05 AM   #1
gunnerjoe
LQ Newbie
 
Registered: May 2005
Location: ABQ
Posts: 11

Rep: Reputation: 0
Software Raid 5 State - Dirty


Hi All,

System: RHEL4, latest updates and patches.

This is the output of mdadm /dev/md0 --detail

I'm curious about the "State : Dirty" is this something to worry about?

It will show "State : Clean" sometimes and "State : Dirty" other times.

Can someone expand on the meaning of "State : Dirty"

Thanks,

Joe

=============================================
/dev/md0:
Version : 00.90.01
Creation Time : Thu May 18 13:26:41 2006
Raid Level : raid5
Array Size : 208298496 (198.65 GiB 213.30 GB)
Device Size : 69432832 (66.22 GiB 71.10 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Tue Jan 30 07:30:01 2007
State : dirty
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0

Layout : left-symmetric
Chunk Size : 256K

Number Major Minor RaidDevice State
0 8 3 0 active sync /dev/sda3
1 8 18 1 active sync /dev/sdb2
2 8 33 2 active sync /dev/sdc1
3 8 49 3 active sync /dev/sdd1
UUID : fd15945d:fd36deb4:77f2eb73:320be835
Events : 0.1602838
 
Old 02-13-2007, 10:48 AM   #2
wpn146
Member
 
Registered: Jan 2005
Distribution: Solaris, Linux Fedora Core 6
Posts: 170

Rep: Reputation: 30
While your file system is active, it will set the "dirty" flag. If your system is booting and finds the "dirty" flag still set, it means the system was not shut down "cleanly" and might need to be recovered.
 
Old 02-13-2007, 10:49 AM   #3
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
This might answer your question.
 
Old 02-14-2007, 01:40 PM   #4
gunnerjoe
LQ Newbie
 
Registered: May 2005
Location: ABQ
Posts: 11

Original Poster
Rep: Reputation: 0
RAID Dirty

Thank You for the reply. I looked at that KB article and the following it what it said:

===========================================================
Symptom:
The RAID device /dev/md0 shuts down properly during a reboot. However, the following mdadm query shows the state as being "dirty, no-errors":

mdadm --detail /dev/md0

Solution:
This is the normal operation of a software RAID array. While an array is active, it is considered "dirty", as there could be incorrect parity blocks from new data written to the disk.
=============================================================

That is basically what "wpn146" said as well.

Thanks Again,

Joe

Last edited by gunnerjoe; 02-14-2007 at 01:41 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Brazilian state struggles to write free software license LXer Syndicated Linux News 0 12-21-2006 02:03 PM
Will a ex - Software Raid 1 disk boot without Raid software? carlosruiz Linux - Software 0 05-27-2006 01:12 PM
Dirty Software Raid Lanmate Linux - Software 1 12-13-2005 06:00 PM
Dirty "RAID"-array in linear mode after hdd went offline tomas412 Linux - Software 1 08-14-2004 10:12 AM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration