General :: Schedule Disk Scan On Boot Ubuntu
Jun 24, 2010Schedule disk scan on boot Ubuntu. How do I do this?
View 1 RepliesSchedule disk scan on boot Ubuntu. How do I do this?
View 1 RepliesI have ran into a bit of a problem. my server(10.10) is hosting a website with no problems whatsoever. I decided to install an extra hard drive, and format. i did both, and turned off my server after some more configuration. After a while, I decided that the new hard drive was a little loud for my liking, so I removed it. I had not put any files on it. I rebooted and saw a message that said this:Quote:fsck from util-linux-ng 2.17.2/dev/sda1: clean, 101202/2351104 files, 1516082/9393920 blocksI think that when I turned it off, it was formatting. How do I stop this from halting the boot? I can get by it by pressing the b or a key.
View 2 Replies View RelatedHow to see/scan new EMC SAN lun/disk in RHEL 5?
View 1 Replies View RelatedBest way to do a scheduled backup of a server (PowerPC, Ubuntu 9.10), when an exact copy of the linux partition would be made on a disk of the same size? It seems there are several solution, but I have problems choosing the best.
View 6 Replies View RelatedHere are my specs to start off...
OS: Corrupted Windows XP, Home Edition
CPU: Pentium 4 2.8GHz
RAM: 1gb
Graphic Card: nVidia GeForce 8600 GS
So I corrupted my Windows OS by doing something stupid so I decided to install Unbuntu. I tried installing it over my windows OS, but as it's scanning the disk it fails and says "Apt configuration failure" and then "installation failure". I can't upload my partitions because I can't run my OS to find them.
I know the information is limited I've considered trying to install a different linux OS or even format my entire harddrive (I would really prefer NOT to do that since I'd have to install all the drivers off the internet).
I use clamtk to scan flash disk. It says the engine is out of date. What do I do to update it?
View 1 Replies View RelatedThe last few times, I booted ubuntu, the automatic disk check ran and told me that there were "serious errors on /". This had happened once before but that time, I found nothing wrong on booting into ubuntu. However, this time, the scan doesn't seem to progress any further after detecting the error. What is the problem?
View 7 Replies View RelatedHow to scan and fix Bad Sectors on Hard Disk without damaging data?
View 5 Replies View Relatedwhen I attempt to scan anything with clamav from a terminal I get the following error:
ERROR: Can't create temporary directory /var/lib/clamav/clamav-da584cb3f4ee38529f0460ad6f7dc632
Hint: The database directory must be writable for UID 999 or GID 100
Which I take to mean that there are no virus definitions installed. I use the "freshclam" command. Which results in the following error:
ERROR: Can't create temporary directory /var/lib/clamav/clamav-da584cb3f4ee38529f0460ad6f7dc632
Hint: The database directory must be writable for UID 999 or GID 100
I installed squeeze on my eeepc 1015ped and downloaded the correct firmware-brcm80211 drivers but every time I scan for my network using iwconfig wlan0 scan or wicd, my computer completely freezes. I previously had a solid install running xmonad, and wicd was working like a charm (using the same broadcom driver) but i tinkered too much with it and decided to do a fresh install. I haven't quite run into a problem like this before.
View 2 Replies View RelatedI am setting crontab to run a script every minute irrespective of the current hour's value:
Code:
[root@localhost bin]# ls
sec.php showTime.sh
[root@localhost bin]# crontab -l
1 * * * * /root/bin/showTime.sh
[root@localhost bin]#
But it is not working. Does the line mean: "Run this script every day at hour:01"?
my problem is that an application which I want to start at the startup is creating some problems if it is started at the startup. But if it is started after a few seconds or say a minute of the startup, it doesn't cause any trouble.
View 9 Replies View RelatedI need to schedule for a repeated task on my Linux, as the followings:
-) Telnet to a remote node
-) Issue a command
-) Capture the output in a log
-) Logout from Telnet
-) Wait for a prescribed time interval
-) Then redo , but append the subsequent output in just on file
know which options do we have to write such a task?
Is it possible to schedule a process in the foreground? Lets say a cron schedule to be ran at 9:00. I would like to come back at 9:30, see how the process is running, and being able to interact with it... lets say kill it, or whatever. Is it possible? (Its not necessary to use cron, but it must be in Command Line)
View 6 Replies View RelatedI just want to know the distribution which is supported for longer time ex: Ubuntu will be supported for 18 months fedora for 14months. I repeat,I want a distribution which is stable,which I can leave without upgrading to next version for atleast 2 or 3 years. tell me other than Ubuntu LTS version
View 5 Replies View RelatedHow to schedule a job using cron that shouldn't run between working hrs 9am-5pm, while run in non working hrs every hour, every day of the month, month & week.I tried the following way, not sure I can use logical not operator(!).
View 3 Replies View Relatedi want to use the command at to execute a script on a specific time FOR EXAMPLE :at 12:30pm but the script does not have to ececute at all, I DIT IT BUT THE SCRIPT EXECUTES EACH 12:30pm (that'sy problem) i want to write a script that will execute each two months from a specific time . for example: from january 12, 2010 the script has to run before march 12,2010
View 5 Replies View RelatedYesterday I was on my Windows computer doing homework. Once Football came on, I hit the Standby button on my keyboard and walked out of my room. Came back at halftime to discover that my system never went into Standby. I turned on my monitor and saw a bunch of code repeating. I don't remember it all, but it was something to this effect
Super Block not compatible with current BIOS
scanning for *insert system file here*.... not found
scanning for floppy drive... not found
scanning for cdrom1... not found
So I hit the restart button on my tower. When it restarted, I was brought back to the same screen. So I unplugged the power cord from my computer and counted to 10. I plugged it back in and this time I got my mobo logo screen and the system appeared to start up fine, until I got to the SATA drive scanning screen. When my computer would scan for my SATA hard drive, it would idle for several minutes, during which a series of periods (".") would show up until eventually I get a message that says: WARNING! - Something wrong with your hardware!
I have troubleshooted a number of things so far:
1) I took my SATA Hard Drive out of my computer and plugged it into my Linux computer and the system booted fine! I used the same SATA cord, so I know both the drive and the cord ARE WORKING!
2) I tested the power cord from the power supply that runs to my HD and it is working just fine.
3) I plugged the HD back into my Windows computer (the original one it was in when I started having this problem) and I ran GParted. When the GUI came on, I could not see any drives and there was a message at the bottom of the window saying that no devices could be found. This was no surprise to me because I watched the verbose mode as GParted booted and it gave error messages when it tried scanning for my hard drive.
4) I have also tried plugging it into the other SATA ports on my motherboard.
5) I tried flashing the mobo BIOS. The flash worked just fine (or at least it appeared so), but the HD is still not being found on the system boot scan.
Bottom line, I know the hard drive is fine because it worked in my Linux computer. So I am thinking it has to be the motherboard. But before I go out and buy a new Mobo and CPU (and possibly new RAM), I wanted to quickly jump on here.
i want a service to be start at 8:00 and be ended in 14:00 automatically i already do this manualy by:
/etc/init.d/myservice.sh start
/etc/init.d/myservice.sh stop
i think it should be related to cron jobs.
In a office network, how to queue incoming downloads and later, it will be scheduled by priority? Is there any such open source project /tool available? I have heard about squid proxy, but does it allow re scheduling ?
View 1 Replies View RelatedWinXp sp3 is on disk sdb, then installed Ubuntu 10.04 on sda, can go into diff OS without any problem. I am going to move sda to another machine, when I unplug sda, WinXp can't start to boot on sdb. How to fix it?below is my case output$ sudo fdisk -l
Disk /dev/sda: 160.0 GB
...
Device Boot Start End Blocks Id System
[code].....
I did a search and came up with many different opinions and suggestions, and I could not find any similar threads for this (if there is I must apoligize in advance and did not look hard enough). I am trying to create a backup schedule for client computers and servers; and I would like your opinion on what I came up with. Here is network infrastrusture setup:
16 client computers
6 serevrs
- Primary and Secondary Web Server (RAID 1)
- Primary and Secondary Domain Controller (RAID 1)
- File/Print Server (RAID 5)
- Backup Server (RAID 1) with USB 2.0 1TB External Drive
Of course I will evetually upgrade to Tape Drives, but I am saving up for that. Anyways I want to backup ALL client computers, Primary Web and DC server, and File/Print Server. This will be done (of course) on the Backup Server) Here is the schedule:
[Code]..
I have a problem need help, I want to do a schedule with using shell script with crontab in linux SuSE SLES 10.
1. I have many server that want to do backup mysql all from that server everyday. I need advice for for write shell script to backup all mysql in different server to server backup everyday and create auto folder as date example 27102009, 28102009..........for a month will has 30 folder in server backup.
2. Also need to write shell script to delete all folder but keep only one week last example from 1 to 30 it will has 30 folder in sever backup but i want to keep only 7 folder last and want to set schedule delete it every saturday night.
3. used that shell script with crontab in linux.
I'm still kinda new to linux. I've been learning my way around the command line and been experimenting with linux on a couple computers of mine. Occasionally after trying a few things, grub or linux won't load right. I've done some research on possible tools to help but I was wondering if any of the more experienced users had some recommendations for boot disk or tools to help repair grub and/or linux desktop/server editions.
p.s. I would also be interested in any fun and interesting tools, programs, and/or repository's that other users have found beneficial.
I have a (slightly complicated) dual/multi boot system.
I keep getting boot errors (when choosing ubuntu from the grub2 menu)
Code:
Serious errors were found while checking the disk drive for /boot
If I switch off and restart, ubuntu will then start without issue.
My setup is like this ....3 disks, one with 10.10 clean install - so Grub2, separate partitions for /, /boot and /home, one with windows 7, one with windows XP and 10.04 wubi (this is my old disk which I will trash once I'm happy with my upgrade to 10.10 & 7 on separate disks.
I installed 7 and 10.10 with ONLY their disks installed. After both were working, I added all disks and rejigged the grub2 menu (using update-grub and StartUp-Manager).
This problem only seems to occur if my previous boot was not 10.10 ( I will investigate this further). It's as if something (grub2 ?, the bios ?) is remembering part of the previous boot and not using the grub2 menu completely.
I have a SSD Harddisk with both an usb and Sata connection, and I want to be able to boot both from usb and sata but I can't make it work. When the disk is connected with sata anything works fine but when I connect it with usb instead, Fedora seems to boot but then it gives me an "No root device found" error and just sleep forever. This happens even if I install fedora 13 while the disk is connected with usb. I am running Fedora Core 13. I changed my fstab to
/dev/sda2 / ext4 defaults 1 1
And the disk is still booting when connected to the sata controller. So far so good. But if I boot from the usb connection, it still give me the same "No root device found" message. Even more odd is it that if I boot my fedora core 13 dvd, and choose "rescue installed system" it can't detect the harddisk when connected to usb. And there is no /dev/sd* or anything similarly which could look like a blockdevice. Did redhat forget to include usb drivers in their rescue image for Fedora core? I just tried the disk on an other system, with exactly the same problems.
I have now added the LABEL=myroot line to fstab(I guess it have to be uppercase to work) and the harddisk still boot fine when using sata, but it still can't boot using usb. I begin to guess that redhat forgot some usb drivers In fedora Core 13, because the system can't see the harddisk when booting the dvd and entering rescue mode. blkid don't show any harddisks at all and there are no block devices in /dev/ which might be my usb disk. Is it possible to find the uuid of partitions if id add the usb harddisk to a windows computer, and more important: will this be the same uuid as linux will se.
i want to put Linux in a Ram Disk from which to boot on a given configuration.it is very difficult to choose which files to select as i wish the memory quantity used to be as small as possible.
View 5 Replies View Relatedi have linux operating system CD. it is bootable. but i want to create a boot disk. now i can create boot disk on floppy. but i want to make CD as boot disk.
how to do that.
first i created .iso file like this mkbootdisk --iso --device myimage.iso 2.6.18-194.el5
it created iso named myimage.iso in / now how will i copy it to cd rom i am running cdrecord --scanbus
it is showing : this version is an nofficial version with DVD support. and therefore may have bugs that are not present in teh original. please send bug reports or support requests to http.... the author of cdrecord should not be bothered with problems in this version. cdrecord: invalid or incomplete multibyte or wide character. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'
cdrecord: for possible transport specifirs try 'cdrecord dev=help'.
i am inserting blank CD in the cdrom.
then i run cdrecord -v -eject speed=16 dev=ATA:1,0,0 myimage.iso
how will i come to know about dev and version information if cdrecord --scanbus is failing above.
i am having laptop. with rhel5 (2.6.18-194.el5)
my Fedora 11 system is not starting anylonger. It stops with the message:
Code:
VFS: Can't find ext4 filesystem on dev dm-0
The system told me since a while, that a lot of the sectors of one disk of the (software) RAID compound are failed already. So tried to disconnect each of the disks and start them separately. Unfortunaltly this is not working (for one its is not working at all, the other wents the same far as with both), when I tried to recover the system with the Fedora DVD, it said no distribution found. I am quite new and do not know so much about linux system, so i do not know what further information you could need. Maybe it can be important, that both disks are encryped (the system wents so far, that I can type in the password).
There is a disk 500 gb, it is broken on /boot and on /root and on /dev/sda1 and /dev/sda2. Whether prompt it is possible to redistribute a disk without loss of data namely it is necessary to make/boot and two equivalent on disk volume.
View 3 Replies View Related