I have two partitions on my hard drive, each have an installation of windows XP, the old partition got corrupt and I can no longer boot windows from it, however I am able to see the files when on the other partition, the problem is I am unable to access the files.
Is there anyway I can get permissions to delete/move those files?
I have a disk in raid, but it seems raid is not working correctly. I took it out, and plug into another server without raid. However, fdisk shows error
Quote:
#fdisk /dev/sdb device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable.
The number of cylinders for this disk is set to 20023. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help):
Should I correct the partition table now, or should I put it in another raid for checking?
i have centos 5 server i want install xen on it on my server is just one partion how may i resize this partion( without format partion/with put delete data) and then create lvm partion?
XP Home, Verizon DSL, AVG, ZoneAlarm, CoffeeCup FTP, FileZilla FTP
So this all started about 5 days ago and I cannot think of anything that I did to associate this issue with. I'm very computer savvy and no one else uses this computer except for me (to help move things along faster). Essentially what happens when I start CoffeeCup FTP or FileZilla FTP (testing to make sure it wasn't just a problem with CoffeeCup FTP) and try to upload image files it fails, not the upload itself.. but somehow the image files are corrupt (no they're not CMYK, they're RGB). So it shows the file on my server, correct size, no error messages. However, when I go to the image URL it just shows the image URL where the image should be. I then restart CoffeeCup FTP and everything uploads properly. I've checked the lines on DSLReports.com, I've checked ZoneAlarm to make sure that I didn't somehow accidentally click no to something (which is unlikely). I keep my computer very clean and very organized and very up to date so it would be more helpful to me if someone could share some ideas of something that could happen that's not of my control. Could this possibly have anything to do with SP3 (the only thing I can recall being a change on my computer).
i have install 3-4 dell PE server withn cenots 5, on the server there is only the OS, i have reboot the server and it work fine, after 4-5 days the system was unstable rebooting it i have note that can mount the partition, i have check the /etc/fstab and i have found that the fstab was corrupt, there are a lot of entry for /dev/shm, why happend this? how can i recove the fstab?
i have a strange issue on my centos 5, the fstab get corrupt, we have reinstall the OS and with the server empty it get corrupt again, the same problem on a second server, seem that is add /dev/shm line, like this one:
I created a 4GB disk image for a virtual machine in Xen. (I have root on the physical box, so please don't tell me to contact my VPS provider!)
The disk was filling up, so I took the advice online and created a 6GB file with dd (zero-filled), cat'ed it to the end of my disk file, and then...
[matt@babe centos]$ sudo resize2fs -f ./cent.img resize2fs 1.39 (29-May-2006) resize2fs: Bad magic number in super-block while trying to open ./cent.img Couldn't find valid filesystem superblock. Of course, fsck won't take a disk image, only an actual partition. And I can't mount it, since I get the same error about a bad superblock.
The VM actually boots up fine, but it only sees 4GB of what's now a 10GB file.
I can use losetup to mount it on a /dev, but still get fsck errors:
[matt@babe centos]$ sudo fsck.ext3 -b 8193 /dev/loop3 e2fsck 1.39 (29-May-2006) fsck.ext3: Bad magic number in super-block while trying to open /dev/loop3
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>
I don't know what blocksize was used, so I don't know where to look for a superblock... (I'm out of my league on fsck'ing virtual disks.)
The thing boots fine and is non-mission-critical right now, so worst-case, I can just mount it, rsync the data to the host, and then set up a new machine and rsync that in... I'd just rather not go through that hassle if I don't have to.
O/S was corrupt so I had to do a reload on a new drive. I'm trying to mount original drive (already connected as 2nd) but it is not showing up in df -h
root@server080 [~]# dumpe2fs /dev/sdb1 | grep -i superblock dumpe2fs 1.35 (28-Feb-2004) Primary superblock at 1, Group descriptors at 2-2 Backup superblock at 8193, Group descriptors at 8194-8194 Backup superblock at 24577, Group descriptors at 24578-24578 Backup superblock at 40961, Group descriptors at 40962-40962 Backup superblock at 57345, Group descriptors at 57346-57346 Backup superblock at 73729, Group descriptors at 73730-73730
/etc/fstab shows
Code: # This file is edited by fstab-sync - see 'man fstab-sync' for details LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 LABEL=SWAP-sda2 swap swap defaults 0 0 /dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0 /dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
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.
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 VPS Windows. I want to resize partition C 50Gb become 20Gb and then create partition D 30Gb for data , I used softwares Partition Manager 8.5 Enterprise Server Edition, Acronis Disk Director Server 10.0.2169 but I can't.
I used command line :
sfc /scannow
to check HDD on this VPS Server 2003 64b but can't too.
my DC has partitioned my server really complicated and im trying to install various different control panels and im running out of space, so id like to combine all my partitions into one.
I'm trying to install CentOS5. Although the default partition should work fine for me, but I would like to create my own partition for /var, /usr/, /tmp, /swap, etc. Can you recommend me a good partion including the size. My server has 4GB RAM and 500GB SATA2 HDD. I don't use much space of HDD.
The server I got from LayeredTech has two hard drives, obviously they set up the first hard drive with Linux etc.
The second hard drive is just there, not showing any partitions in 'fdisk' when I checked, so I assume they just leave it blank in every new server for the owner to deal with however they want.
I've been looking up guides to create a new partition for the full size of the hard drive and then mount it. However, it hasn't been very successful. Everytime I created the partition in fdisk, I have to set a size, and then when I mount it, it only says that the drive is ~98MB big.
Is there a way to partition the drive to its full capacity? And then mount it somewhere on the system? Or anywhere I can go to to find out easily?
I recently ordered a new dedicated machine and for some reason the guys set it up so the /home partition is a massive 250GB, and the / partition is a tiny 20GB. Since that's where all the plesk domains will be storing their files, I'd like to resize things a bit. I'm thinking of making the / partition 200GB and the rest for /home
It's a CentOS machine and the filesystems are ext3.
How can I do this resizing, and are there any caveats I should be aware of?
im assembling my server now....waiting on the 90degree connectors. It is as follows:
SUPERMICRO CSE-512L-260B Black 14" Mini 1U Server Case ASUS M2N-MX SE Plus AM2+/AM2 NVIDIA GeForce 6100 Micro ATX AMD Motherboard AMD Athlon 64 X2 4200+ Brisbane 2.2GHz Socket AM2 65W Dual-Core Processor Dynatron A48G 70mm 2 Ball CPU Cooler - Retail 2gb ddr2 6400 ram Seagate 500gb 7200.11 32mb hdd WD 37gb raptor 10k rpm
the wd drive was lying around the house so i figured id add it since i had an extra slot and figured the speed wouldnt hurt.
My question is....how should i partition the drives.? I have 500+gb of space on 2 hard drives. I plan on using centos 5.1 and am downloading the iso now.
If this is not in the right forum for this... I'm sorry didnt knew where else it may go.
I have to build a new server with RAID 1 and WHM/Cpanel installed (in fact i dont have to, but i need to learn ASAP and my boss gave me an old server for practice).
I've seen the installation guide of cpanel but the sizes of the partitions apply to a disk of 80 GB (i think so) so is there any way to calculate the size of the partitions, regardless of disk size? cuz mine are of 250 gb each.
I'm trying to install it on centos 5 on text mode, so far i have been able to successfully install the system (with partitions of any size... since is a test doesnt matter) with RAID 1.
After that i ran cat /proc/mdstat and in some partitions shows me this
Rsync=Delayed
I've read in some places that this is not a big issue... but in other places says it is... maybe i did something wrong
I've got Centos 4 and I'm wondering what's the best way to cleanup my /boot partition?
Tried to do a yum update tonight and it included kernel, amongst other updates that belonged there so it stopped. I've googled around for commands to run and whatnot, but no go... or I just can't find it... if I had to clean it up I have an idea already about what to do, but I want to ask for advice first to see if there's an easier way.
I just received a new server, I have been using always the partition scheme 'x2 ram swap, 1GB /tmp, /boot and /", but im not sure if I should get the new server re-formatted with that scheme (the HD is 250GB, so I will get 2GB /tmp), or stay with the current one:
I dont really see anything better, since I have all the available space in my old scheme. Anyway, which one do you think is better for a cPanel server, or you like to use and the reason?
I have webserver running php with apache suexec and my /home partition is mounted with noexec in fstab.
My httpd.conf includes line like Action application/x-httpd-php5.cgi /cgi-sys/php5.cgi AddHandler application/x-httpd-php5.cgi .php
everything works perfectly. However I tried same configuration for python and perl and it did not work. But it worked if I mounted /home without noexec.
What makes php so special that it can work with noexec partitons as cgi while others cant? I would really like to know as I would like to run perl and python with noexec partitons.
Please dont discuss alternatives to noexec flag. This would be off topic.