Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am setting up a linux server CentOs at home on an old machine. I need to enable quotas and remount /home, however, when I run the mount command, it says that the /home is not found within the file. I checked out fstab and it is not in there. However, I do have /home directory. Any ideas what can be done?
Leonard, thanks for the replies. Will do as you said. Below you'll see the output. The partition I think is under root, not home.
Code:
[root@localhost ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
28770436 1216504 26092480 5% /
/dev/hda1 101086 9067 86800 10% /boot
none 159988 0 159988 0% /dev/shm
Code:
fdisk -l
Disk /dev/hda: 30.7 GB, 30758289408 bytes
255 heads, 63 sectors/track, 3739 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 3739 29929095 8e Linux LVM
Your fstab basically saying you don't have a seperate partition for /home, your /home is just a subdirectory of / (/dev/VolGroup00/LogVol00). Therefore unless you have a seperate partition you want to use for /home, there is no need to mount it, as it is already there (in the form of a directory on the root partition). I don't really understand what you are asking...
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Yep, you did not create a /home partition. You may want to re-install fresh and this time take the option to manually configure your partitions. This FC4 installation guide should help (very close to the CentOS installation process). Pay extra attention to the manually partitioning the drive with disk druid (Section 6 of the guide);
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.