LFCS Lab - Files, Directories, Hard and Soft Links issue

I am facing issue on the question of lab,
link- learn.kodekloud.com/user/courses/linux-foundation-certified-system-administrator-lfcs/module/115b1db7-7970-4cc8-91d4-0ac4892fed9f/lesson/495e559c-1315-45d4-9f65-48c4cdf39d15?autoplay=true

we cant create hard link if filesystem are different so i can’t go to next question.

here is the screenshot-

Hi @Jay-Mewada

Thanks for reporting this. It appears there’s some filesystem issue with this question.
I’ve notified the lab’s team and requested for early resolution of this question in the lab.

Regards.

Please notify once it is resolved, so I can continue with my study excercise.

1 Like

I would like to mention I have come across this same issue as well

Hi @dark_knightuk , @Jay-Mewada ,

The team has fixed the issue. Please check.

Regards,

hi @Tej-Singh-Rana , i dont think it has been fixed as i am still fixing the issue

Hi @kewyj ,

The error “ln: failed to create hard link ‘/home/bob/hlink’ => ‘/tmp/hlink’: Invalid cross-device link” occurs when trying to create a hard link between files that reside on different filesystems or partitions. Hard links can only be created within the same filesystem

So, the team has updated the path. It’s no longer /tmp/; it’s now /opt/.

Regards,

1 Like