cancel
Showing results for 
Search instead for 
Did you mean: 
Igris
Mission Specialist
Mission Specialist
  • 11.2K Views

How do you remember commands ?

Jump to solution

So while preparing for RHCSA configuring stratis you need the following in /etc/fsbab

x-systemd.requires=stratisd.service
 
yet if you do a man on stratisd you wont get that option. On the exam you dont have internet accees so if you forget it how would you proceed ? 
 
Just forfeit the task and get 0 points for it ? 
Labels (1)
19 Replies
TCarrigan
Flight Engineer
Flight Engineer
  • 5,330 Views

Hi All, I personally find this conversation intriguing. Would anyone be willing to write up a short article on this topic? If anyone is interested, feel free to email me directly at enable-sysadmin@redhat.com We'd love to get this type of information out to our audience!

@Tracy_BakerI thought your answer was particularly helpful/pragmatic!

0 Kudos
Armanator
Flight Engineer
Flight Engineer
  • 1,819 Views

Hi.

I'm studying for the RHCSA, taking it in a month.

How do you remember how to setup the BaseOS and AppStream repo's?

Any man/apropos tricks you can give me?

On my minimal installations when I man/apropos for anything related to repo's I don't find anything.

I know repetition is key, I have done this multiple times but I'm just wondering if there is something I can do if I freeze during the exam and brain fog sets in.

Thanks.

0 Kudos
Armanator
Flight Engineer
Flight Engineer
  • 1,816 Views

Nevermind, I figured it out. I will just use the media.repo file to remind me. If you are wondering where the media.repo file is, you see it when you mount the ISO file.

0 Kudos
isudoajl
Mission Specialist
Mission Specialist
  • 2,649 Views

I have an urgent question, tomorrow I present my exam and I thought it was something typical in the VM's of the RED HAT labs, but I just installed RHEL 8.2 as Guest OS in my own HOST out of curiosity to try the command [ man -k any_word_here ] and I I am realizing that the same thing happens, the output it gives me is: nothing appropriate.

Without being able to use this command I am dead! Do I need to enable something?

0 Kudos
AbhishekGalav
Mission Specialist
Mission Specialist
  • 2,648 Views
the -k option relies on man database,
Run mandb command as root user to generate the database and then try man -k <keyword>, it should work
RHCA II
isudoajl
Mission Specialist
Mission Specialist
  • 2,644 Views

Really thank you! Its work!

0 Kudos
Armanator
Flight Engineer
Flight Engineer
  • 1,815 Views

I would also recommend using the capital -K since it searches for the text in all pages.

0 Kudos
DM3
Cadet
Cadet
  • 2,395 Views

do "man vdo"

search for fstab

Use the "defaults,x-systemd.requires=vdo.service" and replace "vdo" with "stratisd"

Armanator
Flight Engineer
Flight Engineer
  • 2,388 Views

Thanks for all the answers, really helpful as I prepare for the RHCSA.

0 Kudos
enriqueB
Cadet
Cadet
  • 1,861 Views

On rhel9, I was never able to get a result when searching with man -k (even after running mandb and having vdo installed).  However, based on a search in /usr/share, i found

/usr/share/doc/systemd/NEWS

* New /etc/fstab options x-systemd.requires= and
x-systemd.requires-mounts-for= are now supported to express
additional dependencies for mounts. This is useful for
journaling file systems that support external journal
devices or overlay file systems that require underlying file
systems to be mounted.

Hopetully that will be enough to come up with the correct syntax.

I have no clue how to access that NEWS page using man, but you can just less the file and browse away.

 

0 Kudos
Join the discussion
You must log in to join this conversation.