Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Talk:Raid
(view source)
Revision as of 00:41, 16 December 2012
706 bytes added
,
00:41, 16 December 2012
no edit summary
Line 34:
Line 34:
# Boot up login to admin panel and add sdb to the array, and wait for raid to fully sync.
# Boot up login to admin panel and add sdb to the array, and wait for raid to fully sync.
# Reboot with both drives in place, and check RAID health is OK.
# Reboot with both drives in place, and check RAID health is OK.
+
+
+
mdadm --grow /dev/md2 --size=max
+
pvresize /dev/md2
+
lvresize -l +100%FREE main/root
+
ext2online -C0 /dev/main/root
+
+
In the last command above, the -C0 is: dash C zero
+
+
If you receive an "command not found" error, try this:
+
resize2fs /dev/mapper/main-root &
+
+
TIP: I put an "&" at end to allow it to run in background even if I close ssh session.
+
+
+
Notes :
+
* All of this can be done while the server is up and running with the exception of #1.
+
* These instructions should work for any raid level you have as long as you have >= 2 drives
+
* If you have disabled lvm
+
# you don't need the pvresize or lvresize command
+
# the final line becomes ext2online -C0 /dev/md2 (or whatever / is mounted to)
Trex
Administrators
1,574
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search