Editing
Raid
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Uitbreiden van de array == Het uitbreiden van de array gaat door eerst spares toe te voegen en daarna de array met de spares uit te breiden <pre> root@host:~# mdadm -a /dev/md0 /dev/sdc3 /dev/sdd3 root@host:~# mdadm -a /dev/md1 /dev/sdc4 /dev/sdd4 root@host:~# mdadm --grow --raid-devices=4 /dev/md0 root@host:~# mdadm --grow --raid-devices=4 /dev/md1 </pre> Volg het proces met watch cat /proc/mdstat Aan het einde van het proces laat de array de nieuwe omvang zien met <pre> root@host:~# mdadm --detail /dev/md0 /dev/md0: Array Size : 37722624 (35.98 GiB 38.63 GB) Used Dev Size : 12574208 (11.99 GiB 12.88 GB) Raid Devices : 4 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 2 8 19 1 active sync /dev/sdb3 3 8 35 2 active sync /dev/sdc3 4 8 51 3 active sync /dev/sdd3 root@host:~# mdadm --detail /dev/md1 /dev/md1: Array Size : 668891136 (637.90 GiB 684.94 GB) Used Dev Size : 222963712 (212.63 GiB 228.31 GB) Raid Devices : 4 Number Major Minor RaidDevice State 0 8 4 0 active sync /dev/sda4 2 8 20 1 active sync /dev/sdb4 3 8 36 2 active sync /dev/sdc4 4 8 52 3 active sync /dev/sdd4 </pre> Of met: <pre> root@host:~# array-info -a -d /dev/md0 MD Linux driver Version 1.2.3 Creation time : Sat Apr 2 17:19:25 2557 Fault tolerance : RAID 5 Array Size : 35.98 GiB Status : Logical drive is ok Devices : 4 Size : 11.99 GiB Raid : 4 Active : 4 Working : 4 Failed : 0 Spare : 0 RaidDevice State 0 active synchronized -1 removed 1 active synchronized 2 active synchronized root@host:/etc/mdadm# array-info -a -d /dev/md1 MD Linux driver Version 1.2.3 Creation time : Sat Apr 2 17:20:06 2557 Fault tolerance : RAID 5 Array Size : 637.90 GiB Status : Logical drive is ok Devices : 4 Size : 212.63 GiB Raid : 4 Active : 4 Working : 4 Failed : 0 Spare : 0 RaidDevice State 0 active synchronized -1 removed 1 active synchronized 3 active synchronized root@host:/etc/mdadm# </pre>
Summary:
Please note that all contributions to Webhuis wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see
Project:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Voorpagina
Cobol and PostgreSQL
PostgreSQL
CFEngine
Proxmox
Webhuis Kennisbank
Basale infra
Webhuis bouwstenen
Webhuis configuratie
Webhuis Infra
Webhuis Support
Webhuis Raspberry
Opzet Applicaties
Business Applicaties
Community portal
Current events
Recent changes
Random page
Help
sitesupport
Tools
What links here
Related changes
Special pages
Page information