Tag Archives: dirty

Rebuilding a RAID1 mirror with Truecrypt container

Background

Rebuilding a RAID1 mirror with a Truecrypt container on it may require some additional steps. I guess that since no filesystem is visible on the disk, the RAID array is having trouble determining which disk to rebuild from. If your neighbourhood have had a blackout, the filesystem in the container is probably dirty anyway. This is how I take care of the matter on my external ICY Box IB-RD4320 USB chassi.

The manual for ICY Box IB-RD4320 USB chassi have this table regarding the meaning of the LED lamps on the unit:

Posted in Linux | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

LVM filesystem integrity

LVM gives you flexibility at the cost of more complexity. When a system with LVM configured is shutdown uncleanly, there may be some trouble getting back on track again.

Some notes from the top of my head, for occasions when this happens.

  • If your LVM system stops booting and complains about the disks, or the disks are suspected being dirty, boot into maintenance/single mode.

 

  • Search for your volume group to see that it’s available:
sudo vgscan

 

  • Activate your volume group:
vgchange -ay

 

  • Check filesystem integrity, for each of your logical volumes:
Posted in Linux | Tagged , , , , , , , , , , , , , | Leave a comment