Tag Archives: filesystem

Rebuilding a RAID1 mirror with Truecrypt container


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

Using exfat filesystems

Having recently dist-upgraded to Kubuntu 12.04 Precise Pangolin, I was kind of hoping for the system to be able to read the SDXC card from my Nikon camera. It’s a 64GB SD card with the filesystem exfat. Exfat is an M$ proprietary filesystem intended to replace FAT32 (vfat), and unfortunately Linux is still unable to read this filesystem (kernel 3.2.0-26). Doing some googling I found this link.

The solution to the problem is simple:

sudo apt-add-repository ppa:relan/exfat
sudo apt-get update
sudo apt-get install fuse-exfat


I still haven’t tried writing anything with this driver. I just want to be able to copy the images from my and the driver works well for this.

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

LVM: Growing a filesystem

Some quick notes on LVM:

  • Display information about physical volumes (PV)
  • Display information about all locical volumes (LV)
lvdisplay -a
  • Growing a logical volume
lvextend -L +1G /dev/mapper/rootvg-home
  • Growing the filesystem (this works for JFS)
mount -o remount,resize /home && mount -o remount /home

That last remount is just to make the filesystem writable again, since the resize sets the filesystem to read-only.

See the LVM-HOWTO for more information.

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