ReiserFS

From miki
Revision as of 18:50, 1 January 2012 by Mip (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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