The server is displaying these errors when I tried to do an FSCK: Bad inode IO ext3-fs error (device(8,3)) IO Failure
I am having a new primary installed and old primary set as 2nd drive. I need to recover the cpanel domain accounts from this 2nd drive after I mount it with the method below:
mkdir /backup mount /dev/sdb1 /backup
However, how do I actually recover these accounts in an automated process via whm? I've done this before with the same matter (corrupt primary drive, mount as 2nd, etc) but cannot exactly remember the proper steps.
1- i did Os Reload with new Hard drive for "home" 2- data "backups" drive lost
3- replaced the old home drive as "/old drive"
4- " /old drive " is now the secondry drive in my server and it has the all sites usres and evry thing
5- what i need , to trasfer, copy this sites from " /old drive " to "home"
but data center said
The /olddrive/home directory contains the contents that were previously in the /home directory. You can copy files from this directory to any other directory on your server.
The command to copy files in the UNIX environment is the "cp" command.
The user directories in /olddrive/home directory contain the web page files for the users. However, simply copying the contents over will not recreate the users or domain entries in DNS/httpd. If you wish these back you will need to recreate them manually or restore them from backups.
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?
Since my linux server is out of disk space, I just use cifs to mount some drives from the windows server for people to download files (usually 100-200mb/file).
But I found the performance is not good. For example, I need to wait for a long time before the download process begin. Also, it seems the load average of the server becomes high too.
Is there any suggestion? Should I mount the windows drives through cifs? Or should I change to another server which allow me to add more local harddisks? How about if I mount drives in other linux machine, will the performance better?
I just purchased a brand new 10K 150GB drive. How can I take an exact copy of my current drive and transfer everything over to the new drive? I think I need to create a snapshop, or mirror it somehow.
What software will do this? I was told trueimage, but its very pricy, is there anything else?
I have a dedicated box and I started getting Input/output errors today.
I tried: # fsck fsck 1.40-WIP (14-Nov-2006) e2fsck 1.40-WIP (14-Nov-2006) /dev/hda2: recovering journal fsck.ext3: unable to set superblock flags on /dev/hda2
then I tried: # fsck -a -t ext3 /dev/hda2 fsck 1.40-WIP (14-Nov-2006) /dev/hda2: recovering journal fsck.ext3: unable to set superblock flags on /dev/hda2
My data is backed up, so was going to ask for a reimage, but is this an indication of bad hardware? Should I ask for a replacement drive? Is there anything else I should try on my own before going to the host?
I have a Win2K3 server which has 2 hard drives. I was considering backup options and I thought that I might try mirroring Drive A ==> Drive B. I would think that, then, if Drive A has a hardware failure, I could simply switch Drive B into the Primary slot (A) and the server would continue to hum along as nothing has happened. This would reduce the downtime, hopefully.
I have 3 questions.
1. Is this idea practical (will it work)? 2. What is a good software program to use fto handle the mirroring? 3. Any considerations, warnings, technical advice in regard to this method?
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'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 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:
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..