LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-09-2012, 01:29 AM   #1
nandunay
LQ Newbie
 
Registered: Oct 2011
Posts: 9
Blog Entries: 4

Rep: Reputation: Disabled
how to add virtual hard disk parmanentally, if i add like this....


How to add virtual hard disk parmanentally in raid 5, if one HDD is demage, then remove that HD and add new HD in raid 5....that is added and data sirnk in that new add HD, but when i restart my syteme, in that case, new add HD is removed, why.............plz help......
[root@localhost ~]# mdadm -a /dev/md0 /dev/sdf1
mdadm: re-added /dev/sdf1
[root@localhost ~]# mdadm -D /dev/md0
/dev/md0:
Version : 0.90
Creation Time : Thu May 31 12:28:41 2012
Raid Level : raid5
Array Size : 10474112 (9.99 GiB 10.73 GB)
Used Dev Size : 5237056 (4.99 GiB 5.36 GB)
Raid Devices : 3
Total Devices : 3
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Sat Jun 9 11:22:30 2012
State : clean, degraded, recovering
Active Devices : 2
Working Devices : 3
Failed Devices : 0
Spare Devices : 1

Layout : left-symmetric
Chunk Size : 64K

Rebuild Status : 18% complete

UUID : fedca1e1:e9dd085a:39dd7baa:7c403756
Events : 0.144

Number Major Minor RaidDevice State
0 8 81 0 spare rebuilding /dev/sdf1
1 8 49 1 active sync /dev/sdd1
2 8 65 2 active sync /dev/sde1
[root@localhost ~]# mdadm -D /dev/md0
/dev/md0:
Version : 0.90
Creation Time : Thu May 31 12:28:41 2012
Raid Level : raid5
Array Size : 10474112 (9.99 GiB 10.73 GB)
Used Dev Size : 5237056 (4.99 GiB 5.36 GB)
Raid Devices : 3
Total Devices : 3
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Sat Jun 9 11:53:03 2012
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0

Layout : left-symmetric
Chunk Size : 64K

UUID : fedca1e1:e9dd085a:39dd7baa:7c403756
Events : 0.146

Number Major Minor RaidDevice State
0 8 81 0 active sync /dev/sdf1
1 8 49 1 active sync /dev/sdd1
2 8 65 2 active sync /dev/sde1


NOTE:::::::::
Now new HDD is addd, but, when i restart my pc, and i got that added HDD is removed, why..plz help..........

[root@localhost ~]# init 6

[root@localhost ~]# mdadm -D /dev/md0
/dev/md0:
Version : 0.90
Creation Time : Thu May 31 12:28:41 2012
Raid Level : raid5
Array Size : 10474112 (9.99 GiB 10.73 GB)
Used Dev Size : 5237056 (4.99 GiB 5.36 GB)
Raid Devices : 3
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Sat Jun 9 11:22:30 2012
State : clean, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Layout : left-symmetric
Chunk Size : 64K

UUID : fedca1e1:e9dd085a:39dd7baa:7c403756
Events : 0.144

Number Major Minor RaidDevice State
0 0 0 0 removed
1 8 49 1 active sync /dev/sdd1
2 8 65 2 active sync /dev/sde1

.....................................
 
  


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
[SOLVED] Is it possible to add an extra virtual disk in the Guest OS? RedNeck-LQ Linux - Virtualization and Cloud 1 11-14-2011 11:09 PM
How to add a new disk in Virtual PC? neo_in_matrix General 1 04-03-2006 02:31 AM
How to add another Hard Disk Drive? RHLinuxGUY Linux - Hardware 2 02-12-2006 12:33 AM
Add a second hard disk manoj142 Linux - Hardware 3 10-25-2005 12:48 PM

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

All times are GMT -5. The time now is 06:37 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