I'm trying to mount a western digital external hd to a fedora core server. Does anyone know what I put in the file system line in /etc/fstab? I tried tmpfs but I couldn't see the files i placed there when I moved to a new server. I also tried vfat but that wasn't compatible. It couldn't read ext3 file system. Does anyone know what else I could try?
I have 2 servers connected through a private network.. I wanted to remotely mount a folder on one of the servers. However when i do it gives me permission error..
On the server 1. Iptables are stopped
2. Exportfs shows the result fine
3. entry in hosts.allow and /etc/hosts is made
4. NFS is running fine
On the client: 1. NFS shows some error
Quote:
service nfs restart Shutting down NFS mountd: [FAILED] Shutting down NFS daemon: [FAILED] Shutting down NFS services: [FAILED] Starting NFS services: [ OK ] Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp). [FAILED] 2. Have done the entry is hosts.allow
3. Stopped iptables
4. when i mount i get this error
Quote:
mount -v 10.252.5.34:/mtest mtest mount: no type was given - I'll assume nfs because of the colon mount: trying 10.252.5.34 prog 100003 vers 3 prot tcp port 2049 mount: trying 10.252.5.34 prog 100005 vers 3 prot udp port 901 mount: 10.252.5.34:/mtest failed, reason given by server: Permission denied
However i read somewhere that NFS should be running on server and not necessary on client. But this error
I tried to mount second harddisk, but i faced error "mount: you must specify the filesystem type", please help, see below
Code: [root@s ~]# fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 38913 312464250 8e Linux LVM
Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/sdb1 * 1 13 104391 83 Linux /dev/sdb2 14 19457 156183930 8e Linux LVM [root@s ~]# mkdir /mnt/hd2 mkdir: cannot create directory `/mnt/hd2': File exists [root@s ~]# mount /dev/sdb2 /mnt/hd2 mount: you must specify the filesystem type
I currently have a VPS. I have installed cPanel/WHM + CSF Firewall.
Everything is fine and all the ports are closed except for the ones I need.
I currently have some issues I need to fix, but google isn't helping
Quote:
Check /tmp is mounted as a filesystemWARNING/tmp should be mounted as a separate filesystem with the noexec,nosuid options set
I tried googling this and there was a cPanel script but I do not have permission to run it. So does anyone mind explaining it to me one step at a time?
Quote:
You should consider adding ini_set to the disable_functions in the PHP configuration as this setting allows PHP scripts to override global security and performance settings for PHP scripts. Adding ini_set can break PHP scripts and commenting out any use of ini_set in such scripts is advised
I have disabled this in php.ini but I do not know why it still says that I have to fix this
I have a few folders mounted, but sometimes it drops off the network when the NFS server got rebooted or what not... how do I make sure that it's automatically remounted if the folder goes blank? Is there a way to do this?
I want to use DD to fully duplicate a HD, however, the HD is 120GB and also have a mount folder that is 2TB. If I use DD, will it also trying to copy that 2TB onto my 2nd HD?
I'm running centos 4.4 and i just installed another HD... seems like everytime I reboot the server, my mount is gone... This is what I have in my fstab:
The problem is that my hd is failed. Hoster setup new server, also installed the secondary drive but not mounted. So need advice how can i get my data off it?
I currently have a 160gb HDD and its almost full.. I wanted to mount another on the server so can anyone assist me in doing it..
And one more thing..
Currently i have all my data in the /home/user/public_html/ folder which is on my current HD.. Now if i add the second HDD to it how will the data be managed..
I mean if suppose someone uploads a file in my site then in which HDD will it go and when it gets downloaded then how will it know from where to download it..
My Setup 1 x [VPS1] OpenVZ Based VPS, with cPanel/WHM installed and Webmin. CentOS 4.4 1 x [VPS2] OpenVZ Based VPS, with OpenVPN installed, with Webmin. CentOS 4.4 1 x [VPS3] Xen Based VPS, with Webmin. FC4
All servers are in different remote locations.
What I would like
In each of the VPS's to have a directory called "shared" in the / directory.
It would be great if I could mount "shared" in the other two VPS's and share files securely.
How would I go about setting this up, I would prefer not to use OpenVPN as one of the VPS's has a custom setup of it.
I have a VPS ( Virtuozzo ) with Centos and a server where i only have normal user access ( shared hosting ).
I need to share some files that are on the server with the VPS. Is there a way to mount the shared hosting folder at the VPS having normal user access?
I was wondering if it's possible to install sshfs at a VPS ( i can't modify the kernel ).
A few days ago, when installing TUX, I have mounted the virtual hosting directory to var/www/html/mywebsite.com (that's an empty directory I created in order for TUX to work) via:
mount --bind /home/virtual/site1/fst/var/www/html/ /var/www/html/mywebsite.com/
command.....
After figuring out that TUX has some problems I reverted everything but not this mount --bind command.. What is the reverse command for this, so everything will come back to the point which they were before?