Personal tools
You are here: Home log zhoudb syncing sdb1 and sdc1
Document Actions

syncing sdb1 and sdc1

make sdc1 have the same content as sdb1

/dev/md0 is comprised of /dev/sdb1 and /dev/sdc1. Due to unknown reason, /dev/md0 was broke last last Friday night. I inactivated it and mounted /dev/sdb1 as /db and started postgresql. Now drake is gluing them back.

umount /db time dd if=/dev/sdb1 bs=1M of=/dev/md0

Don't remount /db from sdb1, or from md0 until the copy is complete. I'll also fsck it just to be sure before mounting. This should take 2.5 hours at the current rate.

« November 2009 »
Su Mo Tu We Th Fr Sa
1234567
89101112 1314
1516171819 20 21
22232425262728
2930
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: