ReiserFS

From miki
Jump to navigation Jump to search

This page is part of the Linux Disk Management pages.

Tuning

For better performance, use mount switch noatime,notail (see [1])

Undelete

See [2]. Basically:

  • Stop any activity on the partition, unmount it!
  • Mount back the partition read-only, backup all data:
sudo tar cvzpf /data/backup.tgz .
  • Unmount the partition
  • Run reiserfsck (this step might corrupt even un-damaged files):
reiserfsck --rebuild-tree -S -l /root/recovery.log /dev/hda3
  • Look for files in lost+found
  • Restore the backup
sudo tar xvzpf /data/backup.tgz