Linux debugfs : Recover files. U ndeletion means restoring files which have been deleted from Linux ext3 file system using rm command. Deleted files can be recovered on ext3 file systems using the debugfs program. This quick tutorial describes how to recover a file that was recently deleted using nothing but standard Linux command line utilities. Only sys administrators and root user can view and recover the deleted files using debugfs command. You need to immediately unmount the file system the deleted file was located on to minimizes the risk that the data of the deleted file are overwritten by other users or system process. A step-by-step guide for recovering files using debugfs Create a text file called data.txt, enter: echo 'This is a test' > data.txt Display the index number (inode) of data.txt, enter: ls -li data.txt Sample outputs: 7536648 -rw-r--r-- 1 root root 15 May 3 12:40 data.txt Please note down inode # 7536648. To find out the contents...
Welcome to your go-to blog for all things DevOps and cloud technologies! Dive into comprehensive guides on Red Hat certifications (RHCSA, RHCE, RHCSS, RHCVA, RHCDS, RHCA), along with essential tools like OpenStack, OpenShift, and Rancher. Learn how to streamline workflows, master Cloud Storage, and optimize virtualization with VMware. Enhance your networking skills with CCNA and explore cutting-edge practices in Linux, automation, cloud computing, and DevOps pipelines.