• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

RHCSA Exam with Complete Solutions

Document preview thumbnail
Preview 2 out of 11 pages

RHCSA Exam with Complete Solutions

Content preview

RHCSA Exam with Complete Solutions
You are new System Administrator and from now you are going to handle the system and your
main task is Network monitoring, Backup and Restore. But you don't know the root password.
Change the root password to redhat and login in default Runlevel. Correct Ans-rd.break

mount -o remount rw /sysroot

chroot /sysroot

passwd

passwd rx admin

touch /.autorelabel

Exit

Reboot




Make on data that only the user owner and group owner member can fully access. Correct
Ans-• chmod 770 /data

• Verify using : Is -Id /data Preview should be like:drwxrwx— 2 root sysadmin 4096 Mar 16
18:08 /dataTo change the permission on directory we use the chmod command.According to
the question that only the owner user (root) and group member (sysadmin) can fully access the
directory so: chmod 770 /data




1. Resize the logical volume vs and its filesystem to 290 MB. Make sure that the filesystem
contents remain intact. Note: Partitions are seldom exactly the same size requested, so a seize
within the range of 260 MB to 320 MiB is acceptable Correct Ans-'lvdisplay'

'lvextend' -l 100M -r /dev/vg_name/lv_name'

, ###IF not enough space

'fdisk'

p, n, e, default, default, default, n, l, default, default, +100M, t, 8e, w

'partprobe'

'vgextend /dev/vg_name/ /dev/new_partition'

'lvextend -l 100M -r /dev/vg_name/lv_name



shrinking process:

'amount /mounted_path

lvreduce -L 100M -r /dev/vg_name/lv_name'

Remount filesystem:

if on fstab then 'mount -a'

if manually mounted ' mount /dev/vg_name/lv_name /mount_path




Create a volume group, and set the size is 500M, the size of single PE is 16M. Create logical
volume name lv0 in this volume group, set size is 20 PE, make it as ext3 file system, and
mounted automatically under data. Correct Ans-pvcreate /dev/vda3

vgcreate -s 16M vg0 /dev/vda3

lvcreate -n lv0 -l 20 vg0

mkfs.ext3 /dev/mapper/vg0-lv0

mkdir/data /etc/fstab:

/dev/mapper/vg0-lv0 /data ext3 defaults 0 0

Document information

Uploaded on
November 12, 2024
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
KeithAndrews
3.0
(28)
Sold
135
Followers
5
Items
15485
Last sold
1 week ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions