I accidentally deleted whole Documents folder. I want to use
extundelete to recover it. As a Ubuntu virgin I spent an hour to correctly write command:
sudo extundelete /dev/sda6 --restore-directory home/ladislav/Dokumenty
ladislav@Ladislav:~$ sudo extundelete /dev/sda6 --restore-directory home/ladislav/Dokumenty WARNING: Extended attributes are not restored. WARNING: EXT3_FEATURE_INCOMPAT_RECOVER is set.
How can I fix this?
The partition should be unmounted to undelete any files without further data loss If the partition is not currently mounted, this message indicates it was improperly unmounted, and you should run fsck before continuing. If you decide to continue, extundelete may overwrite some of the deleted files and make recovering those files impossible. You should unmount the file system and check it with fsck before using extundelete.
WHEN I TRY TO UNMOUNT IT, THE ANSWER IS BUSY...
ladislav@Ladislav:~$ sudo umount /dev/sda6 umount: /: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) Would you like to continue? (y/n) y Loading filesystem metadata ... 344 groups loaded. Loading journal descriptors ... 30498 descriptors loaded. Searching for recoverable inodes in directory home/ladislav/Dokumenty ... 3300 recoverable inodes found. Looking through the directory structure for deleted files ... 3300 recoverable inodes still lost. No files were undeleted.
What am I doing wrong? (Besides not keeping a backup of my data?)