New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Not able to mount disks to /home
I wish to mount /dev/sdb to /home with the command:
mount -t ext4 /dev/sdb /home
no error or any response from the terminal, but using mount or df it just not mounted.
I tried to rm -rf /home
and mkdir -p /home
still the same.
But with the same code, I can mount it to /data
Does anyone know what's wrong with it?
Comments
shot in the blind: /home is already a mounted fs? Normally that would throw an error but you never know...
Paste output from:
mount
mount -v - t ext4 /dev/sdb /home
cat /etc/fstab
You seem to be trying to mount the disk it self normally you mount just a partition like mount /dev/sdb1 /home
this
You say that he CAN mount disk it-self on /data but not on /home?
I wonder if this could be because of SELinux? I cannot try on my Centos dedi, I have nothing to mount...
No. My thought was that /home is already a mounted partition while /data is a folder.
Linux will quite happily mount multiple volumes onto a single mountpoint.
OS ? System ? any other info ?
lsof /home ?
Start with
fdisk -l
people, JFC.systemctl daemon-reload, then a partprobe for good measure :P
Maybe his user does not have suffisant privilege ?
The thing is that everyone else in this thread seems to care more about the OP's problem than the OP himself cares about it.
Maybe it's a trolling act that had everyone hook, line and sinker.