Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Need help with archiving a directory "/users", unmounting it and then commenting the fstab file

$
0
0
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.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>