Hard Disk

Linux Hard Disk Maintenance

Monitoring Hard Disks with SMART

Linux Journal has an article introducing Self-Monitoring, Analysis and Reporting Technology (SMART). SMART is avaivalable in many Linux distros, including Slackware, Debian, SuSE, Mandrake, Gentoo, Conectiva ,and RedHat.

To install on Gentoo, do:

root# emerge -pv smartmontools

To install on Ubuntu, do:

Repartition Linux Disk and Move /root Around

This is a Linux server that does not have a floppy disk. It has ext2, ext3, and reiserfx on it. I want to preserve the conntent, while repartitioning the disks.

Move data in non-root partition

If the partitions you want to move or change are not root or boot, then it is easy. Just install "parted" and follow the instruction. Or do the same as in the next section "Move data in root partition" - no need to use dd. Just use tar to archive and unarchive. Use dd when you have to deal with low level stuff, such as data in /root, /dev, etc.