Hot answers tagged

14 votes

Why hard link doesn't corrupt if we remove the original file?

You seem to misunderstand what a hardlink and a file is in Unix. The basis of a Unix filesystem are files. A file is an unstructured anonymous bytestream. A file does not have a name. It only has a ...
Jörg W Mittag's user avatar
10 votes
Accepted

Why hard link doesn't corrupt if we remove the original file?

It is because hardlinks are essentially references to the same file, and there's no "original" file in terms of hardlinks. They point to same data structure on the disk (the inode that ...
Danila Vershinin's user avatar
4 votes

Why hard link doesn't corrupt if we remove the original file?

On Linux, what uniquely identifies a file filesystem-wide is the inode number. This is nothing more that a numeric ID, guaranteed to be unique one the entire filesystem (note: inodes can be recycled, ...
shodanshok's user avatar
2 votes

pvcreate No device found for /dev/vdb

You're already running Logical Volume Management (LVM). You have shown that your VM knows only about its system disk, /dev/vda, and your command pvcreate /dev/vdb is trying to create a new Physical ...
Chris Davies's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible