General :: How To Set Directory Size

Jun 14, 2011

I need to set size limit for shared directory. Actually i am unable to set directory size for my NFS shared foldermy Dir locate in /root/ESSR_logex : This ESSR_log Directory size should be 20GB. that mean NFS client only can store up to 20 GB files. NOT MORE

View 4 Replies


ADVERTISEMENT

General :: Adjusting The Size Of A Directory?

Sep 28, 2010

I have a 4gb USB thumb drive with Ubantu 9 on it and it looks like I have over 3gb free but I only have 4mb free in the documents Directory. w do I increase the size of the directory so I can add my Doc files?

View 3 Replies View Related

General :: How To Restrict Directory Size

Aug 5, 2011

As example, I have directory in /root called as "shared". i already shared this directory using NFS. i want to limit this directory size into 20 GB(20*1024*1024).That means "shared" directory reserved 20 GB disk space from the HDD.how can i solve this problem

View 3 Replies View Related

General :: Increase /home Directory Size?

Feb 12, 2010

.I want to increase the /home directory size. How can I do that.I have copied all the files into another directory.

View 7 Replies View Related

General :: Make ZIP Or RAR Package Of Directory With Increased Size?

Nov 30, 2010

I have this directory with multiple images 'pics' and the size is 20mb and I want to make a .zip or .rar package of this directory but with an increased size so the .zip/.rar file will be 100mb, and then when you extract it the file size is the original 20mb. I want to make the result file bigger, no compress it. I need to put all the directory in one single file .zip or .rar but it has to weight more (100mb), maybe it can be done with another application. By the way, I have a centos 5 from command line.

View 2 Replies View Related

General :: Command "ls" Display The Directory Size Of ZERO ?

Jun 3, 2010

I have learned Linux for a while now, but Linux is continuously surprising me with new stuffs nearly every day... Today I met a really strange problem, that the command "ls" indicates the size of some directories is ZERO, as for /home.

However, there is a directory inside /home, which contains many files/directories.

Even worst, when I tried to create a file under /home, I got the "permission denied" error,

By the way, /home is within the local file system, not NFS share.

View 7 Replies View Related

Ubuntu :: Limit Directory Size \ Set A Size Limit On?

Mar 2, 2011

I have 2 directories in my home folder that I would like to set a size limit on. The directories are ~/backup and ~/temp. Is there an easy way to limit the size of a directory without having to make partitions?

View 4 Replies View Related

Ubuntu :: How To Know Directory Size In Terminal

Jan 4, 2011

Is there any way we could display dicrectory's size in terminal? Because I need to copy directories to external devices like USB, so I need to know there is enough space left on my USB for those directories or not. I tried ls command but still couldn't find out.

View 2 Replies View Related

CentOS 5 :: Increase The Size Of The /tmp Directory ?

Nov 10, 2009

We have a problem where there is not enough space in our /tmp partition. We are trying for fix our mysql database, and keep running in to the space issue... the error we are getting says:

myisamchk: Disk is full writing '/tmp/STGL3SGd' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)

Our /tmp partition is current set at 485M, but it is not large enough to handle the database fix...

Does anyone know of a work around - perhaps to assign different directory for the temp files?

View 3 Replies View Related

Ubuntu :: Calculate Size Of Tmp Directory In All Acconuts?

Nov 11, 2010

How can I calc the size of the tmp directory in all account. Do the following will calc each dir alone code...

View 1 Replies View Related

Ubuntu :: The Size Is 3.7GB And Then The Mount Directory Is Blank?

Dec 31, 2010

I was trying to encrypt a USB flash drive, but truecrypt shows me two usbs. Here is wht is says Quote:/dev/sdb: and then it says the size is 3.7GB and then the mount directory is blank.owever is also list another one that says Quote:/dev/sdb1 the size is 3.7Gb and the mount directory is /media/USB20FDI have a PNY 4GB flash drive.

View 6 Replies View Related

Software :: Function To Find The Size Of The Directory?

Oct 26, 2010

Is there any Linux function to find the size of the directory? stat() function can be used only for files and not directory. Can anyone let me know for to find the size of the directory from the C code

View 5 Replies View Related

Ubuntu :: Increase The Size Of /home Directory?

Jun 21, 2011

I need to increase the size of my /home directory. I am working with Ubuntu(2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 i686 i386 GNU/Linux

I checked the partitons with df -h command...the output is :

Filesystem Size Used Avail Use% Mounted on
/dev/sda7 11G 4.3G 6.2G 42% /
none 1001M 560K 1000M 1% /dev
none 1006M 188K 1006M 1% /dev/shm

[Code]....

Clearly /usr has loads of space here...and I dont know /home is mounted with which partiton...I read somewhere that tune2fs command could be useful here...I dont want to experiment and mess up here..

View 4 Replies View Related

Ubuntu Installation :: What Is Minimal Size For Home Directory?

Jan 21, 2010

What is the minimal size for a home directory?I did a manual partition install in VirtualBox. My vdi had these settings: RAM = 500MB & HDD = 10GB.Does this look correct.I am never certain as to the options for Primary, Logic, Beginning and End.Does it matter the order in which you make partitions in Ubuntu?

View 4 Replies View Related

Ubuntu Servers :: Increase Size Of Root Directory?

Sep 27, 2010

Is it possible to increase the size of the root directory / on ubuntu 9.10?

View 5 Replies View Related

Red Hat / Fedora :: Disk Space - Increase The The Size Of My Directory?

Mar 16, 2010

After installing everything I neded to get on to the web with my server, I discovered that my www dir only has 20 gb.

How can I increase the the size of my directory?

View 6 Replies View Related

Server :: Directory Max Size For Virtual User Under Container?

May 19, 2011

I am running Debian under virtual container. I need to set max size of directory for each of vsftpd virtual users - because they are virtual, I cannot use user quotas. I was wondering, if I could create images with filesystem and mount them, but I cannot access /dev/loop device from container. Is there any other way, how to set max directory size in virtual container

View 2 Replies View Related

Software :: Ubuntu 11.04 - Nautilus Tab Size Stretches For Each Directory

Jul 8, 2011

Just installed Ubuntu 11.04, which has Nautilus 2.32.2.1. When more than one directory is open, the tab for each directory s-t-r-e-t-c-h-e-s way across the screen, so all tabs added together take up 100% of the width. So with two folders open, each tab is 50% of the screen width! In previous Nautilus versions, each tab was just normal size. Cannot find a Preference to change this, and Googling for any solution brings up someone's previous query of this nature: [URL] and the fact that no one has responded! Is this an option that can be changed? Anyone come across this new "feature" before?

View 2 Replies View Related

Programming :: Write A Script That Will Calculate A Directory Size?

Jan 20, 2009

I'm trying to write a script that will calculate a directory size and if the size is greater than 4GB, it will send out an email. But I am getting the "integer operation expected" error when it tries to calculate the current disk size. Here's my script.

Code:

TO="user@email.com"
SUBJ="Ready for DVD burning on `hostname`"
MAIL="/bin/mail"

[code]....

View 1 Replies View Related

Red Hat / Fedora :: Reduce The Size Of LVM Partition Without Loosing Home Directory Data?

Jun 3, 2009

I have a home directory which is mounted on the LVM partition,How can i reduce the size of LVM partiotion without loosing the data on home directory...whenever i use lvreduce command it show me a warning mesg that the whole data will be lost...reducing the size of LVM partition without loosing my home directory data.

View 1 Replies View Related

Server :: Extremely Large Metadata Size For Directory On An Ext4 Filesystem?

Jun 24, 2011

I am running CentOS 5.5 with a 14T ext4 volume. We are sharing out a few sub-directories via NFS. Our customer was doing some penetration testing with our web app that writes to one of those NFS shares. We are not sure if they did something to cause the metadata to grow so large or if it is corrupt. Here is the listing:drwxrwxr-x 1 owner owner 470M Jun 24 18:15 temp.badI guess the metadata could actually be that large, however we have been unable to perform any operations on that directory to determine if the directory is just loaded with files or corrupted. We have not run an fsck on the volume because we would need to schedule downtime for out customers to do so. Has anyone come across this before

View 2 Replies View Related

Slackware :: Size Of Root "/" Directory

Apr 5, 2010

what is the ideal size of "/" (root) directory? Some people suggested to configure it between 2G - 5G depending on the installation. However, with full slackware installation, with 6G "/" size, it left me only around 400mb space left.

Is this common, or I did something wrong the installation? With only around 400mb space left, isn't this too small?

View 9 Replies View Related

General :: Use Mkdir Command To Create 'local' Directory In /usr - There Are Error - Cannot Make Directory

Jun 16, 2010

I am a student studying computer science course.

Well, I am facing problem when doing lab questions.

I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).

I am required to use the /usr/local directory.

In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".

Look at my screenshot at [url].

View 9 Replies View Related

General :: Perform A Long Directory Listing Of All Files In The /bin Directory That Have Exactly Three Characters In Their Name?

Jan 18, 2010

How do you perform a long directory listing of all files in the /bin directory that have exactly three characters in their name?

View 1 Replies View Related

General :: Files Created In A Directory Owned By Directory Group?

Jan 29, 2010

Is there a way, on Linux, to cause all new files created in a directory to be owned by the directory's group instead of the creating user's group?

View 2 Replies View Related

General :: Cronjob Directory / Send An Email If Directory Contains More Than Ten Files?

Oct 13, 2010

I want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me.

All I have is this...

*/15 * * * * ls -l | wc -l | [filename] | mail -s "This is just a test" [email address]

I would rather not write a bash script. Is there an easier way to do this? I was looking into some commands like find and grep.

View 6 Replies View Related

General :: Find Directory Older Than X And Mv Directory With Sub Files Command?

Jul 13, 2011

I'm quite new to linux but I have configured a simple ftp server and it's working great. I have a FTP-Shared folder with upload and download subfolders. Under upload's and download's I have identical category subfolders like mp3's, movies, software etc. in both. As the guy's upload, I would like to create a line crontab where I can move all the content under /FTP-Shared/upload/mp3/* older than 14 day's to FTP-Shared/downloads/mp3/ recursively (Like in cp command), but the timestamp must be searched on the first directory and not sub files example: /mp3/Club Dance/CD1/Hallo world.mp3This is how far I got:[root@clients ~]# /usr/bin/find /FTP_Shared/upload/Mp3s/ -depth -mindepth 1 -mtime +14 -type d -exec mv -f {} /FTP_Shared/download/Mp3s/ ;This command moves the directory and files, but it is not recursively

View 4 Replies View Related

General :: Link A Directory In Ubuntu To A Directory In Windows 7?

Apr 12, 2010

I've just installed Ubuntu 10.04, trying out linux for the first time. I'm wondering if it's possible to link my documents folder in Ubuntu to my documents folder in Windows, so that when I open the folder in Ubuntu, I am linked to the folder in Windows.

View 1 Replies View Related

General :: Mount One Directory To Another While Mapping The Original Directory's UID To Another

Aug 23, 2011

I'd like to mount the directory /var/www/mysite to the directory /home/daniel/mysite, but also have the user of the mounted files mapped from the original user (www-data) to my own user (daniel). So that the file /var/www/mysite/index.php who's user is www-data will appear in the mounted directory as /home/daniel/mysite/index.php and be owned by daniel - and alternatively, if I create a file /home/daniel/mysite/test.php with my own user, it will be created in the original directory under the user www-data Is it possible? If not, what alternatives do I have so I can use an IDE and still make sure all the files belong to the HTTP server's user?

View 2 Replies View Related

General :: Create A Directory Named Like His Parent Directory

May 26, 2011

I need to create a directory named just like his parent.

Example:

I tried this but because there is "Space Characters" in the name of Parent directory, my script fails.

View 8 Replies View Related







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