I'm looking for some help around this task:
a) cd /
b) run #tar -cvf users.tar users
c) #umount -l /users
d) #mv /users /OLD_users
e) comment in fstab #/dev/redhat/users_lv /users ext4 defaults,nodev 1 2
So basically, I need to archive a directory, unmount it and then comment it from the /etc/fstab file.
Commenting the fstab, I think can be done via augeas. Could you please help me with the archiving section.
↧