LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-04-2009, 03:41 AM   #1
maestro2912
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
sofware raid issue


Hi,
I have problem with software RAID on Linux file server. Disks are still 24/7 working, even nobody access to data. I'm afraid that disks won't live a long time if it will continue.

Background:

I want to set up file-server with with 2x HDD 1 TB disks. I decided to use Linux software RAID, as "HW fake-RAID" on motherboard is supported only in Windows (I guess I can't recover data, if one my HDD fails where there is only Linux present. All I have is an BIOS utility, that does not provide recovery functionality).

So I
1) on both disk, removed all partitions and created new one 1TB partition with fd-type
2) erased superblocks
2) add disks together in RAID 1 with mdadm
3) formatted them to ext3 partition (because I need Debian Lenny as OS)
4) waited while they synchronized
5) move data on them

Problem1)
Disks in RAID are all time working, even no one use them. I use no special services, clean Debian Lenny install, with just Desktop & File-server package suites. I also install FTP. Only one process seems to use disks, kjournald, that has three instances.

Is this correct? Will disks live more then just one year with such disk activity?

I have bought disks WD Caviar Green, SATA Hard Drives, 1 TB, 32MB cache
http://www.wdc.com/en/products/products.asp?DriveID=336

Trouble is that they try to go to standby mode (slow rotations, park reading heads) after some short time. But parking heads produce different noise, so this is not an issue.

They are not 100% RAID disks, but they have small power consumption. This was wrong, and if is only this problem, I will buy RAID disks.

Any tips, what could be problem?

Even if I go to init 1, unmount /dev/md0 and stop RAID with mdadm -S /dev/md0, disks are still working.

Some information about system:

Code:
uname -a
Linux zazriva 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux

# dmidecode -t baseboard
# dmidecode 2.9
SMBIOS 2.4 present.

Handle 0x0003, DMI type 2, 8 bytes
Base Board Information
        Manufacturer: Hewlett-Packard
        Product Name: 0A50h
        Version: Not Specified
        Serial Number: HUB7020B6Q
Problem 2)
Small problem, fdisk is complaining about wrong partition table ?!
Disks are absolutely new, I guess I didn't do nothing wrong and I was trying a lot of things to work it out, and nothing solved it, so I ignore this. I can access data, RAID is writable.

Code:
#fdisk -l

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000338db

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      121601   976760001   fd  Linux raid autodetect

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000338db

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      121601   976760001   fd  Linux raid autodetect

Disk /dev/md0: 1000.2 GB, 1000202174464 bytes
2 heads, 4 sectors/track, 244189984 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

# fdisk -v
fdisk (util-linux-ng 2.13.1.1)

Thank everybody who respond to my questions.
 
Old 12-05-2009, 12:06 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Quote:
Originally Posted by maestro2912 View Post
Disks in RAID are all time working, even no one use them. [...] Only one process seems to use disks, kjournald, that has three instances.
That doesn't seem out of line to me, provided it isn't heavy activity. Note that kjournald mostly works with /proc, which isn't actually on disk. But, you may like to add a 'noatime' flag to your fstab: http://ubuntuforums.org/archive/index.php/t-369759.html

Quote:
Is this correct? Will disks live more then just one year with such disk activity?
Almost certainly yes, but you'll have to define "such disk activity." If they're just mulling a few bits here and there, who cares? If you're seeing something actually particularly abnormal, then there might be cause for concern. Regardless, disks rarely actually fail. ("Rare" is subjective.)

Quote:
I have bought disks WD Caviar Green, SATA Hard Drives, 1 TB, 32MB cache
http://www.wdc.com/en/products/products.asp?DriveID=336

Trouble is that they try to go to standby mode (slow rotations, park reading heads) after some short time. But parking heads produce different noise, so this is not an issue.

They are not 100% RAID disks, but they have small power consumption. This was wrong, and if is only this problem, I will buy RAID disks.
None of this seems relevant to me -- there may be disks marketed "for RAID," but really, it doesn't matter.

To summarize, I doubt that you /actually/ have a problem. Can you substantiate the amount of I/O you are seeing with some figures? Regardless, check out that link.
 
  


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
Sofware RAID woews. snowmobile74 Linux - Server 5 07-02-2009 07:21 PM
RAID 5 issue aaronanderson Linux - Server 4 08-08-2008 02:32 AM
Sofware RAID 1 + Fedora Core 3 + Boot Error L1 + GRUB 21 ERROR najeebsyed2 Linux - Hardware 0 10-25-2007 01:20 PM
RHEL5 mdadm sofware raid prob jmral23 Red Hat 1 06-19-2007 01:30 PM
Raid 5 Issue taotao07 Linux - Software 1 01-19-2006 01:13 PM

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

All times are GMT -5. The time now is 06:19 AM.

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