Ubuntu Servers :: HD With Bad Sectors - Need To Switch

Jan 10, 2010

I have some bad sectors on the primary HD and want to move everything to a new HD. What would be the steps to do this. I have 5 running websites on the server. The HD are the same make and model. My current HD setup is
Code:
1 Linux LVM 232.65 GB 1 30370 LVM VG server1
2 Extended 243.17 MB 30371 30401
5 Linux 243.17 MB 30371 30401

View 5 Replies


ADVERTISEMENT

Ubuntu Servers :: HDD Burn-in Tester To Locate Bad Sectors?

Apr 1, 2010

A hard disk occasionally fails. Standard checks like fsck and scandisk fail to report any problem. Is there other software to exercise the disk much more thoroughly so that bad sectors have no chance of being missed?

View 1 Replies View Related

Ubuntu Servers :: How To Switch Off Bandwidth Monitoring

Feb 8, 2010

I switched on bandwidth monitoring on my Ubuntu Server via Webmin on interface eth1. Unfortunately this has filled my disk by writing huge syslog, debug and kernel.log files. How do I switch it off? I can't see a way of doing it in Webmin.

View 1 Replies View Related

Ubuntu Servers :: How To Switch Clients From A Normal Server To A Cloud

Feb 4, 2010

what cloud computing is and i think it can help me with some of my clients i want to switch my clients from a normal ubuntu server to a ubuntu cloud. as of right now i have to send out a bill to them and if they dont pay i have to shut down there service till they pay. what i would like to do is to have a cloud where i can sell them based on what they use not a set price like it is now. and have them be able to pay there bill on the cloud and if they miss the bill then the cloud can shut off there service till its payed.

i dont know if this is possible and i have looked everywhere and all i can find is info on other businesses billing and now how to set up a cloud to do this. i wish there was some kind of tutorial for this. if anyone can direct me to some good notes/tutorials that would be very helpful. this could be a big changing point in my business if i can do this. it would save a lot of time and cash.

View 4 Replies View Related

Ubuntu Servers :: Switch To Read-only Mode When Folder Lost+found Is Accessed

Jan 19, 2010

I have a weird problem here with a 9.04 server. We have a raid 5 disk formatted in EXT4 which remounted automatically when we accessed to the lost+found folder which is in the root of that disk.

I tried to delete it but I can't. It's a bit annoying because I have to prevent all users and backups to access to that folder.

View 2 Replies View Related

Fedora Servers :: How To Switch User When Access To Server From Windows?

Dec 3, 2009

I have samba server(Fedora 11) here,but when I want to access to it from WindowXP ,the first time you need to tap in user name and password.But the next time ,you automatically log in Samba server with the user name as the first time you used. But I have not clicked the "Remeber me " option when I logged in.I want to switch user when I want to log in samba,does anybody know what is wrong ?

View 4 Replies View Related

Ubuntu Servers :: Dhcp Doesnt Work Unless Put A Switch Or Router Between Gateway And Connecting Computer

Sep 30, 2010

The dhcp doesnt work unless i put a switch or router between the ubuntu gateway and the connecting computer.

setup

Code:

Code:

Code:

Code:

Im on ubuntu 10.04. is this normal? or should i be able to connect without having a router or switch between the ubuntu server and the internal network....

View 3 Replies View Related

Ubuntu Servers :: Run Scripts Via Web - Switch On And Off Lights - Regulate Room Temperature - Open Windows

Aug 25, 2011

I have a very basic problem: My computer is attached to various light switches, central heating, powered windows etc. via RS232 and USB, using homemade custom logic boards. With this I can switch on and off lights, regulate room temperature, open windows etc. all by running some shell scripts on my system. I would now like to create a simple web frontend for this home automation.

What I want is a basic website with buttons, and when someone clicks a button on that website I want the webserver (apache ? ) to execute a script on the the server machine, triggering the rs232 hardware. The website is to be served by apache to make use of an existing structure. How (in what language) could I accomplish that? Javascript and Java are obviously out since they execute on the client, as far as I know PHP can't access the shell (which is probably a good thing), so what's left?

CGI? This will be deployed on an isolated private network secured the old-fashioned way (steel doors, guard dogs, landmines...), so I am not overly concerned about security, but of course it would be nice if the implementation offered at least some basic resistance to bored script kiddies...

View 3 Replies View Related

Ubuntu :: How To Fix A Hard Drive With Bad Sectors

Jan 20, 2010

I recently got a bad virus that wouldnt let me reinstall Windows so I figured I would install Ubuntu and give it a go, but now it says my hard drive has "many bad sectors" a quick Google search shows many ways to fix this in Windows, but how do I do it in Ubuntu?Easily since Im just getting the hang of things.

View 8 Replies View Related

Ubuntu :: Bad Sectors Warning / Is It Reliable?

Feb 17, 2010

Since a few days all of my computers (3) running Ubuntu 9.10 report on startup that my external drive has "lots of bad sectors".I have checked this disk on Windows XP with chkdsk and with the SeaTools diagnostic tool dowloaded from Seagate. Both report no problems.Does anyone else suspect these Ubuntu "bad sector" warnings are unreliable?

View 9 Replies View Related

Ubuntu :: 9.10 Live Cd Fixing Bad Sectors

Jan 15, 2011

having problems loading any OS because of bad sectors. will only load off live cd 9.10

View 1 Replies View Related

Ubuntu Installation :: XP Does Not Work Because Of Bad Sectors

Mar 31, 2011

I used to have windows xp. But recently I started having a message at startup telling me that my disk might be failing and I should run the test (which would crash and reboot th laptop). Then after a while windows wont even start. So I tried to use ubuntu netbook live from a usb and it is working fine ! I can even access all my data on the hard disk, although it is telling me that the hard disk is failing and that it has 1024 bad sectors. I have only one hard disk and one partition (120 GB). Can I just install ubuntu and somehow block the bad sectors? (I don't want windows anymore) and is there any way I could keep my old data on the hard disk without backing it up (it is not really important btw).

View 8 Replies View Related

Ubuntu Installation :: Primary Slave With Few Bad Sectors?

Sep 12, 2010

I was looking in the disk utility and my primary slave has a few bad sectors, is there a way to fix this? I have attached a screen shot.

View 4 Replies View Related

Ubuntu :: Multiple Bad Sectors Since Lucid Install?

May 24, 2010

since i've installed lucid, when booting up between the splash screen and the desktop i get lines of multiple i/0 errors. i checked disk utility and it's reporting multiple bad sectors on my hard drive

i don't think that the lucid install is the culprit but since i have no idea i was curious if anyone thinks it's related. not worried about the hard drive, i have a back up formatted and ready to go if this one goes nuclear.

View 1 Replies View Related

Hardware :: Replace Fibre Channel Switch In CentOS5.3 (cluster) For Regular Switch / Hub?

Jul 28, 2009

Can the fibre channel switch in the centOS5.3 cluster edition be switched for a regular router or hub?
If so how would one do this? If not why does the switch have to be fibre channel?

View 1 Replies View Related

Hardware :: Disk Has Many Bad Sectors (110)

Sep 7, 2010

I have some errors on my drive and I fear it may be faulty. However there are a few things I would like to try before replacing it through the manufacture or buying a new drive of my own seeing as this is a brand new computer.

Here is my computer and drive:
Acer 5251-1513 Laptop
Toshiba MK2565GSX
Running Fedora 13...now

Here is what is going on. Tried several version of Ubuntu 10.4 (studio, 64bit, 32 bit) and was having many errors during startup and having to press F to fix. Then I lost something with Gnome and the GUI would not function, and I did not know how to replace it. Tried a few other distros but could not get them to work (mostly on my part I am sure.) Then after some forum talk, thought it might just be Ubuntu unable to handle my drive. Now on Fedora 13 and a warning comes up every time I startup. "Disk has many bad sectors"

In the disk utility under the SMART Data it has 2 of the following warnings:
5- Reallocated Sector count..with a value of 72 sectors
197 Current Pending Sector count...with a value of 35 sectors
Total Bad Sectors 108.
The next day that went up to 110

I have used Fsck several times through a live CD, but the problem persists. Trying to understand bad blocks and how to write them to a file?

View 3 Replies View Related

Hardware :: Aligning Sectors For An SSD?

Aug 3, 2010

I have an Acer tiny desktop using laptop components and I want to replace its small laptop hdd running Vista with a Kingston SSDNow V Series Boot Drive 30GB and install Ubuntu, since it will support TRIM. I am aware of the current issues on some new hard drives with 512 vs. 4k sector sizes and the necessity to align sectors for those drives. And I know I've seen some posts or discussion of aligning sectors for SSD's.

I'll be doing more searching for info on this, but my previous searches on the 4K sector alignment issue for the new WD hdd's on linux were confusing. Does anyone have definitive information on the necessity of aligning 4k sectors on current Linux kernels, or on whether aligning sectors is necessary for SSD's?

View 9 Replies View Related

Fedora Hardware :: New SSD And Bad Sectors In Smartctl?

Sep 29, 2010

I recently buy a Corsair F60, and F14 (and F11) said there is MANY bad sectors on my SSD. Is it a smartctl bug ? how can I confirm or infirm that ?

[root@localhost ~]# smartctl /dev/sdc -a
smartctl 5.39.1 2010-01-28 r3054 [x86_64-redhat-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

[code]....

After scanning selected spans, do NOT read-scan remainder of disk.If Selective self-test is pending on power-up, resume after 0 minute delay.

View 2 Replies View Related

General :: NTFS - Marking Sectors Bad ?

Feb 20, 2011

I have a massive ZFS array on my fileserver. Whenever a disk reports bad sectors to smartmon, I order a replacement, and I shelve the failing one.

And by "shelving the failing one", I mean that I give it a low-level format if applicable, or a destructive badblocks run to possible claim spare sectors to replace the bad ones, then use it to dump my DVDs (and lately BluRays) on, so that I can use it with my HTPC and bring it with me when going to my friends to watch movies. It's just a really easy and portable way to watch movies with XBMC. I have the stuff on pressed discs already, so I'm not dependent on their reliance, and the dying drive just gets a hospice life serving as quick-access media storage. Keeping in mind Google's reports that drives are 39x more likely to die within 60 days after their first SMART error, I'm expanding that period by the fact that these drives mostly remain on their shelves and are only plugged into the SATA bay once or twice every year.

I'm just saying this to make clear that I'm not confused about these drives dying, and I'm not looking to elongate their lives ;)

So. Sometimes these drives, after a badblocks run, simply claim fresh sectors from the spare pool, but sometimes there aren't any left, and I face the fact that there are bad sectors in my FS. That's not a problem if you use one of a set of linux filesystems, as mkfs.* often takes a badblocks list as input. But seeing as I sometimes bring a drive or two to my girlfriend's (Mac) or one of my friends (usually Windows), I've decided to use NTFS for these things. Up untill now, when a drive had unrelocatable bad sectors, I've just written data to it, re-read it, and files that were bad were put in a "BAD_SECTOR_FILES" folder on the drive.

Sure, it works, but it would be really nice to be able to just mark those sectors bad instead. It's a lot of hassle the other way around.

So I read some posts, of which most quickly switch subject to the often accurate one of "replace your drive!", and some suggest spinrite, but really, I don't see why I should pay that much money for such a trivial task.

The alternative is to use ext3, but I'd like to hear if someone knows how I can feed badblocks output to mkfs.ntfs, so that the bad blocks aren't used. Or if there are other tools (I could use Windows in a VM) that do the same. I'm confused about chkdsk, it seems the bad sectors thing is FAT only?

View 1 Replies View Related

General :: Repairing The Bad Sectors Using Software?

May 24, 2011

Just came up my mind about repairing the bad sectors using software.Does using a software really repair the bad sectors in the hard disk?

View 5 Replies View Related

Ubuntu Servers :: When Attempting To Switch To A Static IP Address, The Vent Client Will Not Detect The Vent Server At All?

Nov 18, 2010

I've been attempting to figure this out for about 4 days straight, so far it has not been fruitful. I've installed Ubuntu 10.04 server onto my former gaming system, Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2 cores with 2 GB ram. Overkill I'm sure, especially for a simple personal voip, htpc, storage server.

The problem is only noticeable when I have the vent server running, on the 10.04 server, and I attempt to connect to it through the LAN via the client on my windows computerEverything works fine and connects, LAN and from the outside, as long as the server is set to DHCP. However when attempting to switch to a static IP address, the vent client will not detect the vent server at all.Aside from an annoyance at having to stick with DHCP, I am still curious as to why the static settings will not function. Something so simple has turned into something quite difficult.

I can still connect to the Webmin interface and Putty into server with either DHCP or static IP enabled.I've performed the following troubleshooting steps so far:1) Followed the directions at https://help.ubuntu.com/8.04/serverg...iguration.html2) Edited the /etc/network/interfaces file through the CLI with nano and through notepad on the windows computer3) Through Webmin I've assigned the static IP, although for some reason it does not include a gateway field.4) I've rebooted the server5) I've issued the CLI

Code:
sudo /etc/init.d/networking restart
Here is the file /etc/network/interfaces:

[code]....

View 6 Replies View Related

Ubuntu :: Hard Drive Sectors Lead To A Really Sluggish System?

Jul 26, 2011

My sister's laptop (toshiba satellite l550 running lucid) often runs really, really slow, even after a fresh install. Going through the gnome main menu, everything just lags by several seconds. Closing applications often takes a while, etc. I've run top and iostat to determine what the problem is and it seems to be IO-related. User processes and system processes don't take up more than a few percent, but the average load is usually over 2 even when I'm barely doing anything. Top shows that, whenever everything slows down, the 'wait' criterion is pretty high.

Now, I've also tried installing lucid to an external USB hard drive and that works fine. I'm currently running the S.M.A.R.T. diagnostic and so far I've got the attached screenshot to show. Only the criterion shown and the 'current pending sector count' are showing warnings.Any thoughts? Could the performance issue be related to the hard drive warning? I'm not planning to replace the hard drive just yet, because this laptop still has a two-year warranty.

View 8 Replies View Related

Fedora Hardware :: Added Second Disk - Bad Sectors?

Jun 19, 2010

I've just added a second disk to one of my computers. It is a 500GB SATA. It is the second drive according to the BIOS. Fedora calls it /dev/sdb. So far so good. This box is running Fedora 13 final. Never any problems until the addition of the new disk. Palimpsest says that this disk has a LOT of bad sectors. This disk is a storage drive. I want to address the problem but don't know what to do first. My thought is to rsync all the data to my external 250GB disk bedore I do anything else but I'm mot sure if I should just yet. Maybe I should run some diagnostics on the drive? If so, what? How about the tools Disk Utility offers? Should I use the Smart Utilities? What other Linux tools are available and are they reliable? Maybe I should install XP on the main disk and use Windows' disk tools? If I should lose all data it wouldn't be the end of the world but I'm not sure how "in sync" the 2 storage drives actually are.

View 10 Replies View Related

OpenSUSE Install :: Fixing Server For 4KB Sectors?

Apr 17, 2010

I did set up a new server (with mail, apache and lots of other stuff) and was not aware that the new harddisks of type WD10EARS-00Y5B1 were using 4KB sectors internally. The problem became visible after going live because of the lousy performance of the harddisk drives.

Present situation: openSUSE 11.2 i586, 4 GB RAM, 2x 1TB HDD

Code:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000efdd0

[code]....

I already did re-partition /dev/sdb with parted-2.2 (compiled from source) and set the alignment starting with sector 64 (instead of the default 63) making sure that the sector count of every partition divides by 8. Now comes the tricky part: I must partition /dev/sda as well. I can backup everything to /dev/sdb. What is the recommended course of action here? Make sdb active and boot it? That would give me all the time I need to deal with sda. Then reverse again. Any backup of /dev/sda will be outdated soon (running system)Rescue DVD only offers parted-1.9.0

View 2 Replies View Related

General :: Find The Sectors That The Partitions Occupy?

Oct 28, 2010

Question 1. Does gparted etc. just write to the MBR? Question 2. Is this the only record of the partition table? Question 3. How do i find the sectors that the partitions occupy?

View 2 Replies View Related

General :: Bad Sectors On Mdadm Raid 5 Array?

Aug 14, 2010

I'm running a Debian homeserver, with a 3-disk (1GB each) raid 5 array using mdadm (the OS is on a separate disk).Now, smartmontools noticed some bad sectors on one of the disks, and I'm not sure what to do next (except for backup of valuable data).I found some articles on how to fix these sectors, but I'm unaware what the result on the whole array will be.

View 4 Replies View Related

General :: Fedora 12 (Constantine) Remap Bad Sectors Of HDD?

Apr 11, 2010

I'm currently using Fedora 12 as seen in the subject, and I'm fairly new to it, but recently I've had a problem with my HDD. The problem is bad sectors and I've read up on how they occur but not many placessearched actually explains how to deal with this. When I start up my laptop (Acer 5610z) I get a SMART error saying "predicted disk failure, please back up data and replace drive." Along those lines, so I got curious and used Disk Analyzer this roughly what it says:

Reallocated Sector Count: Failing Normalized:129
Worst:129
Threshold:140

[code]...

View 7 Replies View Related

General :: Software For Finding Bad Sectors On A Usb Drive?

Aug 6, 2010

I can't seem to find any programs or applications for linux that will find bad sectors of a usb drive. I have seen plenty for Windows, but I was wondering if there are any for linux.

View 8 Replies View Related

Server :: HDD Burn-in Tester To Locate Bad Sectors?

Apr 1, 2010

A hard disk occasionally fails. Standard checks like fsck and scandisk fail to report any problem. Is there other software to exercise the disk much more thoroughly so that bad sectors have no chance of being missed?

View 2 Replies View Related

Ubuntu :: Code To Access Hard Disk Sectors (LoopBack Device)

Jan 26, 2011

I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it has the following configuration.

Code: $> sudo fdisk -l /dev/loop0
Disk /dev/loop0: 10 MB, 10977280 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/loop0 doesn't contain a valid partition table Now what I want to do is develop a c++ program to read & write files to this loop back device,which I'm using to simulate an actual hard disk,at the blocks & sectors level. So far I've come up with the following code. But I'm still unable to read files from the hard disk one block at a time.

Code: #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
char block[512]; int length=0;
cout<<"Implementation of the File Handler Read Method..."<<endl;
FILE *f = fopen("/dev/loop0", "r");
if(f == NULL) {
cout<<"Error In Opening the HardDisk File Retuning Error..."<<endl; return -1; }
//Read One Block of Data to Buffer length = fread(block, 1, sizeof(block), f);
/* Do something with the data */ cout<<"Length : "<<length<<endl;
return 0; }

When I run this Program All what I get is the message for NULL. "Error In Opening the HardDisk File Retuning Error...". So I could open the loopback device as a file an access it at the sectors & block level.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved