Server :: Creating The Disk Space Alerts?

Mar 28, 2011

#!/usr/bin/perl
use Term::ANSIColor;
####TIME DETAILS ######
print colored ( "PLEASE SPECIFY HOURS FOR THE FILESIZEREPORT TO RUN
", ' bold green on_blue' );
$hrstorun = ;

[code]....

View 6 Replies


ADVERTISEMENT

Server :: Disk Dump - Creating Virtual Directory

Apr 14, 2010

I'm quite new to linux, but I've managed to grasp some basics. Now my intention here to create a virtual directory, which I resorted to creating an Image File so that I can mount it and have my folder have a dedicated storage. I will mount this image as a loop device. Well it's not much of a problem, but I would like to know whether this is suitable. Say I want to create a 25GB Image.

Code:
dd if=/dev/zero of=/home/disk-img/25GB.ext3 bs=1G count=25

Is this recommended? I'm using block size as 1G which is really huge, so I was wondering, if this is actually recommended. From what I read, some said that it's only advisable to use 4096k or lower, but what I found was that these suggestions are very dated (year 2003), and it is now 2010, so I would like to know if it makes any big differences.

View 13 Replies View Related

Server :: How To Check Disk Space

Sep 26, 2010

Code:

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 50G 47G 602M 99% /

How to find why Avail space shows only 602M?

View 8 Replies View Related

Server :: How To Check Disk Free Space

Apr 23, 2010

[root@linux root]# fdisk -l
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 1276 4864 28828642+ f Win95 Ext'd (LBA)
/dev/hda3 14 395 3068415 83 Linux
/dev/hda4 396 526 1052257+ 82 Linux swap
/dev/hda5 1276 3187 15358108+ 7 HPFS/NTFS
/dev/hda6 3188 3249 497983+ 8e Linux LVM
/dev/hda7 3250 3311 497983+ 8e Linux LVM

Here /dev/hda5 taken of How much capacity for NTFS (need space in MB).

View 8 Replies View Related

Server :: How To Create Disk Space Quota

May 26, 2010

What is the best way to create a hard (OS) quota on disk space folders? Basically in web root folder /var/www/lighttpd I have a folder called domains. I want to set a quota on each domain folder. The quota sizes will vary per folder. Is there a way to do this without creating a user for every domain? Currently every folder is owned by the lighttpd user and group.

View 2 Replies View Related

Server :: Creating Backup Disk Image Of RAID 1 Array (MDADM)?

Oct 27, 2010

We have some servers that run in very harsh environments (research vessel) that need to have high-availability.We have software RAID 1 for some measure of resiliency, along with proper data backups (tapes etc), however we would like to be able to break out a new server and re-image it (including RAID setup) from a known good copy if the hardware completely fails on the production box. Simplicity of the process is a big plus.I am interested in any advice on the best way to approach this. My current approach (relatively new to Linux administration, totally new to MDADM) is to use DD to take a complete gzipped copy of one of the RAID'ed devices (from a live CD): ode:
dd if=/dev/sda bs=4096 | gzip -c > /mnt/external/image/test.img then reverse the process on the new PC, finally using Code:mdadm --assemble to re-create and re-build the array.

View 1 Replies View Related

General :: Why Is Used + Available Disk Space Always Less Than Total Disk Space

Feb 24, 2011

root@localhost:~ $ df /dev/sdb1
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 1922858352 23247088 1801935664 2% /mnt/external/sdb1

[code]....

View 1 Replies View Related

Server :: Check Hard Disk Space In Level 3?

Sep 23, 2009

When level 3, we can use only command. What can I do to check for Hard Disk usage such as used space, free space, total space.

View 4 Replies View Related

Server :: Good Amount Of Disk Space To Have Free?

Jan 8, 2010

What a good amount of disk space to have free? Is there a general rule of thumb? IE 70, 80 or 90%?

View 2 Replies View Related

CentOS 5 Server :: How To Enlarge Space Of Disk Without Re-install Operative System

Dec 5, 2009

I have a server with centos 5, with two hd, i did a fresh installation with cenTOS using the 2 hard disk, now we need enlarge with other hard disk more, can some one explain how to enlarge the space of disk without re-install the operative system?.

View 1 Replies View Related

Slackware :: Disk Space Lost- Root Partition Has Very Little Space Left

Jan 31, 2010

Today I was installing a lot of software since I'm just setting up my Slackware system again after a fresh install, and I realized that my root partition has very little space left.

Here is the output of df -h:


Code:

As you can see, I have a 20G (19G here for some reason) root partition, 8G /var, and 86G of /home. I thought this would be plenty since many recent recommendations for / are 10-15G. Now, though, 17G are used up for some reason! How is this possible? I thought a full slackware install only had about 4G of software! I don't have any music or movies or any crazy huge files that I know of, and those would be in my /home directory anyway. Is there any way I can see which files are taking up all this space?

If it's necessary to allocate more space to my / partition, is it still possible to boot up a GParted live Cd, shrink /home a bit, move some partitions to the right, and expand my root partition? I would REALLY prefer I don't have to reinstall since I just spent a ton of time setting up my system again, but if worst comes to worst ... :'-(

In case you're curious, here's my /etc/fstab:

Code:

View 14 Replies View Related

Hardware :: Reduced Disk Space / Use The Total Amount Of Space?

Aug 25, 2009

OS: RHEL AS 5 64-bit

HDD:300 GB Hardware mirror (HP blade bl460c)

While installing OS, in partition window after OS file system structure I've left 277 GB. But after installation it shows Size - 255GB and available disk space is 242 GB.

Isn't it weired? How can I use the total amount of space in Linux? I need the whole 277GB exactly. What should be my workaround?

View 6 Replies View Related

Server :: Free Backup - Give A Disk Space Quota For Each Remote Windows Client

May 2, 2011

I'm looking for a free backup solution how work in client-server in both environments Linux(server) and Windows(client). in my case, i want to give a disk space quota in my Linux server for each remote windows client.

View 2 Replies View Related

Server :: Nagios Alerts Via SMS ?

Mar 30, 2011

How can recive nagios alerts via SMS,via SMS gateway XML API.

I have a sms gateway xml api & had writte a script in perl

NAGIOS SETUP

Can I have to install gateway module

View 10 Replies View Related

Ubuntu :: Disk Space Used Doesn't Match What Is Shown In Disk Usage Analyzer?

Feb 26, 2011

Some thing is using up a huge amount of my disk space about 10G and I can not determine what it is. When I look at my disk usage in system monitor it say I have used about 25G and when I scan the directory in disk usage analyzer the entire file system used is 15G.

View 1 Replies View Related

Ubuntu :: Add Hard Disk Expand Disk Space For /home

May 23, 2010

ran out of space in my /home dir. Have a second hard drive to install and would like to designate it as additional space for /home. I do not want to mount it as a dir inside my home I would like it to simply work as though my /home simply has more space available to it.

View 1 Replies View Related

Ubuntu :: Disk Full - Can't Free Any Disk Space

Jan 2, 2010

I'm running mythbuntu 9.04 and am having an issue with disk space.

I try 'rm' various log files but the space I free up lasts less than a minute before the disk reports as being full once more.

df -Th | sort gives:

Quote:

/dev/sda1 ext3 8.3G 7.9G 0 100% /
/dev/sda6 ext3 138G 125G 6.3G 96% /music
/dev/sda7 xfs 783G 617G 167G 79% /videos
/dev/sdb2 xfs 344G 242G 103G 71% /recordings

[Code]....

There's nothing enormous in /var/log and my trash and the root trash are empty.

why size and used fields are not the same despite 100% usage being reported on sda1..

View 7 Replies View Related

General :: Disk Utility And Df Show Different Disk Space ?

Nov 18, 2010

I don't understand disk sizes in Linux. I have a 500GB drive. It's ext4. I have run "tune2fs -m 0" on it to reserve the amount of space reserved for root to 0.

I'm using Ubuntu 10.04 that comes with a Disk Utility. When I run "System->Administration->Disk Utility (palimpsest)" the disk shows up as 500GB (see picture). But when I run df -h it shows up as 459GB. So, I don't understand the discrepancy.

When I run df I get the following:

Question: Why is Disk Utility showing me something different than "df"?

View 6 Replies View Related

Ubuntu Servers :: Setup Email Alerts For SVN Server

Jul 21, 2010

I recently setup a server running subversion. It is working well and all, but I am curious as to how to make it send out email alerts to my team when a commit occurs.Also, are their any good GUI tools to manage a subversion server in Ubuntu. The command line is fine since I made some scripts but a nice GUI would be great! Maybe that could be a fun project to work on.

View 1 Replies View Related

Server :: Send Hardware Alerts To The Snmp Manager?

Oct 5, 2010

all I want is for my server to send hardware alerts to the snmp manager.

Is a snmpd.conf like this ok?
rwcommunity name1
rocommunity name2
trapcommunity name3
trapsink ip_of_manager
syscontact me
syslocation my_addr_and_phone

[Code]...

View 2 Replies View Related

Server :: Implement Email Alerts On Backup Scripts

Apr 28, 2011

I have recently been asked by my boss to implement Email alerts on some Backup scripts to be sent to me and another person. I edited one of the Backup scripts on a mail server and they appear to be working without problems (i.e., the backup job runs successfully and I get told so via E-Mail). However, when I implemented this script onto another, non-mail server, it would not send E-Mail confirmations. The only server that is allowed to send Emails to the outside world is the mail server, so I did not expect the script to work without any fine-tuning.

However, I thought I could direct the non-mail server to send an E-Mail through the mail server. I just can't find out how to do it. The servers are running Ubuntu 9.04 64bit. The mail server is using postfix and dovecot for email, and is also the DNS server for that particular network section. The non-mail server should be installed with the default server install (exim4). If possible, I do not want to install any new programs on either server. How to get the non-mail server to use the mail server to send out E-Mails?

View 3 Replies View Related

Software :: Syslog Alerts Not Triggering To Server (Redhat Enterprise 5)?

Nov 13, 2010

just set up a windows server and other windows boxes send alerts to it no problem.Yesterday I configured my linux box (RHEL 5) using /etc/sysconfig/syslog and /etc/syslog.conf so that all alerts would go to the syslog server.There are no external firewalls involved and while the firewall is working on my linux boxI have made sure port 514 TCP/UDP are let through.Ive checked syslogd and klogd are running.I've also applied the '*@10.20.30.40' line in etc/syslog.conf. Basically Id like everything to go to the syslog server.Now if I telnet to the syslog server on port 514 I can type text on the linux box and it comes through on the syslog server. Great - but no syslog alerts seem to come through normally, even when I reboot the box.I've tried *., .*, and * to no avail, ive got an entry in my hosts file for the server 10.20.30.40 and tried using a name instead of an ip address, no luck.

View 1 Replies View Related

Server :: Use System Monitor Via A VNC Connection The Free Disk Space Value Is 20GB Free On The Same Volume

May 18, 2011

I've got a question on free disk space. I'm currently running CentOS 5.5 on in Xenserver virtual environment. We've had an issue with disk space. My question is as follows: - from a ssh connection i run df -h this gives the value of 90% used leaving me with 9GB. If I use system monitor via a VNC connection the free disk space value is 20GB free on the same volume. Which one is correct? I do use SNMP to monitor the same volume and should alert me when < 10% is free I know this works as I set the alert threshold to < 90% I get an alert.

View 2 Replies View Related

Fedora :: Creating Swap Space In 14

Dec 21, 2010

i had to install oracle in my laptop...it required a certain amount of swap space which i didnt have... i tried to create it using the datadump command... dd if=/dev/zero of=/extraswapf bs=1M count=512 i then rebooted and made the swapfile using: mkswap /extraswap i then made the entry in /etc/fstab as follows "/extraswap swap swap default 0 0" and i used the command : swapon /extraswap the swap space was visible after that... but after rebooting the swap space is not visibille

View 4 Replies View Related

Ubuntu :: Help In Creating Swap Space

Mar 10, 2009

I had just installed gparted , not used yet.I have a problem , at the time of installation i havent created necessary swap space , my linux partition contains 30GB with ext2 filesystem..I'm fully having this , but my question is with the above mentioned tool can I recreate swap space from this 30GB , like 20GB as user space and rest 10 as swap space . Can I?

View 3 Replies View Related

Ubuntu Installation :: Disk Space - Failes On A "E: Write Error - Write (28 No Space Left On Device)"

Jan 4, 2011

df -h [URL] I did the following command to find everything is in /usr or /var, then tracked it down to /usr/lib and /usr/share as the main offenders, but out of all the directories none are more than 1mb or so.

du -sh /* | sort -gr | head -n 5

I tried to uninstall firefox, which is what got me in this mess in the first place, the log claims it will remove ~240 mb but failes on a "E: Write error - write (28 No space left on device)" [URL] If I could juggle something onto an external hard drive so I can uninstall firefox I would be out of the wood. Failing that I believe a new install is in order.

View 1 Replies View Related

Ubuntu :: Resize Entire /root (root.disk) Virtual Disk Space?

Jan 25, 2011

I'm running out of space in wubi. Online wubi help didn't help much since they suggest creating extra virtual disk space(similar to having a diffrent partition i guess) .None of them speak about increasing the size of /root disk space(or root.disk). I store all files in space shared with windows or external disk and use ubuntu only to install and use softwares and browsing. So how do increase the available space for installing more softwares?

View 3 Replies View Related

General :: Creating A 1GB File Doesn't Change Free Space On Hard Drive?

Feb 2, 2011

I am trying to create an empty file based on the remaining hard disk space. The problem is that when I create a file that is 1 GB large, the df command shows the remaining space to be only 12 kb smaller than it was before the file was created.

someone@here:/tmp/delete# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 36827144 5031592 29924788 15% /

[code]....

View 2 Replies View Related

Fedora Installation :: Shrinking A Ntfs Partition - Free Up Space In Creating Custom Layout?

Nov 22, 2010

Im trying to shrink a 80 Gb ntfs partition. but when i clicked the shrink option the partition is like this:

"sda1(ntfs,0 mb)".

how to free up space in creating custom layout.

View 1 Replies View Related

SUSE / Novell :: Running Out Of Space Creating Virtual Machines OES2 Sp1 On 10 SP2 Xen Host Serve?

Mar 17, 2009

I have a quad cpu with 8gb ram running SUSE 10 sp2 on a raid 5 XEN host server. I have created a 250 gb partition GWMAIL in the extended partition to be the disk space for the first virtual machine OES sp1 with groupwise 8.0. I have downloaded the OS .iso's to the desktop of the host server to use for installation. When I begin to install, it hangs for 5 to 10 minutes then gives me an out of space error.

View 2 Replies View Related







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