Harddrive Mount
Jul 19, 2007i failed to mount one harddrive taken from Red Hat to centos 5 server, the thing is that this drive is one of 2 drives in Raid 1
View 0 Repliesi failed to mount one harddrive taken from Red Hat to centos 5 server, the thing is that this drive is one of 2 drives in Raid 1
View 0 RepliesMy filesystm is damaged, I cannot make record in some files.
At users it is impossible to change passwords in WHM because at attempt of record in a file/etc/passwd there is a mistake - Error writing/etc/passwd: Read-only file system.
At attempt to activate shell access for an account in WHM:
===============
Shell Access Manager
Enabling shell access for user fotograf
Changing shell for fotograf.
Shell *NOT* changed. Try again later.
===============
Constantly there are the mistakes with write on a disk (/, /etc)
I EVERYDAY ran command in SSH:
===============
shutdown-rF now
===============
After that, all problems with file system are solved, but through some hours they again appear.
Attempt to create file in /
====================
Error writing tuning-primer.sh: Read-only file system
====================
FSCK solves my problems only at some hours.
Quote:
[root@*** unixbench-4.1.0-wht-1]# badblocks -vv /dev/hda
Checking blocks 0 to 78125000
Checking for bad blocks (read-only test): done
Pass completed, 0 bad blocks found.
I can ask to replace a hard disk, but whether it is necessary to do it? Whether it Requires replacement?
I a powerful cPanel server and I'm afraid of running out of I/O resources before the CPU and memory. So what do you think about having a different drive for MySQL DBs. Should this lower the risk of running out of I/O resources?
View 5 Replies View RelatedI have a FreeBSD system with cPanel on it, and the harddrive has failed.
It keeps saying there is an incorrect superblock, and it can't mount the drives.
Both the datacenter technicians and myself can't seem to get it to mount, and we need to recover the information. fsck fails, continiously.
The irony here is that the backup harddrive on the secondary server blew up a few weeks ago, and while I thought it was backing up to another account it apparently hasn't been.
about a server of mine that went down recently. Its a RAID10- 8hdd setup and there seems to be a hdd that died (at least according to host) and the OS is not loading. I am a newbie to servers and am curious if data will be lost (which I hope not) and what procedures are taken in the event a drive fails in a RAID setup.
A couple more specific questions, based on notes from DC
- What if fsck is being run on the failed RAID drive?
- What happened if the OS doesnt load from raid10 (8 drives) anymore?
- One partition only showed up as 3mb large when knopix was run
I am still waiting from the support at the DC (been 4 days wait), so just wanted to get some insight from others who might have went thru a similar situation.
I have a windows 2003 VPS and I'm not satisfied with the HD I/O speed, and before I mention what speeds I am getting I just want to see what people say should be plausible. I want to know if I am thinking I should get more out of the VPS then I really should.
Anyway, I used this program from ATTO to benchmark:
short-media.com/download.php?d=108
Called ATTO Disk Benchmark
If anyone is willing, run it on your VPS and post a screenshot. It's a standalone .exe, no install needed.
i have a server has problem,
i want to copy the files of the problemed server to another one,
how can i mount the hd of the problemed server to another running server?
my server is centos 5.3
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 recieve an error related to tmp directory while i try to install something. How can i mount it without a problem?
./xxxxx.Linux.i386.rpm.bin: /tmp/xxxxx_test.sh: /bin/sh: bad
interpreter: Permission denied
./xxxxx.Linux.i386.rpm.bin: The directory '/tmp' is mounted with no execution permissions.
File: /etc/fstab
Code:
/dev/VolGroup00/LogVol00 / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs noexec,nosuid 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/swapdosya swap swap defaults 0 0
/tmp /var/tmp ext3 defaults,bind,noauto 0 0
/var/tmpMnt /tmp ext3 loop,rw,noexec,nosuid,nodev 0 0
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?
View 3 Replies View RelatedI wanted to mount a folder located on server A to server B like we do in NFS.
But i wanted to use another software as nfs isnt working
Mine is Centos 5
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
What options or tools are available to mount your VPS from a Windows XP desktop?
View 7 Replies View RelatedI 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?
View 4 Replies View RelatedI'm not good at linux. I have install cpanel on hdd 1. I added hdd 2 to server, but i can access this hdd 2. Please tell me how to mount hdd 2 for me.
I used fdisk -l and I found 2 hdd, but only sda I can access and sdb can't not.
Thank you
Code:
root@viva [~]# fdisk -l
Disk /dev/sda: 147.0 GB, 147086327808 bytes
255 heads, 63 sectors/track, 17882 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 1318 10482412+ 83 Linux
/dev/sda3 1319 2623 10482412+ 83 Linux
/dev/sda4 2624 17882 122567917+ 5 Extended
/dev/sda5 2624 2884 2096451 83 Linux
/dev/sda6 2885 3015 1052226 83 Linux
/dev/sda7 3016 3269 2040223+ 82 Linux swap / Solaris
/dev/sda8 3270 17882 117378891 83 Linux
Disk /dev/sdb: 147.0 GB, 147086327808 bytes
255 heads, 63 sectors/track, 17882 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 1318 10482412+ 83 Linux
/dev/sdb3 1319 2623 10482412+ 83 Linux
/dev/sdb4 2624 17882 122567917+ 5 Extended
/dev/sdb5 2624 2884 2096451 83 Linux
/dev/sdb6 2885 3015 1052226 83 Linux
/dev/sdb7 3016 3269 2040223+ 82 Linux swap / Solaris
/dev/sdb8 3270 17882 117378891 83 Linux
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?
View 3 Replies View Relatedmount secondary H.D.D to /backup, but i have following error after run "mount /dev/sdb1 backup"
mount: unknown filesystem type 'ntfs'
How can change secondary hard disk file system to linux?
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:
mount /dev/sdb1 /drive2 defaults 1 3
I must not even understand the basics of how mounting works in Linux.
Physical drive /dev/sda1 is mounted at /
I created a software RAID array (using mdadm) out of two other drives using mdadm, at /dev/md0, and mount it at /vol:
mount /dev/md0 /vol
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 2.2G 7.3G 23% /
/dev/md0 200G 470M 200G 1% /vol
Now I start creating files in /vol/*
Then I unmount /dev/md0
I still see the files at /vol/*. They seem to be on /dev/sda1.
So how do I use the RAID array at /dev/md0 that I tried to mount at /vol?
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?
View 3 Replies View RelatedI must not even understand the basics of how mounting works in Linux.
Physical drive /dev/sda1 is mounted at /
I created a software RAID array (using mdadm) out of two other drives using mdadm, at /dev/md0, and mount it at /vol:
mount /dev/md0 /vol
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 2.2G 7.3G 23% /
/dev/md0 200G 470M 200G 1% /vol
Now I start creating files in /vol/*
Then I unmount /dev/md0
I still see the files at /vol/*. They seem to be on /dev/sda1.
So how do I use the RAID array at /dev/md0 that I tried to mount at /vol?
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..
Is it ok to mount 2nd drive after /home directory?
example: /home/user/backup
I'm not running any webhost server or mail server, just pure file server. The reason is because I want to have more space 80GB+80GB =160GB
i have a two hard disks
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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 267 2040255 82 Linux swap
/dev/sda3 268 30401 242051355 83 Linux
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30401 244196001 a5 FreeBSD
how can i mount /dev/sdb1 as backup drive
I have a NAS to mount but it disappears on every (re)boot. How do I automatically mount it on boot?
View 4 Replies View RelatedI have a hard time to mount SL's Lockbox under FreeBSD. Can anyone help how the exact command should looks like?
View 4 Replies View RelatedWe want to implement NFS mount and do backups via NFS mount. We want to know
whether there is any risks in doing this. Is it stable?
Can we use NFS for backing up cpanel servers ?
We want to know whether is there any advantages or disadvantages of using NFS
to have cPanel backup. Will it cause the server to crash?
Not sure where to start with this one...
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 ).
This is what I got from the tech support:
Quote:
I able to manage to mount your old var, tmp, usr, and even the old root partitions but the home partition were unsuccessful.
I've tried mounting your old home partition but i was unsuccessfull which might be a bad sector of the drive.
Code:
# mount /dev/ad3s1g /mnt/oldhome/
mount: /dev/ad3s1g: Operation not permitted