Server :: Implement Disk Quotas For Root File System?

Jan 2, 2011

There isn't any separate file system for /home and we have only one (/) root file system for everything else on the system. Is there any way that we can still implement quotas for users through their home directories was mounted on (/) root file system. Do we need to have a separate file system (/home) compulsory for implementing disk quotas?

View 3 Replies


ADVERTISEMENT

General :: Use Initial RAM Disk As Root File System?

May 22, 2010

Information on the net seems very sparse or outdated for how to go about booting to a RAM disk. I need to be be able to boot a PC without a hard drive in it. I want to be able to PXE boot a PC and supply it with a RAM disk image that also contains the contents of the root file system (obviously stripped down enough to keep the file size small and the boot up time fast).What I have gathered so far is that I need to extract the contents of the initrd.img file, add files as necessary, and repackage the initrd.img file. What I get confused on is how to configure the kernel line parameters to tell it to boot to RAM and not the hard drive and how to go about modifying the init script in the initrd.img to not switch to the hard drive for the root file system. I can't find anything on the net that describes concrete steps on how to go about accomplishing all of this. I'm aware of the existence of Live CD's, but I need to be able to boot the PC without relying on a hard drive, CD, or any other external media. It needs to get all of its contents from the PXE boot server and boot to RAM only. I have the PXE boot side configured successfully. Also, putting the root file system on a NFS share is also out of the question.

View 8 Replies View Related

Ubuntu Installation :: Disk Error - No Root File System

Feb 19, 2011

I was trying to install Ubuntu desktop and laptop edition on a Sony Vaio netbook from a USB drive, but after I select the entire disk to be used and hit enter I get this message No root file system is defined. correct this from the partitioning menu. If I try to start windows I just get s black screen.

View 9 Replies View Related

CentOS 5 :: Disk Quotas For Different Partition To Specified User?

Jul 21, 2010

How can i create quota for specified user : mr.X for any specified partition. I have 10 partition, and give mr. X access for only 2 partition and give him different quotas: says 800MB on sda13 and 3GB on sda14.

View 2 Replies View Related

CentOS 5 :: Implementing Disk Quotas Per User

Sep 29, 2010

I have installed CentOS 5.5 on a computational cluster and want to limit the disk space used per user to 10GB. I do not know what is the relation between blocks and the the volume i want (10GB). What is the values I should used in the file opend by "edquota username" command? What is the usage of inode? there are soft and hard items in columns 3 ,4 and 6,7. Which of them should be configured? here is the example by CentOS documents. I only changed the file system which is in my case /dev/sdb0 (this is mounted as /home in my system. What changes I should do to this example to limit the user to 10GB disk scape?

Disk quotas for user testuser (uid 501):
Filesystem blocks soft hard inodes soft hard
/dev/sdb0 440436 0 0 37418 0 0

View 3 Replies View Related

Ubuntu :: General Disk Quotas Without User / Group Restriction?

Jan 12, 2010

is it possible to limit the size of a specific folder independent of user or group? I want to restrict /var/log to a total size of 1GB. I don't think that the common approach to create a 1GB partition is the right way since it is possible that I want increase or decrease the limit in the near future.

View 3 Replies View Related

Server :: Root File System At 100 Percent Capacity - Why

Jun 6, 2011

When I try to install anything recently, I was getting errors about "No Space". I noticed that the root drive (/dev/sda1) has 100% usage which I'm not sure how that suddenly happened.

Code:
tom@HouseMedia:/$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.0G 9.0G 0 100% /
none 1.5G 552K 1.5G 1% /dev
none 1.5G 0 1.5G 0% /dev/shm
none 1.5G 300K 1.5G 1% /var/run
none 1.5G 0 1.5G 0% /var/lock
none 1.5G 0 1.5G 0% /lib/init/rw
/dev/sdb1 294G 182G 97G 66% /mediastorage

There was a powerloss recently and I wondered if some serious corruption had occurred. Since I'm checking the root drive, I had fsck run after a restart:

Code:
sudo shutdown -F -r now

FSCK went to work, briefly, and the logs (/var/logs/checkfs and /var/logs/checkroot) remain empty. Speaking of log files, I had a look at all of them and they take up a mere 32MB, so that's not the issue...

Code:
tom@HouseMedia:/var/log$ ls -h -l
total 32M
drwxr-x--- 2 root adm 4.0K 2011-06-05 06:39 apache2
drwxr-xr-x 2 root root 4.0K 2011-01-20 10:43 apparmor
drwxr-xr-x 2 root root 4.0K 2011-06-01 06:37 apt
-rw-r--r-- 1 root root 0 2011-03-01 06:43 aptitude
-rw-r--r-- 1 root root 851 2011-02-08 10:08 aptitude.1.gz
-rw-r----- 1 syslog adm................

Using Code:
du -h
I know that:
/var uses 1.2 GB
/root uses 100 K
/usr uses 1.4 GB
/tmp is empty
/home has 35 MB

Have already ran apt-get clean. How can I figure out what is taking up so much room? How can I go about figuring out what is huge and is safe to remove?

View 12 Replies View Related

Server :: Implement Operating System Level Visualization To Isolate A Application On RHEL 5.5

Oct 20, 2010

I need to implement operating system level visualization to isolate a application on RHEL 5.5. Which one tool in following for implementation Linux-VServer, lxc, OpenVZ or anyone else.

View 2 Replies View Related

Debian Configuration :: Start X Server In A Read Only Root File System?

Apr 27, 2010

For my project, it's absolutely necessary to have a read-only root partition system. I have a writable /opt/project partition.But, I also need to start x server. startx This tries to write to some temporary files and fails as / is readonly. Is there any how-to on how to move this temporary files to the writable portions of the file system.

View 3 Replies View Related

CentOS 5 Server :: Unattended Reboot With An Encrypted Root File System?

Mar 31, 2009

Centos 5.3 includes Ext4 and improved support for encrypted file systems but it appears to be aimed at laptop/desktop systems, in that a password must be entered at boot time.

Is it possible to have a server with an encrypted root file system boot up without entering a password?

Mandos will do it...
http://wiki.fukt.bsnet.se/wiki/Mandos
...by serving up the password from another server...
http://packages.debian.org/squeeze/mandos
...to a client loaded into the initial RAM disk environment...
http://packages.debian.org/squeeze/mandos-client
...but it's not available on CentOS, and is only in Debian unstable.

Is there a similar (or any) solution for CentOS?

In particular, I'm envisaging encrypted virtual machines being served passwords from their virtual host.

Alternatively, the data that *really* needs to be protected could be encrypted while the system core remains unencrypted. But then the keys to decrypt the file system must be stored in the unencrypted portion, so this is not an effective method.

View 3 Replies View Related

Red Hat :: Increasing Disk Device To / Root Disk Enterprise Server 4?

Mar 25, 2010

I am having problem with the root disk / fill up. So now that i have the disk information provided from SAN team Id 0:3, how would i do to add this device to / to increase space on Redhat Enterprise server 4?

View 1 Replies View Related

Server :: Import And Export Filesystem Quotas?

Jul 20, 2011

I wanted to know if it's posible to import filesystem quotas. And if so, how can I do it? I recently migrated a server, and presently the users don't have any quota limitations.

View 3 Replies View Related

General :: Implement Full Disk Encryption?

Jul 14, 2011

The only reason why I don't use Linux (even though I prefer Linux over Windows, and can do everything faster and more efficiently) is because each time I try to learn about dm-crypt I give up.

Can someone point me in the right direction for full OTFE on Linux (like TrueCrypt)?

View 1 Replies View Related

Programming :: Implement A System Call For Displaying The System Statistics

Nov 6, 2010

I have been assigned to implement a system call that report the system statistics over all memory which are

Total Pages in Active LRU list
Total Pages in Inactive LRU List

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

Ubuntu :: Restoring From A Root.disk File?

Aug 3, 2011

I was using Ubuntu, installed over Wubi in WindowsXP. Due to some hard disk issues, I was having some problems booting into Windows. But Ubuntu was working fine. So i backed up all my data from Ubuntu and somehow managed to back up the 'root.disk' from Windows.That hard disk turned out to have some bad sectors. Now I am over a new hard disk with all my data and WindowsXP freshly installed. I want to have my old copy of Ubuntu back as I have the 'root.disk' file with me. How shall I proceed?I tried installing a fresh copy of Ubuntu using Wubi and then replace the 'root.disk' file. But it showed some Grub error.

View 1 Replies View Related

Ubuntu :: Internal Disk In A Running System Usb-booted System Does Not Result In The System Detecting The Disk

Feb 27, 2011

My system decided to crash on me, hard. It was humming along happily for about 2 months and now doesn't boot. If I boot from hard-disk, I get grub. Launching the first kernel choice hangs. I thought maybe the install was corrupt, so I booted from usb install disk. The usb hdd didn't boot; something about an error trying to access /dev/sda . Unplugging the internal disk and plugging in the usb install disk does result in the system booting. Plugging in the internal disk in a running system usb-booted system does not result in the system detecting the disk.

How do I know if the disk is physically broken? This seems unlikely since it does manage to launch grub consistently. Or is this still possible? How can I try to mount whatever is left? The usb install disk doesn't even list the /dev/sd*. Any pointers on how to reformat the drive if it's not being mounted?

View 1 Replies View Related

General :: Cannot Open File In RW Mode - Filling Root File System With Log Files

Nov 3, 2010

I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.

View 6 Replies View Related

Programming :: How To Implement Whole New Writing System

Aug 11, 2010

So basically, there is a really cool writing system I have been working on. It could be viewed (for simplification purposes) like an encryption method for the Latin script.

Facts about the writing system:
It has a little over 300 symbols.
It is syllable-driven.
It is highly compositional (eg. "c", "ca", "cae", "ca " and "ci." all map to different symbols - and NOT by overlaying elements)
Symbols have medium graphical complexity (comparable to Korean Hangul, or Japanese Hiragana)
Has a rather complex set of diacritics (~10, some of which can go on any symbol)
Has no ligatures

How transliteration occurs:
Sequences of Latin symbols map to certain symbols. Example below:[G][rou][p ][hu][g.]Characters sequences between "[" and "]" map to a single symbol (so it would take only 5 symbols to write "Group hug.").

How I want it to work:
I would like to have a daemon that: Intercepts all text displayed on the screen.
Converts it to my writing system (changes letter sequences with individual Unicode codes)
Leaves unsupported symbols unchanged.
Displays all the text on the screen using my font and characters intertwined with the fonts and characters left unchanged.

For example, if you take the following line of C++ code:for (i = 1; i <= n; i++)
I would like it displayed like this:[fo][r ]([i ]= [1]; [i ]<= [n]; [i]++)
Bold-symbols should be in my Unicode font with special symbols defined for this writing system, and the rest should be in its original font and encoding. Also, I would like this encoding to hold for display-purposes only. The data in the memory should remain unaffected. This also means real-time adjustments: if I open a text editor (say, from the OpenOffice Suite) and I start typing, I would like to see what I type encoded with my writing system, even though the document actually contains Latin letters. This also means that the symbol immediately before the cursor may change as you type.

View 3 Replies View Related

Ubuntu :: Restore A Wubi Root.disk File Backup To A Real Installation?

Mar 9, 2010

I worked everyday during 1.5 years on a Wubi installation of Ubuntu 8.10.

Before quitting my job I have made a simple copy of the root.disk file, thinking I could restore it easily later.

Now I would restore this system on a Virtual Machine (with Virtual Box)

Have you got an idea how i could do this??

(I already tryied to install another wubi on a virtualized Windows 7, the install complete but I can't see ubuntu in the boot loader...)

View 1 Replies View Related

General :: Implement Pfexec In System / Use Sudo In It?

Dec 21, 2010

How can implement pfexec in Linux? Can i use sudo in Linux?

View 1 Replies View Related

Programming :: Learn Basic C++ - Implement Something Using System() Or Popen() Without Success

Jul 21, 2010

I've got a (very) simple perl xinetd server that I'd like to port to C++. implement something similar using system() or popen() without success.

[code]...

View 14 Replies View Related

CentOS 5 Server :: Implement A Server Anti-virus Multiplatform?

Nov 16, 2009

I have a server Linux/Centos 5.3 who I have formed it like server of data with samba for a network with 5 Windows XP terminals; desire to know if it is also possible to form this equipment like server anti-virus multiplatform so that it can look for virus (and clean) to the terminals win xp.

I was looking for by the network on this subject, but I have not had favorable results, please if somebody could help with some Link or tutorial me that has found.

View 4 Replies View Related

Fedora :: Could Not Find The File System Drv/root

Oct 11, 2009

well i was messing with the Gparted live disk and i deleted a small partition of about 6 megs (yes megs). trying to be efficient doing some cleanup of course. but when i rebooted my Fedora 10 i get the black screen saying," could not find the file system. /dev/root". ok, i am useing the fedora 10 live cd now. can i copy that file to my hard drive from the cd? or do i need to reinstall Fedora?

View 1 Replies View Related

Fedora :: Root File System Out Of Memory?

May 22, 2011

I have worked in linux for a long time but never managed the system until I got my own server, which is running Fedora 14. I have a 3 TB Drive and apparently can only handle 2 TB. At least the Disk Analyzer is telling me that 2TB is 100% max capacity. Also viewing disk analyzer, I am only using 50GB of my 2TB but I am out of memory in the Root file system. If I run df -h, I get he following:

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_dev1-lv_root
50G 40G 7.2G 85% /

[code]....

View 4 Replies View Related

Ubuntu Installation :: No Root File System ?

Feb 6, 2010

Trying to install from netbootin...gives me that error.

View 4 Replies View Related

Ubuntu :: No Root File System Is Defined

May 18, 2010

I have been using Ubuntu 9.10 Desktop version for around 1 month then i stoped using after installing windows 7, as I knew that there were the 10.04 version coming. So when it was released i went to torrent download the file and burned it on a cd. After that i insert the cd and use the wubi installer in there as i want to install them side by side. so after installing ubuntu i restarted the system and got into it. After a few minutes it appeared this error message "Not root file system is defined. Please correct this from the partitioning menu." So i was expecting it to be downloading problems. I went on to ubuntu website requested for a CD and it came today. So i inserted the cd did the same thing again.

View 9 Replies View Related

Ubuntu :: Possible To Run Fsck On Root File System?

Sep 19, 2010

Is it possible to run fsck on the root file system?
My Ubuntu 10.04 seems to be checking it's fs at boot...
It shows that the file system is in use and can get severely damaged!
Or the only possibility is to run it from a live CD?

View 2 Replies View Related

Ubuntu :: Cleaning Up Root File System

Dec 16, 2010

My current installation setup has a separate partition for /, /boot, /home, /tmp, /usr, and /var. The problem I have is the root partition / is 98% full (4.3GB full). Cleaning temp files and log files won't help since they are on their own partition (and clean). I've removed all but two linux-images. Linux images seem to run at a size of roughly 105M. My root partition is 4.6GB. I can't seem to find any other options for cleaning up space on this partition. I have no idea what is taking up 4.6GB of space.

Disk Usage Analyzer has not been helpful since I have not been able to reconcile 4.6GB of memory with what it claims the total size of the remaining directories occupy. I've tried localepurge, gtkorphan, apt-get clean, apt-get autoclean, apt-get autoremove. I've removed all packages listed under Status -> Not Installed in the package manager. My root file system is still 98% full (4.3GB full).

View 7 Replies View Related

Ubuntu :: No Root File System Is Defined 11.04?

May 11, 2011

Classic partition problem apparently. What do I do? the 11.04 wubi doesn't give a lot of installation options, so i just selected C drive, and gave it 10GB of space. instilled it, and when it goes to the desktop menu, that pop up appears saying No root file system is defined. Please correct this from the partitioning menu

In dual booting with XP. what do I do?

View 1 Replies View Related







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